File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -7,33 +7,6 @@ concurrency:
77 cancel-in-progress : true
88
99jobs :
10- icc_cxxonly :
11- name : ICC C++ only
12- runs-on : ubuntu-22.04
13- if : github.event.pull_request.draft == false
14- steps :
15- - uses : actions/checkout@v4
16- - name : Install
17- run : |
18- sudo .github/workflows/dependencies/install_icc
19- - name : Build
20- # Due to compiler bugs in Intel compiler, we need to disable warning 1011
21- # (missing return value), otherwise `if constexpr` functions
22- # don't compile.
23- # See https://community.intel.com/t5/Intel-C-Compiler/quot-if-constexpr-quot-and-quot-missing-return-statement-quot-in/td-p/1154551
24- # Using a local pragma does not work due to the reasons stated there.
25- env : {CXXFLAGS: -Werror -wd1011}
26- run : |
27- set +e; source /opt/intel/oneapi/setvars.sh; set -e
28- share/openPMD/download_samples.sh build
29- cmake -S . -B build \
30- -DCMAKE_C_COMPILER=$(which icc) \
31- -DCMAKE_CXX_COMPILER=$(which icpc) \
32- -DopenPMD_USE_PYTHON=OFF \
33- -DopenPMD_USE_MPI=OFF
34- cmake --build build --parallel 2
35- ctest --test-dir build --output-on-failure
36-
3710 icx_cxxonly :
3811 name : ICX C++ only
3912 runs-on : ubuntu-22.04
You can’t perform that action at this time.
0 commit comments