[PATCH] D72109: [cmake] Use relative cmake binary dir for processing pass plugins
Michał Górny via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Feb 14 05:28:41 PST 2020
mgorny added a comment.
This broke standalone build of clang. It's trying to write into `/include` (as in, root directory) now! My guess is that `LLVM_BINARY_DIR` is undefined at this point of standalone build, later it might be defined to point to directory where LLVM was installed which also wouldn't be correct.
* ACCESS DENIED: mkdir: /include
CMake Error at /usr/lib/llvm/11/lib64/cmake/llvm/AddLLVM.cmake:894 (file):
file failed to open for writing (No such file or directory):
/include/llvm/Support/Extension.def.tmp
Call Stack (most recent call first):
CMakeLists.txt:867 (process_llvm_pass_plugins)
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D72109/new/
https://reviews.llvm.org/D72109
More information about the llvm-commits
mailing list