File tree Expand file tree Collapse file tree 1 file changed +16
-0
lines changed
Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Original file line number Diff line number Diff line change 2222 compiler : clang
2323 cc : clang
2424 cxx : clang++
25+ - os : ubuntu-latest
26+ compiler : intel-icx
27+ cc : icx
28+ cxx : icpx
2529 - os : windows-latest
2630 compiler : msvc
2731 - os : macos-latest
3034 steps :
3135 - uses : actions/checkout@v4
3236
37+ - name : Install Intel oneAPI (Linux)
38+ if : matrix.compiler == 'intel-icx' && runner.os == 'Linux'
39+ run : |
40+ wget https://apt.repos.intel.com/intel-gpg-keys/GPG-PUB-KEY-INTEL-SW-PRODUCTS.PUB
41+ sudo apt-key add GPG-PUB-KEY-INTEL-SW-PRODUCTS.PUB
42+ echo "deb https://apt.repos.intel.com/oneapi all main" | sudo tee /etc/apt/sources.list.d/oneAPI.list
43+ sudo apt-get update
44+ sudo apt-get install -y intel-oneapi-compiler-dpcpp-cpp-and-cpp-classic
45+ source /opt/intel/oneapi/setvars.sh
46+ echo "CC=icx" >> $GITHUB_ENV
47+ echo "CXX=icpx" >> $GITHUB_ENV
48+
3349 - name : Configure CMake
3450 run : >
3551 cmake -B build
You can’t perform that action at this time.
0 commit comments