Commit 8b9169a3 authored by Christian Dietrich's avatar Christian Dietrich
Browse files

combine ccache and clang-hash

parent fe792841
......@@ -16,7 +16,7 @@ endif()
configure_file(clang-normal.in ${PROJECT_BINARY_DIR}/wrappers/clang-normal)
configure_file(clang-ccache.in ${PROJECT_BINARY_DIR}/wrappers/clang-ccache)
configure_file(clang-hash-stop.in ${PROJECT_BINARY_DIR}/wrappers/clang-hash-stop)
configure_file(clang-ccache-hash-stop.in ${PROJECT_BINARY_DIR}/wrappers/clang-ccache-hash-stop)
# Symlink compiler wrappers
execute_process(
......
#!/bin/sh
exec ccache ${LLVM_C_COMPILER} -fplugin=${PROJECT_BINARY_DIR}/src/libclang-hash.so \
-Xclang -plugin-arg-clang-hash -Xclang -stop-if-same-hash \
"$@" -Wno-extra-semi
# Wrapper for clang, that supports (only) fast hash-based
# recompilation.
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment