Skip to content

Commit

Permalink
Installed LLVM in MacOS Release CI
Browse files Browse the repository at this point in the history
  • Loading branch information
Redfire75369 committed Oct 14, 2024
1 parent 6540ade commit d764290
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/actions/setup/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ runs:
shell: bash
run: |
brew list -1 | grep python | while read formula; do brew unlink $formula; brew link --overwrite $formula; done
brew install llvm yasm
brew install lld llvm yasm
echo "RUSTC_WRAPPER=sccache" >> $GITHUB_PATH
- name: Install Dependencies on Linux
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
- uses: actions/checkout@v4

- name: Install LLVM
if: matrix.os == 'linux'
if: matrix.os == 'macos' || matrix.os == 'linux'
uses: ZhongRuoyu/setup-llvm@v0
with:
llvm-version: 18
Expand Down Expand Up @@ -92,7 +92,6 @@ jobs:
CFLAGS: -flto
CPPFLAGS: -flto
CXXFLAGS: -flto
LDFLAGS: -fuse-ld=lld
RUSTFLAGS: -Clinker-plugin-lto -Clinker=clang -Clink-arg=-fuse-ld=lld
run: |
just build-release -v --locked --target $TARGET
Expand Down

0 comments on commit d764290

Please sign in to comment.