mirror of
https://gitlab.com/ita1024/waf.git
synced 2024-11-22 01:46:15 +01:00
Improve clang_compilation_database interaction with wafcache
This commit is contained in:
parent
6ed66ce90b
commit
a74d40a505
@ -105,6 +105,7 @@ class ClangDbContext(Build.BuildContext):
|
||||
for tsk in lst:
|
||||
tup = tuple(y for y in [Task.classes.get(x) for x in ('c', 'cxx')] if y)
|
||||
if isinstance(tsk, tup):
|
||||
tsk.nocache = True
|
||||
old_exec = tsk.exec_command
|
||||
tsk.exec_command = exec_command
|
||||
tsk.run()
|
||||
|
Loading…
Reference in New Issue
Block a user