mirror of https://gitlab.com/ita1024/waf.git
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:
|
for tsk in lst:
|
||||||
tup = tuple(y for y in [Task.classes.get(x) for x in ('c', 'cxx')] if y)
|
tup = tuple(y for y in [Task.classes.get(x) for x in ('c', 'cxx')] if y)
|
||||||
if isinstance(tsk, tup):
|
if isinstance(tsk, tup):
|
||||||
|
tsk.nocache = True
|
||||||
old_exec = tsk.exec_command
|
old_exec = tsk.exec_command
|
||||||
tsk.exec_command = exec_command
|
tsk.exec_command = exec_command
|
||||||
tsk.run()
|
tsk.run()
|
||||||
|
|
Loading…
Reference in New Issue