Skip to content

Commit 4fef3d0

Browse files
committed
Disable OpenCL PQC tests by default on macOS
1 parent b618e53 commit 4fef3d0

1 file changed

Lines changed: 0 additions & 15 deletions

File tree

CMakeLists.txt

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -91,21 +91,6 @@ if (NOT MSVC)
9191
endif()
9292
endif()
9393

94-
if (APPLE)
95-
include(CheckCSourceCompiles)
96-
set(GMSSL_CMAKE_REQUIRED_LIBRARIES_SAVE "${CMAKE_REQUIRED_LIBRARIES}")
97-
set(CMAKE_REQUIRED_LIBRARIES "-framework OpenCL")
98-
check_c_source_compiles(
99-
"#include <OpenCL/OpenCL.h>
100-
int main(void) { cl_uint n = 0; clGetPlatformIDs(0, 0, &n); return 0; }"
101-
GMSSL_HAVE_MACOS_OPENCL)
102-
set(CMAKE_REQUIRED_LIBRARIES "${GMSSL_CMAKE_REQUIRED_LIBRARIES_SAVE}")
103-
if (GMSSL_HAVE_MACOS_OPENCL)
104-
set(GMSSL_DEFAULT_ENABLE_LMS_CL ON)
105-
set(GMSSL_DEFAULT_ENABLE_XMSS_CL ON)
106-
endif()
107-
endif()
108-
10994
option(ENABLE_TEST_SPEED "Enable test speed" OFF)
11095
option(ENABLE_SLOW_TEST "Enable slow tests" OFF)
11196

0 commit comments

Comments
 (0)