Skip to content

Commit a05e3f5

Browse files
Renamed workflow, use icx/icpx instead of clang/clang++
Bump cancel-workflow action version
1 parent d77316a commit a05e3f5

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

.github/workflows/build-with-clang.yml

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,16 @@ on:
55
branches: [master]
66

77
jobs:
8-
generate-coverage:
9-
name: Generate coverage and push to Coveralls.io
8+
build-with-clang:
9+
name: Build project with IntelLLVM clang compiler
1010
runs-on: ubuntu-latest
1111

1212
env:
1313
ONEAPI_ROOT: /opt/intel/oneapi
1414

1515
steps:
1616
- name: Cancel Previous Runs
17-
uses: styfle/cancel-workflow-action@0.11.0
17+
uses: styfle/cancel-workflow-action@0.12.1
1818
with:
1919
access_token: ${{ github.token }}
2020

@@ -57,11 +57,9 @@ jobs:
5757
run: |
5858
source /opt/intel/oneapi/setvars.sh
5959
echo $CMPLR_ROOT
60-
export CC=$CMPLR_ROOT/bin/compiler/clang
61-
export CXX=$CMPLR_ROOT/bin/compiler/clang++
62-
export CFLAGS="${CFLAGS} -fno-fast-math"
63-
echo "CC = ${CC} CXX=${CXX}"
64-
ls -l ${CC} ${CXX}
60+
export CC=$CMPLR_ROOT/bin/icx
61+
export CXX=$CMPLR_ROOT/bin/icpx
62+
export CFLAGS="${CFLAGS} -fno-fast-math -O2"
6563
python setup.py develop
6664
6765
- name: Run mkl_random tests

0 commit comments

Comments
 (0)