Skip to content

Commit

Permalink
CI: Remove ICC/ICPC (Compiler Classic) (#4303)
Browse files Browse the repository at this point in the history
## Summary

Fails now in CI. For a while it remarks:
> icpc: remark #10441: The Intel(R) C++ Compiler Classic (ICC) is
deprecated and will be removed from product release in the second half
of 2023. The Intel(R) oneAPI DPC++/C++ Compiler (ICX) is the recommended
compiler moving forward. Please transition to use this compiler. Use
'-diag-disable=10441' to disable this message.

## Additional background

#4299 (comment)
  • Loading branch information
ax3l authored Jan 18, 2025
1 parent 0233b8e commit 90373e7
Showing 1 changed file with 0 additions and 55 deletions.
55 changes: 0 additions & 55 deletions .github/workflows/intel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -205,58 +205,3 @@ jobs:
ccache -s
du -hs ~/.cache/ccache
# "Classic" EDG Intel Compiler
tests-icc:
name: ICC [tests]
runs-on: ubuntu-latest
needs: check_changes
if: needs.check_changes.outputs.has_non_docs_changes == 'true'
steps:
- uses: actions/checkout@v4
- name: Dependencies
run: |
.github/workflows/dependencies/ubuntu_free_disk_space.sh
.github/workflows/dependencies/dependencies_dpcpp.sh
sudo apt-get install -y intel-oneapi-compiler-dpcpp-cpp-and-cpp-classic
.github/workflows/dependencies/dependencies_ccache.sh
- name: Set Up Cache
uses: actions/cache@v4
with:
path: ~/.cache/ccache
key: ccache-${{ github.workflow }}-${{ github.job }}-git-${{ github.sha }}
restore-keys: |
ccache-${{ github.workflow }}-${{ github.job }}-git-
- name: Build & Install
env: {CXXFLAGS: "-Werror"}
run: |
export CCACHE_COMPRESS=1
export CCACHE_COMPRESSLEVEL=10
export CCACHE_MAXSIZE=100M
ccache -z
set +e
source /opt/intel/oneapi/setvars.sh
set -e
cmake -S . -B build \
-DCMAKE_VERBOSE_MAKEFILE=ON \
-DAMReX_EB=ON \
-DAMReX_ENABLE_TESTS=ON \
-DAMReX_FORTRAN=OFF \
-DCMAKE_C_COMPILER=$(which icc) \
-DCMAKE_CXX_COMPILER=$(which icpc) \
-DCMAKE_CXX_COMPILER_LAUNCHER=ccache
cmake --build build --parallel 4
cmake --build build --target install
cmake --build build --target test_install
ccache -s
du -hs ~/.cache/ccache
- name: Run tests
run: |
set +e
source /opt/intel/oneapi/setvars.sh
set -e
cd build
ctest --output-on-failure

0 comments on commit 90373e7

Please sign in to comment.