Skip to content

Commit 9b78d25

Browse files
authored
fixes CI (#330)
If we want to build the OpenCL-ICD_Loader with CMAKE_C_EXTENSIONS=OFF then we should build this way for the OpenCL-ICD-Loader CI, also.
1 parent 2a60842 commit 9b78d25

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

.github/workflows/presubmit.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -140,10 +140,9 @@ jobs:
140140
run: $CMAKE_EXE
141141
-G "${{matrix.CONF.GEN}}"
142142
`if [[ "${{matrix.CONF.GEN}}" == "Unix Makefiles" ]]; then echo "-D CMAKE_BUILD_TYPE=${{matrix.CONF.CONFIG}}"; fi`
143-
-D CMAKE_C_EXTENSIONS=OFF
143+
-D BUILD_TESTING=OFF
144144
-D CMAKE_INSTALL_PREFIX=$GITHUB_WORKSPACE/external/OpenCL-ICD-Loader/install
145145
-D CMAKE_PREFIX_PATH=$GITHUB_WORKSPACE/external/OpenCL-Headers/install
146-
-D BUILD_TESTING=OFF
147146
-S $GITHUB_WORKSPACE/external/OpenCL-ICD-Loader
148147
-B $GITHUB_WORKSPACE/external/OpenCL-ICD-Loader/build &&
149148
$CMAKE_EXE

0 commit comments

Comments
 (0)