Skip to content

Commit a663c59

Browse files
committed
[CI] Do not hard-code OCK version number.
As we are preparing for a 5.0 release, tests should not assume 4.0.
1 parent 9deca2d commit a663c59

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

.github/actions/do_build_run_remote_hal/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ runs:
3838
# Run client
3939
cd $GITHUB_WORKSPACE/build_client
4040
exitcode=0
41-
OCL_ICD_FILENAMES=$PWD/lib/libCL.so.4.0 ./bin/UnitCL || exitcode=$?
41+
OCL_ICD_FILENAMES=$PWD/lib/libCL.so ./bin/UnitCL || exitcode=$?
4242
kill %1
4343
exit $exitcode
4444
else

examples/hal_cpu_remote_server/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ As a simple test try running a simple UnitCL test (using the in-tree version):
139139

140140
```
141141
cd build_client
142-
HAL_REMOTE_PORT=<port_num> OCL_ICD_FILENAMES=$PWDlib/libCL.so.4.0 \
142+
HAL_REMOTE_PORT=<port_num> OCL_ICD_FILENAMES=$PWDlib/libCL.so \
143143
./bin/UnitCL --gtest_filter=Execution/Execution.Task_01_02_Add/OpenCLC
144144
```
145145
This should show as `PASSED`.
@@ -160,7 +160,7 @@ export LD_LIBRARY_PATH=<path_to_dpcpp_compiler_base>/lib:$PWD/lib:$LD_LIBRARY_PA
160160
export OCL_ICD_FILENAMES=$PWD/lib/libCL.so
161161
export ONEAPI_DEVICE_SELECTOR=*:fpga
162162
<path_to_dpcpp_compiler_base>/bin/clang++ -fsycl <path_to_ock>/examples/applications/simple-vector-add.cpp -o simple-vector-add
163-
HAL_REMOTE_PORT=<port_num> OCL_ICD_FILENAMES=$PWD/lib/libCL.so.4.0 ./simple-vector-add
163+
HAL_REMOTE_PORT=<port_num> OCL_ICD_FILENAMES=$PWD/lib/libCL.so ./simple-vector-add
164164
```
165165

166166
This should show "The results are correct!".

0 commit comments

Comments
 (0)