Skip to content

Commit ce500ed

Browse files
ADKasterAtkinsSJ
authored andcommitted
Lagom: Look for clang the same way serenity.sh does in BuildFuzzers.sh
Also note that Xcode does not ship libfuzzer and is not usable for a fuzzer build.
1 parent 5bc1f13 commit ce500ed

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Meta/Lagom/BuildFuzzers.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,12 @@ die() {
1414

1515
pick_clang() {
1616
local BEST_VERSION=0
17-
for CLANG_CANDIDATE in clang clang-13 clang-14 /usr/local/bin/clang-13 /usr/local/bin/clang-14; do
17+
for CLANG_CANDIDATE in clang clang-13 clang-14 clang-15 /opt/homebrew/opt/llvm/bin/clang ; do
1818
if ! command -v $CLANG_CANDIDATE >/dev/null 2>&1; then
1919
continue
2020
fi
2121
if $CLANG_CANDIDATE --version 2>&1 | grep "Apple clang" >/dev/null; then
22+
echo "Skipping Apple clang, as Apple does not ship libfuzzer with Xcode..."
2223
continue
2324
fi
2425
if ! $CLANG_CANDIDATE -dumpversion >/dev/null 2>&1; then

0 commit comments

Comments
 (0)