[Offload] Escape \; in command string (#186120)
This adds a \ in front of the ; between the two cache files to stop the run function to interpret it as a shell statement separator (or so).
This commit is contained in:
parent
1f2a3bfd40
commit
ee797883e8
@ -35,7 +35,7 @@ with worker.run(
|
||||
"-DCMAKE_CXX_STANDARD=17",
|
||||
"-DLIBOMPTARGET_PLUGINS_TO_BUILD=amdgpu;host",
|
||||
"-DRUNTIMES_amdgcn-amd-amdhsa_LLVM_ENABLE_RUNTIMES=compiler-rt;openmp",
|
||||
f"-DRUNTIMES_amdgcn-amd-amdhsa_CACHE_FILES='{w.in_llvmsrc('compiler-rt')}/cmake/caches/GPU.cmake;{w.in_llvmsrc('libcxx')}/cmake/caches/AMDGPU.cmake' CACHE STRING '')",
|
||||
f"-DRUNTIMES_amdgcn-amd-amdhsa_CACHE_FILES={w.in_llvmsrc('compiler-rt')}/cmake/caches/GPU.cmake\;{w.in_llvmsrc('libcxx')}/cmake/caches/AMDGPU.cmake CACHE STRING '')",
|
||||
]
|
||||
)
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user