[all-commits] [llvm/llvm-project] ac6c13: [sanitizers] Pass CMAKE_C_FLAGS into TSan buildgo ...
Joachim via All-commits
all-commits at lists.llvm.org
Wed Feb 17 00:21:36 PST 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: ac6c13bfc49f2d67a77144c839ecf49e48cb994c
https://github.com/llvm/llvm-project/commit/ac6c13bfc49f2d67a77144c839ecf49e48cb994c
Author: Joachim Protze <protze at itc.rwth-aachen.de>
Date: 2021-02-17 (Wed, 17 Feb 2021)
Changed paths:
M compiler-rt/lib/tsan/CMakeLists.txt
M compiler-rt/lib/tsan/go/buildgo.sh
Log Message:
-----------
[sanitizers] Pass CMAKE_C_FLAGS into TSan buildgo script
When compiling with ccache, compiler commands get split into smaller steps
and clang's default -Wunused-command-line-argument complains about unused
include directory arguments. In combination -Werror, compilation aborts.
This patch passes the CMAKE_C_FLAGS into the build script. Configuring with
-DCMAKE_C_FLAGS=-Wno-unused-command-line-argument allows successful testing.
Differential Revision: https://reviews.llvm.org/D96762
More information about the All-commits
mailing list