Skip to content

Commit 33febd2

Browse files
Update ur-build-hw.yml
1 parent 8b699b1 commit 33febd2

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

.github/workflows/ur-build-hw.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -161,14 +161,14 @@ jobs:
161161
# sudo apt-get install -y libze-intel-gpu1 libze1 libze-dev intel-opencl-icd
162162
# # libstdc++-12-dev
163163

164-
# - name: Install OpenCL
165-
# if: ${{ inputs.adapter_name == 'OPENCL' }}
166-
# run: |
167-
# wget -O- https://apt.repos.intel.com/intel-gpg-keys/GPG-PUB-KEY-INTEL-SW-PRODUCTS.PUB \
168-
# | gpg --dearmor | sudo tee /usr/share/keyrings/oneapi-archive-keyring.gpg > /dev/null
169-
# echo "deb [signed-by=/usr/share/keyrings/oneapi-archive-keyring.gpg] https://apt.repos.intel.com/oneapi all main" | sudo tee /etc/apt/sources.list.d/oneAPI.list
170-
# sudo apt-get update
171-
# sudo apt-get install -y intel-oneapi-runtime-opencl intel-oneapi-base-toolkit
164+
- name: Install OpenCL
165+
if: ${{ inputs.adapter_name == 'OPENCL' }}
166+
run: |
167+
wget -O- https://apt.repos.intel.com/intel-gpg-keys/GPG-PUB-KEY-INTEL-SW-PRODUCTS.PUB \
168+
| gpg --dearmor | sudo tee /usr/share/keyrings/oneapi-archive-keyring.gpg > /dev/null
169+
echo "deb [signed-by=/usr/share/keyrings/oneapi-archive-keyring.gpg] https://apt.repos.intel.com/oneapi all main" | sudo tee /etc/apt/sources.list.d/oneAPI.list
170+
sudo apt-get update
171+
sudo apt-get install -y intel-oneapi-runtime-opencl intel-oneapi-base-toolkit
172172
173173
- name: Configure Unified Runtime project
174174
# ">" is used to avoid adding "\" at the end of each line; this command is quite long
@@ -187,8 +187,8 @@ jobs:
187187
${{ matrix.adapter.other_name != '' && format('-DUR_BUILD_ADAPTER_{0}=ON', matrix.adapter.other_name) || '' }}
188188
-DUR_STATIC_LOADER=${{matrix.adapter.static_Loader}}
189189
-DUR_STATIC_ADAPTER_${{matrix.adapter.name}}=${{matrix.adapter.static_adapter}}
190-
-DUR_DPCXX=/usr/local/lib/
191-
-DUR_SYCL_LIBRARY_DIR=/usr/local/lib/
190+
-DUR_DPCXX=./dpcpp_compiler/bin/clang++
191+
-DUR_SYCL_LIBRARY_DIR=./dpcpp_compiler/lib
192192
-DCMAKE_INSTALL_PREFIX=./install
193193
${{ matrix.adapter.name == 'HIP' && '-DUR_CONFORMANCE_AMD_ARCH=gfx1030' || '' }}
194194
${{ matrix.adapter.name == 'HIP' && '-DUR_HIP_PLATFORM=AMD' || '' }}

0 commit comments

Comments
 (0)