mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-12-11 17:08:42 +00:00
[Clang][ScanDeps] Change multiple-commands.c test to use -fmodules-cache-path on implicit builds
The module cache escapes the test output dirs in this test. Since its default location maybe composed of system and user related path this can cause problems in some builders (e.g. not accessible paths inherited in a chroot environment). Clean the test a bit by passing `-fmodules-cache-path` inside the test output dirs. Differential Revision: https://reviews.llvm.org/D133617
This commit is contained in:
parent
28890b7bab
commit
f4a13c9c0a
@ -150,7 +150,7 @@
|
||||
},
|
||||
{
|
||||
"directory": "DIR"
|
||||
"command": "clang_tool -target x86_64-apple-darwin -c DIR/tu_save_temps_module.c -save-temps=obj -o DIR/tu_save_temps_module.o -fmodules -fimplicit-modules -fimplicit-module-maps"
|
||||
"command": "clang_tool -target x86_64-apple-darwin -c DIR/tu_save_temps_module.c -save-temps=obj -o DIR/tu_save_temps_module.o -fmodules -fimplicit-modules -fimplicit-module-maps -fmodules-cache-path=DIR/cache"
|
||||
"file": "DIR/tu_save_temps_module.c"
|
||||
}
|
||||
]
|
||||
|
Loading…
Reference in New Issue
Block a user