File tree Expand file tree Collapse file tree 1 file changed +6
-8
lines changed Expand file tree Collapse file tree 1 file changed +6
-8
lines changed Original file line number Diff line number Diff line change 5
5
branches : [master]
6
6
7
7
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
10
10
runs-on : ubuntu-latest
11
11
12
12
env :
13
13
ONEAPI_ROOT : /opt/intel/oneapi
14
14
15
15
steps :
16
16
- name : Cancel Previous Runs
17
- uses : styfle/cancel-workflow-action@0.11.0
17
+ uses : styfle/cancel-workflow-action@0.12.1
18
18
with :
19
19
access_token : ${{ github.token }}
20
20
57
57
run : |
58
58
source /opt/intel/oneapi/setvars.sh
59
59
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"
65
63
python setup.py develop
66
64
67
65
- name : Run mkl_random tests
You can’t perform that action at this time.
0 commit comments