D106236 added a new CMake argument for libomptarget test, but when user's
input contains white spaces, CMake will add escape char to the final lit command,
which leads to an error. This patch converts the user's input LIBOMPTARGET_LIT_ARGS
into a local array, and then passes the array to the function.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
openmp/libomptarget/test/CMakeLists.txt | ||
---|---|---|
17 | I think everything is global in cmake, so this will overwrite any other value of LIT_ARGS. If so, this probably needs to be spelled LIBOMPTARGET_LIT_ARGS_SANITIZED or similar |
I think everything is global in cmake, so this will overwrite any other value of LIT_ARGS. If so, this probably needs to be spelled LIBOMPTARGET_LIT_ARGS_SANITIZED or similar