Skip to content

Commit

Permalink
Update test.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
LKedward committed Jul 11, 2023
1 parent 6ee2205 commit eb40461
Showing 1 changed file with 13 additions and 12 deletions.
25 changes: 13 additions & 12 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,18 +75,7 @@ jobs:
/opt/intel/oneapi/setvars.sh
/tmp/opencl_runtime.tgz
key: intel-cache-v2

- name: Download Intel OpenCL SDK
if: steps.cache-intel.outputs.cache-hit != 'true'
run: |
wget -q https://registrationcenter-download.intel.com/akdlm/IRC_NAS/17206/intel_sdk_for_opencl_applications_2020.3.494.tar.gz -O /tmp/opencl_runtime.tgz
- name: Install Intel OpenCL SDK
run: |
tar -xzf /tmp/opencl_runtime.tgz -C /tmp
sed 's/decline/accept/g' -i /tmp/intel_sdk_for_opencl_applications_2020.3.494/silent.cfg
sudo /tmp/intel_sdk_for_opencl_applications_2020.3.494/install.sh -s /tmp/intel_sdk_for_opencl_applications_2020.3.494/silent.cfg

- name: Install ifort with apt
if: steps.cache-intel.outputs.cache-hit != 'true'
run: |
Expand All @@ -99,6 +88,18 @@ jobs:
sudo rm -rf /opt/intel/oneapi/compiler/latest/linux/lib/emu
sudo rm -rf /opt/intel/oneapi/compiler/latest/linux/lib/oclfpga
sudo rm /opt/intel/oneapi/compiler/2023.1.0/linux/lib/libOpenCL.so.1
sudo rm -f /etc/OpenCL/vendors/intel-oneapi-compiler-shared-opencl-cpu.icd
- name: Download Intel OpenCL SDK
if: steps.cache-intel.outputs.cache-hit != 'true'
run: |
wget -q https://registrationcenter-download.intel.com/akdlm/IRC_NAS/17206/intel_sdk_for_opencl_applications_2020.3.494.tar.gz -O /tmp/opencl_runtime.tgz
- name: Install Intel OpenCL SDK
run: |
tar -xzf /tmp/opencl_runtime.tgz -C /tmp
sed 's/decline/accept/g' -i /tmp/intel_sdk_for_opencl_applications_2020.3.494/silent.cfg
sudo /tmp/intel_sdk_for_opencl_applications_2020.3.494/install.sh -s /tmp/intel_sdk_for_opencl_applications_2020.3.494/silent.cfg
- name: Setup ifort env
run: |
Expand Down

0 comments on commit eb40461

Please sign in to comment.