File tree Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Original file line number Diff line number Diff line change 88
88
if : ${{ matrix.os == 'macos-13' && steps.cache-spidermonkey.outputs.cache-hit != 'true' }}
89
89
# SpiderMonkey requires XCode SDK version at least 13.3
90
90
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
+ ln -s $(brew --prefix llvm@15)/bin/llvm-install-name-tool /usr/local/bin/llvm-install-name-tool
98
+ ld64.lld --version
99
+ llvm-install-name-tool --version
91
100
- name : Build spidermonkey
92
101
if : ${{ steps.cache-spidermonkey.outputs.cache-hit != 'true' }}
93
102
run : ./setup.sh
Original file line number Diff line number Diff line change @@ -18,8 +18,6 @@ if [[ "$OSTYPE" == "linux-gnu"* ]]; then # Linux
18
18
elif [[ " $OSTYPE " == " darwin" * ]]; then # macOS
19
19
brew update || true # allow failure
20
20
brew install cmake pkg-config wget unzip coreutils # `coreutils` installs the `realpath` command
21
- brew install llvm@15
22
- brew install lld
23
21
elif [[ " $OSTYPE " == " msys" * ]]; then # Windows
24
22
echo " Dependencies are not going to be installed automatically on Windows."
25
23
else
You can’t perform that action at this time.
0 commit comments