Skip to content

Commit 0540af4

Browse files
committed
fix test code
1 parent aff8267 commit 0540af4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.ci/ci-images/manylinux_2_28_aarch64/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ cmake --install pocl/build
115115
cmake --install pocl/build --component icd
116116

117117
# try hand-writing the pocl.icd file in the case where pocl's CMake refused to
118-
if [[ ! test -f /etc/OpenCL/vendors/pocl.icd ]]; then
118+
if ! test -f /etc/OpenCL/vendors/pocl.icd ; then
119119
POCL_LIBRARY=$(
120120
find /usr/local/lib64 -type f -name 'libOpenCL.so.2.*'
121121
)

.ci/ci-images/manylinux_2_28_x86_64/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ cmake --install pocl/build
7474
cmake --install pocl/build --component icd
7575

7676
# try hand-writing the pocl.icd file in the case where pocl's CMake refused to
77-
if [[ ! test -f /etc/OpenCL/vendors/pocl.icd ]]; then
77+
if ! test -f /etc/OpenCL/vendors/pocl.icd ; then
7878
POCL_LIBRARY=$(
7979
find /usr/local/lib64 -type f -name 'libOpenCL.so.2.*'
8080
)

0 commit comments

Comments
 (0)