From 6e9ae724234d9fc3dddfdb7f5c5bffb44d201507 Mon Sep 17 00:00:00 2001 From: Chris Mumford Date: Tue, 15 Dec 2020 17:10:14 -0800 Subject: Disable fuzzing on OSX. LibFuzzer does not ship with the Mac OSX Command Line Tools. ``` ld: file not found: /Applications/Xcode-12.2.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/12.0.0/lib/darwin/libclang_rt.fuzzer_osx.a clang: error: linker command failed with exit code 1 (use -v to see invocation) ``` --- .travis.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 7ecf01e..e10c7d4 100644 --- a/.travis.yml +++ b/.travis.yml @@ -59,7 +59,8 @@ install: export PATH="$(brew --prefix llvm)/bin:$PATH"; fi # Fuzzing is only supported on Clang. Perform fuzzing on Debug builds. -- if [ "$CXX" = "clang++" ] && [ "$BUILD_TYPE" = "Debug" ]; then +# LibFuzzer doesn't ship with CommandLineTools on osx. +- if [ "$CXX" = "clang++" ] && [ "$BUILD_TYPE" = "Debug" ] && [ "$TRAVIS_OS_NAME" != "osx" ]; then export FUZZING=1; else export FUZZING=0; -- cgit v1.2.1