Skip to content

Commit 015ed97

Browse files
committed
host linker should be lld
1 parent a09aea8 commit 015ed97

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/test-and-publish.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,13 @@ jobs:
8888
if: ${{ matrix.os == 'macos-13' && steps.cache-spidermonkey.outputs.cache-hit != 'true' }}
8989
# SpiderMonkey requires XCode SDK version at least 13.3
9090
run: sudo xcode-select -switch /Applications/Xcode_14.3.app
91+
- name: Setup LLVM
92+
if: ${{ (matrix.os == 'macos-13' || matrix.os == 'macos-14') && steps.cache-spidermonkey.outputs.cache-hit != 'true' }}
93+
run: |
94+
brew install llvm@15
95+
ln -s $(brew --prefix llvm@15)/bin/lld /usr/local/bin/lld
96+
ln -s $(brew --prefix llvm@15)/bin/ld64.lld /usr/local/bin/ld64.lld
97+
ld64.lld --version
9198
- name: Build spidermonkey
9299
if: ${{ steps.cache-spidermonkey.outputs.cache-hit != 'true' }}
93100
run: ./setup.sh

0 commit comments

Comments
 (0)