From 9148b1648a3bbc28d52c0cf8177f1e8a47c3d151 Mon Sep 17 00:00:00 2001 From: aarongreig Date: Mon, 29 Jul 2019 23:12:37 +0100 Subject: [PATCH] Add aarch64 to system processor if statement in CMakeLists (#398) --- test_conformance/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test_conformance/CMakeLists.txt b/test_conformance/CMakeLists.txt index fd74db90..af91bded 100644 --- a/test_conformance/CMakeLists.txt +++ b/test_conformance/CMakeLists.txt @@ -22,7 +22,7 @@ else() # set it, so setting it here once means we have consistent compiliation # flags across the entire conformance_test_* executables. set(CTS_EXTRA_FLAGS "${CTS_EXTRA_FLAGS} -mfpmath=sse -msse2") - elseif(CMAKE_SYSTEM_PROCESSOR MATCHES "(ARM)|(ARM64)") + elseif(CMAKE_SYSTEM_PROCESSOR MATCHES "(ARM)|(ARM64)|(aarch64)") # The OpenCL CTS assumes that the char type is signed, which is not the # default on ARM compilers, so we need to set it. set(CTS_EXTRA_FLAGS "${CTS_EXTRA_FLAGS} -fsigned-char")