Skip to content

Commit

Permalink
Add Intel LLVM to Intel.yml CI
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexanderRichert-NOAA committed Aug 9, 2023
1 parent 29101be commit 309c68c
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions .github/workflows/Intel.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# This is a CI workflow for the NCEPLIBS-ip project.
#
# This workflow builds with the Intel compiler.
# This workflow builds with the Intel Classic and OneAPI compilers.
#
# Ed Hartnett, 1/8/23
name: Intel
Expand All @@ -21,13 +21,10 @@ defaults:
jobs:
Intel:
runs-on: ubuntu-latest
env:
CC: icc
FC: ifort
CXX: icpc
strategy:
matrix:
openmp: [ ON, OFF ]
compilers: ["CC=icc FC=ifort", "CC=icx FC=ifx"]

steps:

Expand Down Expand Up @@ -64,7 +61,7 @@ jobs:
cd sp
mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX=~/sp -DOPENMP=${{ matrix.openmp}} ..
${{ matrix.compilers }} cmake -DCMAKE_INSTALL_PREFIX=~/sp -DOPENMP=${{ matrix.openmp}} ..
make -j2
make install
Expand All @@ -78,7 +75,7 @@ jobs:
cd ip
mkdir build
cd build
cmake -DOPENMP=${{ matrix.openmp }} -DBUILD_SHARED_LIBS=OFF -DCMAKE_PREFIX_PATH="~/sp" ..
${{ matrix.compilers }} cmake -DOPENMP=${{ matrix.openmp }} -DBUILD_SHARED_LIBS=OFF -DCMAKE_PREFIX_PATH="~/sp" ..
make -j2 VERBOSE=1
- name: test
Expand Down

0 comments on commit 309c68c

Please sign in to comment.