Skip to content

Commit ba6926d

Browse files
committed
test
1 parent b18d350 commit ba6926d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

setup.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ if [[ "$OSTYPE" == "linux-gnu"* ]]; then # Linux
1818
elif [[ "$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@14
21+
brew install llvm@15
2222
elif [[ "$OSTYPE" == "msys"* ]]; then # Windows
2323
echo "Dependencies are not going to be installed automatically on Windows."
2424
else
@@ -68,6 +68,7 @@ cd js/src
6868
mkdir -p _build
6969
cd _build
7070
mkdir -p ../../../../_spidermonkey_install/
71+
$(if [[ "$OSTYPE" == "darwin"* ]]; then echo "LD=$(brew --prefix llvm@15)/bin/lld HOST_LD=$(brew --prefix llvm@15)/bin/lld"; fi) \
7172
../configure --target=$(clang --print-target-triple) \
7273
--prefix=$(realpath $PWD/../../../../_spidermonkey_install) \
7374
--with-intl-api \

0 commit comments

Comments
 (0)