Issue 184407
Summary Configuring compiler-rt fails when C compiler path contains spaces
Labels new issue
Assignees
Reporter oold
    The following error is emitted during configuration:
```
CMake Error at cmake/Modules/CheckSectionExists.cmake:72 (message):
Call Stack (most recent call first):
 lib/builtins/CMakeLists.txt:1025 (check_section_exists)
```

This occurs because all spaces in `test_compile_command` are replaced with `;` [here](https://github.com/llvm/llvm-project/blob/6b040b0dee9cb8b38e56dbcb7e51182a62703e05/compiler-rt/cmake/Modules/CheckSectionExists.cmake#L61). It breaks the build with a default installation of LLVM on Windows (install path `C:\Program Files\LLVM`).
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to