Skip to content

Commit

Permalink
fix: disable mkl for linux
Browse files Browse the repository at this point in the history
  • Loading branch information
louis030195 committed Nov 21, 2024
1 parent f503bc2 commit 40f3676
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/release-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ jobs:
fi
- name: create draft release
uses: crabnebula-dev/[email protected]
uses: crabnebula-dev/[email protected].6
with:
command: release draft ${{ secrets.CN_APP_SLUG }} --framework tauri
api-key: ${{ secrets.CN_API_KEY }}
Expand All @@ -96,7 +96,7 @@ jobs:
target: x86_64-apple-darwin
tauri-args: "--target x86_64-apple-darwin"
- platform: "ubuntu-22.04" # Ubuntu x86_64
args: "--features mkl" # TODO CUDA
args: "" # # ! we're not supporting mkl nor cuda for linux anymore, too much effort, nobody cares
tauri-args: ""
- platform: [self-hosted, Windows, X64] # Windows x86_64
args: "--target x86_64-pc-windows-msvc" # TODO CUDA --features mkl --features "openblas"
Expand Down Expand Up @@ -206,13 +206,13 @@ jobs:
# run: |
# pip install mkl mkl-devel mkl-static

- name: Install MKL in Linux
if: matrix.platform == 'ubuntu-22.04'
run: |
pip install mkl mkl-devel mkl-static
mkdir -p /opt/intel/mkl
cp -rfv ~/.local/lib/* ~/.local/include/* /opt/intel/mkl/
sudo cp -rfv ~/.local/lib/* /usr/lib/x86_64-linux-gnu/
# - name: Install MKL in Linux
# if: matrix.platform == 'ubuntu-22.04'
# run: |
# pip install mkl mkl-devel mkl-static
# mkdir -p /opt/intel/mkl
# cp -rfv ~/.local/lib/* ~/.local/include/* /opt/intel/mkl/
# sudo cp -rfv ~/.local/lib/* /usr/lib/x86_64-linux-gnu/

- name: Install frontend dependencies
shell: bash
Expand Down Expand Up @@ -343,7 +343,7 @@ jobs:
tauriScript: bunx tauri -v

- name: Upload Assets to CrabNebula Cloud
uses: crabnebula-dev/[email protected]
uses: crabnebula-dev/[email protected].6
with:
command: release upload ${{ secrets.CN_APP_SLUG }} --framework tauri
api-key: ${{ secrets.CN_API_KEY }}
Expand Down

0 comments on commit 40f3676

Please sign in to comment.