File tree Expand file tree Collapse file tree 1 file changed +12
-6
lines changed Expand file tree Collapse file tree 1 file changed +12
-6
lines changed Original file line number Diff line number Diff line change @@ -99,13 +99,12 @@ jobs:
99
99
matrix :
100
100
toolchain :
101
101
- {compiler: intel, version: '2024.1'}
102
- include :
103
- - APT_PACKAGES : >-
104
- intel-oneapi-mkl-2024.1.0
105
- intel-oneapi-mkl-devel-2024.1.0
106
102
build : [cmake]
107
103
env :
108
104
BUILD_DIR : ${{ matrix.build == 'cmake' && 'build' || '.' }}
105
+ APT_PACKAGES : >-
106
+ intel-oneapi-mkl
107
+ intel-oneapi-mkl-devel
109
108
steps :
110
109
- name : Checkout code
111
110
uses : actions/checkout@v4
@@ -124,7 +123,13 @@ jobs:
124
123
with :
125
124
compiler : ${{ matrix.toolchain.compiler }}
126
125
version : ${{ matrix.toolchain.version }}
127
-
126
+
127
+ - name : Install Intel oneAPI MKL
128
+ run : |
129
+ sudo apt-get install ${APT_PACKAGES}
130
+ source /opt/intel/oneapi/mkl/latest/env/vars.sh
131
+ printenv >> $GITHUB_ENV
132
+
128
133
# Build and test with external BLAS and LAPACK (MKL on Ubuntu with Intel compilers)
129
134
- name : Configure with CMake and MKL
130
135
run : >-
@@ -133,7 +138,8 @@ jobs:
133
138
-DCMAKE_MAXIMUM_RANK:String=4
134
139
-DCMAKE_INSTALL_PREFIX=$PWD/_dist
135
140
-DFIND_BLAS:STRING=TRUE
136
- -DBLA_VENDOR=Intel10_64lp
141
+ -DBLAS_LIBRARIES="/opt/intel/oneapi/mkl/latest/lib/intel64/libmkl_rt.so"
142
+ -DLAPACK_LIBRARIES="/opt/intel/oneapi/mkl/latest/lib/intel64/libmkl_rt.so"
137
143
-S . -B build_mkl
138
144
139
145
- name : Build and compile with MKL
You can’t perform that action at this time.
0 commit comments