This repository was archived by the owner on Nov 25, 2025. It is now read-only.
Description When using Ccache, Sccache or Zig cc, the assembler step for Blake3 assumes that the wrapper is the compiler as seen in the snippet below:
138.8 [284/5100] Building ASM object lib/Support/BLAKE3/CMakeFiles/LLVMSupportBlake3.dir/blake3_avx512_x86-64_unix.S.o
138.8 error: unexpected argument '-D' found
138.8
138.8 tip: to pass '-D' as a value, use '-- -D'
138.8
138.8 Usage: sccache [OPTIONS] <--dist-auth|--debug-preprocessor-cache|--dist-status|--show-stats|--show-adv-stats|--start-server|--stop-server|--zero-stats|--package-toolchain <EXE> <OUT>|CMD>
138.8
138.8 For more information, try '--help'.
138.8 ninja: job failed: /usr/bin/sccache -DGTEST_HAS_RTTI=0 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/zig-bootstrap/out/build-llvm-host/lib/Support/BLAKE3 -I/zig-bootstrap/llvm/lib/Support/BLAKE3 -I/zig-bootstrap/out/build-llvm-host/include -I//zig-bootstrap/llvm/include -fPIC -mavx512vl -o lib/Support/BLAKE3/CMakeFiles/LLVMSupportBlake3.dir/blake3_avx512_x86-64_unix.S.o -c /zig-bootstrap/llvm/lib/Support/BLAKE3/blake3_avx512_x86-64_unix.S
PR incoming with a simple workaround for it.
Reactions are currently unavailable
When using Ccache, Sccache or Zig cc, the assembler step for Blake3 assumes that the wrapper is the compiler as seen in the snippet below:
PR incoming with a simple workaround for it.