File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -245,14 +245,20 @@ jobs:
245245 sudo apt-key add GPG-PUB-KEY-INTEL-SW-PRODUCTS.PUB
246246 sudo add-apt-repository "deb https://apt.repos.intel.com/oneapi all main"
247247 sudo apt-get update
248- sudo apt-get install -y intel-oneapi-compiler-fortran intel-oneapi-mpi intel-oneapi-mpi-devel
248+ sudo apt-get install -y intel-oneapi-compiler-fortran intel-oneapi-compiler-dpcpp-cpp intel-oneapi- mpi intel-oneapi-mpi-devel
249249 # Export only new/changed env vars from setvars.sh.
250250 # `printenv >> $GITHUB_ENV` dumps all vars including shell internals
251251 # with special characters that corrupt GITHUB_ENV parsing.
252252 printenv | sort > /tmp/env_before
253253 source /opt/intel/oneapi/setvars.sh
254254 printenv | sort > /tmp/env_after
255255 diff /tmp/env_before /tmp/env_after | grep '^>' | sed 's/^> //' >> $GITHUB_ENV
256+ echo "FC=ifx" >> $GITHUB_ENV
257+ echo "CC=icx" >> $GITHUB_ENV
258+ echo "CXX=icpx" >> $GITHUB_ENV
259+ echo "MPIFC=mpiifx" >> $GITHUB_ENV
260+ echo "MPICC=mpiicx" >> $GITHUB_ENV
261+ echo "MPICXX=mpiicpx" >> $GITHUB_ENV
256262
257263 - name : Build
258264 run : |
Original file line number Diff line number Diff line change 11# SPDX-License-Identifier: MIT
22
3+ # Intel ifx/icx CI support
34# Developer's note:
45# CMake has extensive documentation available online. Searching "cmake <variable>"
56# or "cmake <function_name>" will return a cmake.org page with more information
You can’t perform that action at this time.
0 commit comments