Lines Matching +full:ubuntu +full:- +full:cmake +full:- +full:tests
9 GitHub Actions CI builds against Ubuntu 20.04, Windows-latest, and
10 macos-latest.
12 Compiling the CTS requires the following CMake configuration options to be set:
15 [OpenCL-Headers](https://github.com/KhronosGroup/OpenCL-Headers).
19 It is advised that the [OpenCL ICD-Loader](https://github.com/KhronosGroup/OpenCL-ICD-Loader)
29 git clone https://github.com/KhronosGroup/OpenCL-CTS.git
30 git clone https://github.com/KhronosGroup/OpenCL-Headers.git
31 git clone https://github.com/KhronosGroup/OpenCL-ICD-Loader.git
33 mkdir OpenCL-ICD-Loader/build
34 cmake -S OpenCL-ICD-Loader -B OpenCL-ICD-Loader/build \
35 -DOPENCL_ICD_LOADER_HEADERS_DIR=$PWD/OpenCL-Headers
36 cmake --build ./OpenCL-ICD-Loader/build --config Release
38 mkdir OpenCL-CTS/build
39 cmake -S OpenCL-CTS -B OpenCL-CTS/build \
40 -DCL_INCLUDE_DIR=$PWD/OpenCL-Headers \
41 -DCL_LIB_DIR=$PWD/OpenCL-ICD-Loader/build \
42 -DOPENCL_LIBRARIES=OpenCL
43 cmake --build OpenCL-CTS/build --config Release
49 the `test_conformance` folder. Each of these executables contains sub-tests, and
50 possibly smaller granularities of testing within the sub-tests.
52 See the `--help` output on each executable for the list of sub-tests available,
57 [default ICD Loader location](https://github.com/KhronosGroup/OpenCL-ICD-Loader#registering-icds)
58 …OCL_ICD_FILENAMES](https://github.com/KhronosGroup/OpenCL-ICD-Loader#table-of-debug-environment-va…
60 library to use at runtime. For example, to run the basic tests on a Linux
70 additional command line arguments provided by the test harness for tests which
73 * `--compilation-mode` Selects if OpenCL-C source code should be compiled using
75 testing. Online is the default mode, but also accepts the values `spir-v`, and
78 * `--compilation-cache-mode` Controls how the compiled OpenCL-C source code
81 * `--compilation-cache-path` Accepts a path to a directory where the compiled
84 * `--compilation-program` Accepts a path to an executable (default:
86 compilation of OpenCL-C source code. This executable must match the
87 [interface description](test_common/harness/cl_offline_compiler-interface.txt).
94 defines the full list of tests which must be run for conformance. The output log
101 Git [tags](https://github.com/KhronosGroup/OpenCL-CTS/tags) are used to define
106 Contributions are welcome to the project from Khronos members and non-members
112 PRs to the repository are required to be `clang-format` clean to pass CI.
113 Developers can either use the `git-clang-format` tool locally to verify this