diff options
author | Jack Lloyd <[email protected]> | 2017-10-01 08:46:33 -0400 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2017-10-01 08:46:33 -0400 |
commit | 3327354d31ec614e27aa66f0cddb96f1054ad728 (patch) | |
tree | 5d7772c42b82350cb1b7406122f639c8c333de8e | |
parent | 131c367ef728043feaa70d994c3f1ec6a1b00e1b (diff) |
Ugh, disable ccache on Sonar build
It seems ccache doesn't handle -fprofile-instr-generate correctly.
-rwxr-xr-x | src/scripts/ci_build.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/scripts/ci_build.py b/src/scripts/ci_build.py index 2194c0c4b..9c68d553f 100755 --- a/src/scripts/ci_build.py +++ b/src/scripts/ci_build.py @@ -323,8 +323,8 @@ def main(args=None): return 1 if options.compiler_cache is None and options.cc != 'msvc': - # Autodetect ccache - if have_prog('ccache'): + # Autodetect ccache, unless using clang profiling - ccache seems to misbehave there + if have_prog('ccache') and target not in ['sonar']: options.compiler_cache = 'ccache' if options.compiler_cache == 'clcache' and target in ['sanitizer']: |