Skip to content

Commit 3e5bf5b

Browse files
author
pfeatherstone
committed
build with libmkl_rt.so
1 parent dd44442 commit 3e5bf5b

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

.github/workflows/build_cpp.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,33 @@ jobs:
174174
- name: Build ffmpeg example
175175
run: cmake --build build --config Release --target ffmpeg_video_muxing_ex --parallel 4
176176

177+
ubuntu-latest-mkl-rt:
178+
runs-on: 'ubuntu-latest'
179+
steps:
180+
- uses: actions/checkout@v2
181+
182+
- name: Cache MKL
183+
uses: actions/cache@v3
184+
id: cache-mkl
185+
with:
186+
path: /opt/intel/oneapi/mkl/latest
187+
key: mkl_try1
188+
189+
- name: Download MKL
190+
if: steps.cache-mkl.outputs.cache-hit != 'true'
191+
run: |
192+
wget https://registrationcenter-download.intel.com/akdlm/IRC_NAS/bd1d0273-a931-4f7e-ab76-6a2a67d646c7/intel-oneapi-base-toolkit-2025.2.0.592_offline.sh
193+
sudo sh ./intel-oneapi-base-toolkit-2025.2.0.592_offline.sh -a --silent --eula accept
194+
195+
- name: Configure
196+
run: cmake ${{ github.workspace }}/dlib/test -B build
197+
198+
- name: Build tests
199+
run: cmake --build build --config Release --target dtest --parallel 4
200+
201+
- name: Test
202+
run: build/dtest --runall -q
203+
177204
ubuntu-latest-mkl-sequential:
178205
runs-on: 'ubuntu-latest'
179206
steps:

0 commit comments

Comments
 (0)