mirror of
https://github.com/KhronosGroup/OpenCL-CTS.git
synced 2026-03-25 00:09:02 +00:00
Align offline compilation with cl21_trunk (#400)
Add a special case for the Khronos compiler and always use it for OpenCL C++, otherwise use the same logic as on the cl21_trunk branch. The CMake option to pass the path to the khronos compiler has been renamed to KHRONOS_OFFLINE_COMPILER_OPTIONS and is no longer mandatory. Signed-off-by: Kevin Petit <kevin.petit@arm.com>
This commit is contained in:
@@ -2,5 +2,5 @@
|
||||
|
||||
mkdir -p build_lnx
|
||||
cd build_lnx
|
||||
cmake -g "Unix Makefiles" ../ -DCL_OFFLINE_COMPILER=<TO_SET> -DCL_LIBCLCXX_DIR=<TO_SET> -DCL_INCLUDE_DIR=<TO_SET> -DCL_LIB_DIR=<TO_SET> -DCMAKE_RUNTIME_OUTPUT_DIRECTORY=. -DOPENCL_LIBRARIES=OpenCL
|
||||
cmake -g "Unix Makefiles" ../ -DKHRONOS_OFFLINE_COMPILER=<TO_SET> -DCL_LIBCLCXX_DIR=<TO_SET> -DCL_INCLUDE_DIR=<TO_SET> -DCL_LIB_DIR=<TO_SET> -DCMAKE_RUNTIME_OUTPUT_DIRECTORY=. -DOPENCL_LIBRARIES=OpenCL
|
||||
make --jobs 8
|
||||
|
||||
Reference in New Issue
Block a user