Skip to content

Commit

Permalink
Attempt alternative installation technique for llvm 10
Browse files Browse the repository at this point in the history
  • Loading branch information
outkine committed Jan 4, 2024
1 parent 1afa332 commit 9c25aee
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,16 +79,19 @@ jobs:
name: windows-runners
path: compiled_runners
- if: matrix.os == 'windows'
run: echo "COMPILED_RUNNERS=compiled_runners" >>$GITHUB_ENV
run: echo "COMPILED_RUNNERS=compiled_runners" >> $GITHUB_ENV
shell: bash
- if: matrix.os == 'macos'
run: |
brew install llvm@15
brew install llvm@10
echo "LLVM_SYS_110_PREFIX=$(brew --prefix llvm)" >> $GITHUB_ENV
- if: matrix.os == 'ubuntu'
run: |
wget https://apt.llvm.org/llvm.sh -O /tmp/llvm.sh
sudo bash /tmp/llvm.sh 15
wget --no-check-certificate -O - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add -
add-apt-repository 'deb http://apt.llvm.org/bionic/ llvm-toolchain-bionic-10 main'
sudo apt update
sudo apt install llvm
sudo apt-get install llvm-10 lldb-10 llvm-10-dev libllvm10 llvm-10-runtime
- run: cargo build --release --no-default-features ${{matrix.cargoargs}}
env:
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ build-llvm = ["wasmer-compiler-llvm"]
wasmer = { version = "1.0", default-features = false, features = ["jit"] }
wasmer-engine = "1.0"
wasmer-compiler-cranelift = { version = "1.0", optional = true }
wasmer-compiler-llvm = { version = "4.2.5", optional = true }
wasmer-compiler-llvm = { version = "1.0", optional = true }

[patch.crates-io]
multipart = { git = "https://github.com/coolreader18/multipart", rev = "ee033794ada7c322e3cef50713854dff873f546d" }

0 comments on commit 9c25aee

Please sign in to comment.