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 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+ 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
91100 - name : Build spidermonkey
92101 if : ${{ steps.cache-spidermonkey.outputs.cache-hit != 'true' }}
93102 run : ./setup.sh
Original file line number Diff line number Diff line change @@ -18,8 +18,6 @@ if [[ "$OSTYPE" == "linux-gnu"* ]]; then # Linux
1818elif [[ " $OSTYPE " == " darwin" * ]]; then # macOS
1919 brew update || true # allow failure
2020 brew install cmake pkg-config wget unzip coreutils # `coreutils` installs the `realpath` command
21- brew install llvm@15
22- brew install lld
2321elif [[ " $OSTYPE " == " msys" * ]]; then # Windows
2422 echo " Dependencies are not going to be installed automatically on Windows."
2523else
You can’t perform that action at this time.
0 commit comments