google / atheris

Apache License 2.0
1.35k stars 111 forks source link

Run the CI on OSX as well #65

Closed jvoisin closed 11 months ago

jvoisin commented 1 year ago
RuntimeError: Failed to find libFuzzer; you may be building using Apple Clang. Apple Clang does not come with libFuzzer.
      Please download and build the latest version of Clang:
          git clone --depth=1 https://github.com/llvm/llvm-project.git
          cd llvm-project
          cmake -DLLVM_ENABLE_PROJECTS='clang;compiler-rt' -G "Unix Makefiles" -S llvm -B build
          NPROC=$(sysctl -n hw.logicalcpu 2>/dev/null || nproc)
          cmake --build build --parallel $NPROC # This step is very slow.
      Then, set $CLANG_BIN="$(pwd)/bin/clang" and run pip again.
      You should use this same Clang for building any Python extensions you plan to fuzz.

I'm not sure we want to build clang in the github ci…

jvoisin commented 11 months ago

Let's not do that.