Skip to content

Commit 297bdb8

Browse files
committed
Setting up netlib installation
1 parent 990adba commit 297bdb8

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

.github/workflows/coverity.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ permissions: read-all
2929

3030
env:
3131
COVERITY_PROJECT: vyevtyus%2FoneMath
32+
LAPACK_VERSION: 3.12.0
3233

3334
jobs:
3435
coverity_linux:
@@ -59,6 +60,19 @@ jobs:
5960
ls -la /opt/intel/mkl/
6061
echo ${PATH}
6162
63+
- name: Install netlib
64+
run: |
65+
curl -sL https://github.com/Reference-LAPACK/lapack/archive/refs/tags/v${LAPACK_VERSION}.tar.gz | tar zx
66+
SHARED_OPT="lapack-${LAPACK_VERSION} -DBUILD_SHARED_LIBS=on -DCBLAS=on -DLAPACKE=on -DCMAKE_INSTALL_PREFIX=${PWD}/lapack/install"
67+
# 32 bit int
68+
cmake ${SHARED_OPT} -B lapack/build32
69+
cmake --build lapack/build32 ${PARALLEL} --target install
70+
ls -la lapack/build32
71+
# 64 bit int
72+
cmake ${SHARED_OPT} -DBUILD_INDEX64=on -B lapack/build64
73+
cmake --build lapack/build64 ${PARALLEL} --target install
74+
ls -la lapack/build64
75+
6276
- name: Prepare and run Coverity build
6377
run: |
6478
source /opt/intel/oneapi/setvars.sh

0 commit comments

Comments
 (0)