Skip to content

Commit

Permalink
Source MKL PATH
Browse files Browse the repository at this point in the history
  • Loading branch information
zoziha committed Jul 12, 2024
1 parent 0534325 commit 7493683
Showing 1 changed file with 17 additions and 2 deletions.
19 changes: 17 additions & 2 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -101,8 +101,8 @@ jobs:
- {compiler: intel, version: '2024.1'}
include:
- APT_PACKAGES: >-
intel-oneapi-mkl-2024.1.0
intel-oneapi-mkl-devel-2024.1.0
intel-oneapi-mkl
intel-oneapi-mkl-devel
build: [cmake]
env:
BUILD_DIR: ${{ matrix.build == 'cmake' && 'build' || '.' }}
Expand All @@ -125,6 +125,21 @@ jobs:
compiler: ${{ matrix.toolchain.compiler }}
version: ${{ matrix.toolchain.version }}

- name: Add Intel repository
run: |
wget https://apt.repos.intel.com/intel-gpg-keys/GPG-PUB-KEY-INTEL-SW-PRODUCTS.PUB
sudo apt-key add GPG-PUB-KEY-INTEL-SW-PRODUCTS.PUB
rm GPG-PUB-KEY-INTEL-SW-PRODUCTS.PUB
echo "deb https://apt.repos.intel.com/oneapi all main" | sudo tee /etc/apt/sources.list.d/oneAPI.list
- name: Install Intel oneAPI MKL
run: |
sudo apt-get update
sudo apt-get install ${APT_PACKAGES}
source /opt/intel/oneapi/mkl/latest/env/vars.sh
printenv >> $GITHUB_ENV
# Build and test with external BLAS and LAPACK (MKL on Ubuntu with Intel compilers)
- name: Configure with CMake and MKL
run: >-
Expand Down

0 comments on commit 7493683

Please sign in to comment.