Therefore move some code into reusable macros.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
This isn't the right solution here. We should instead make the builtins build load LLVMConfig.cmake (if available) and construct the value from the TARGET_TRIPLE the same way the sanitizer build does. If LLVMConfig.cmake isn't available we should make the builtin build error out during configuration that it needs the TARGET_TRIPLE specified.
-Chris
Comment Actions
Hi Chris,
I'm absolutely no CMake expert, but the changes seem to work for me.
Thanks,
Jonas