diff options
author | Georgios Pinitas <georgios.pinitas@arm.com> | 2018-03-13 19:52:02 +0000 |
---|---|---|
committer | Anthony Barbier <anthony.barbier@arm.com> | 2018-11-02 16:49:16 +0000 |
commit | a18aee7ed0bbec2fae3b9b7e1e9ac70c4070a767 (patch) | |
tree | 0654c8bb3419cb225cee09aa3f9bf34abaa070d7 | |
parent | d8734b55d89f05901ba9a75349761a9c955d9243 (diff) | |
download | ComputeLibrary-a18aee7ed0bbec2fae3b9b7e1e9ac70c4070a767.tar.gz |
COMPMID-959: Suppress invalid parenthesis warn with clang and ccache
Change-Id: I5610828abdb4a0201ebf9223d8d48dbfe3d0720e
Reviewed-on: https://eu-gerrit-1.euhpc.arm.com/124436
Tested-by: Jenkins <bsgcomp@arm.com>
Reviewed-by: Anthony Barbier <anthony.barbier@arm.com>
-rw-r--r-- | SConstruct | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/SConstruct b/SConstruct index 59457c1eb9..7667132bd9 100644 --- a/SConstruct +++ b/SConstruct @@ -171,6 +171,9 @@ env['AS'] = prefix + "as" env['AR'] = prefix + "ar" env['RANLIB'] = prefix + "ranlib" +if 'ccache' in env['compiler_cache'] and 'clang++' in cpp_compiler: + env['ENV']['CCACHE_CPP2'] = 'yes' + if not GetOption("help"): try: compiler_ver = subprocess.check_output(env['CXX'].split() + ["-dumpversion"]).strip() |