Skip to content

Commit 3ac3c59

Browse files
committed
fix(CI): always use ld64 for the linker on macOS
1 parent 0d9cedb commit 3ac3c59

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

setup.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ sed -i'' -e 's/return JS::GetWeakRefsEnabled() == JS::WeakRefSpecifier::Disabled
6363
sed -i'' -e 's/return !IsIteratorHelpersEnabled()/return false/' ./js/src/vm/GlobalObject.cpp # forcibly enable iterator helpers
6464
sed -i'' -e '/MOZ_CRASH_UNSAFE_PRINTF/,/__PRETTY_FUNCTION__);/d' ./mfbt/LinkedList.h # would crash in Debug Build: in `~LinkedList()` it should have removed all this list's elements before the list's destruction
6565
sed -i'' -e '/MOZ_ASSERT(stackRootPtr == nullptr);/d' ./js/src/vm/JSContext.cpp # would assert false in Debug Build since we extensively use `new JS::Rooted`
66+
sed -E -i'' -e 's/target.kernel == "Darwin"$/False/' ./build/moz.configure/toolchain.configure # always use ld64 for the linker on macOS because lld is not available in the CI machine
6667
cd js/src
6768
mkdir -p _build
6869
cd _build

0 commit comments

Comments
 (0)