@@ -108,66 +108,3 @@ jobs:
108108 set -e
109109 cd build
110110 ctest --output-on-failure
111-
112- # "Classic" EDG Intel Compiler
113- # Ref.: https://github.com/rscohn2/oneapi-ci
114- # intel-basekit intel-hpckit are too large in size
115- tests-icc :
116- name : ICC
117- runs-on : ubuntu-20.04
118- steps :
119- - uses : actions/checkout@v4
120- - name : install dependencies
121- run : |
122- export DEBIAN_FRONTEND=noninteractive
123- sudo apt-get -qqq update
124- sudo apt-get install -y wget build-essential pkg-config cmake ca-certificates gnupg
125- sudo wget https://apt.repos.intel.com/intel-gpg-keys/GPG-PUB-KEY-INTEL-SW-PRODUCTS-2023.PUB
126- sudo apt-key add GPG-PUB-KEY-INTEL-SW-PRODUCTS-2023.PUB
127- echo "deb https://apt.repos.intel.com/oneapi all main" | sudo tee /etc/apt/sources.list.d/oneAPI.list
128- sudo apt-get update
129- sudo apt-get install -y intel-oneapi-compiler-dpcpp-cpp-and-cpp-classic intel-oneapi-compiler-fortran intel-oneapi-mpi-devel
130- .github/workflows/dependencies/dependencies_ccache.sh
131- - name : Set Up Cache
132- uses : actions/cache@v4
133- with :
134- path : ~/.cache/ccache
135- key : ccache-${{ github.workflow }}-${{ github.job }}-git-${{ github.sha }}
136- restore-keys : |
137- ccache-${{ github.workflow }}-${{ github.job }}-git-
138- - name : build
139- env : {CXXFLAGS: "-Werror"}
140- run : |
141- set +e
142- source /opt/intel/oneapi/setvars.sh
143- set -e
144-
145- export CCACHE_COMPRESS=1
146- export CCACHE_COMPRESSLEVEL=10
147- export CCACHE_MAXSIZE=600M
148- ccache -z
149-
150- export CXX=$(which icpc)
151- export CC=$(which icc)
152- python3 -m pip install -U pip importlib_metadata launchpadlib setuptools wheel
153- python3 -m pip install -U cmake
154- python3 -m pip install -U pytest mpi4py
155-
156- cmake -S . -B build \
157- -DCMAKE_BUILD_TYPE=Debug \
158- -DCMAKE_VERBOSE_MAKEFILE=ON \
159- -DBUILD_SHARED_LIBS=ON \
160- -DAMReX_MPI=ON \
161- -DAMReX_SPACEDIM="1;2;3"
162- cmake --build build --target pip_install -j 2
163-
164- ccache -s
165- du -hs ~/.cache/ccache
166-
167- - name : Run tests
168- run : |
169- set +e
170- source /opt/intel/oneapi/setvars.sh
171- set -e
172- cd build
173- ctest --output-on-failure
0 commit comments