mirror of
https://github.com/KhronosGroup/OpenCL-CTS.git
synced 2026-03-25 00:09:02 +00:00
cl12: Do not mistake x86_64 platforms as x86 (#229)
This commit is contained in:
committed by
Kévin Petit
parent
26722c58e4
commit
cb798beb56
@@ -29,7 +29,7 @@ set_source_files_properties(
|
|||||||
../../test_common/harness/errorHelpers.c
|
../../test_common/harness/errorHelpers.c
|
||||||
PROPERTIES LANGUAGE CXX)
|
PROPERTIES LANGUAGE CXX)
|
||||||
|
|
||||||
if(CMAKE_SYSTEM_PROCESSOR MATCHES "(x86)|(X86)")
|
if(CMAKE_SYSTEM_PROCESSOR MATCHES "(x86$)|(X86$)")
|
||||||
if(NOT CMAKE_CL_64 AND NOT MSVC AND NOT ANDROID)
|
if(NOT CMAKE_CL_64 AND NOT MSVC AND NOT ANDROID)
|
||||||
# -march is needed for CPU atomics, default arch on gcc is i386
|
# -march is needed for CPU atomics, default arch on gcc is i386
|
||||||
# that does not support atomics.
|
# that does not support atomics.
|
||||||
|
|||||||
@@ -41,7 +41,7 @@ set_source_files_properties(
|
|||||||
PROPERTIES LANGUAGE CXX)
|
PROPERTIES LANGUAGE CXX)
|
||||||
|
|
||||||
if (NOT CMAKE_CL_64 AND NOT MSVC)
|
if (NOT CMAKE_CL_64 AND NOT MSVC)
|
||||||
if(CMAKE_SYSTEM_PROCESSOR MATCHES "(x86)|(X86)" AND NOT MSVC)
|
if(CMAKE_SYSTEM_PROCESSOR MATCHES "(x86$)|(X86$)" AND NOT MSVC)
|
||||||
set_source_files_properties(
|
set_source_files_properties(
|
||||||
main.c
|
main.c
|
||||||
test_popcount.c
|
test_popcount.c
|
||||||
|
|||||||
@@ -50,7 +50,7 @@ set_source_files_properties(
|
|||||||
endif(MSVC)
|
endif(MSVC)
|
||||||
|
|
||||||
if (NOT CMAKE_CL_64 AND NOT MSVC)
|
if (NOT CMAKE_CL_64 AND NOT MSVC)
|
||||||
if(CMAKE_SYSTEM_PROCESSOR MATCHES "(x86)|(X86)" AND NOT MSVC)
|
if(CMAKE_SYSTEM_PROCESSOR MATCHES "(x86$)|(X86$)" AND NOT MSVC)
|
||||||
set_source_files_properties(
|
set_source_files_properties(
|
||||||
FunctionList.c
|
FunctionList.c
|
||||||
Sleep.c
|
Sleep.c
|
||||||
|
|||||||
Reference in New Issue
Block a user