Since 64-bit XCOFF and the big AR format is not yet supported in some of these tools, this patch avoids additional setup of these tools. This patch is not intended to prevent picking up the LLVM tools if they happen to be available otherwise.
Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
@daltenty, if these tools happened to be on the user's $PATH, then would they get picked up? Is that the desired behaviour?
(summarizing offline discussion)
This isn't an exclusive problem to the runtime build, other parts of the llvm build may try to grab them for other purposes if they are on the users path. We can probably safely go with, if the user intentionally put them on their PATH they intended to use them for now.
This is hopefully a temporary workaround anyhow till XCOFF64 tool support matures.
This change broke our toolchain build with the following error:
CMake Error at runtimes/CMakeLists.txt:500 (llvm_ExternalProject_Add): Syntax error in cmake code at /b/s/w/ir/k/llvm-project/llvm/runtimes/CMakeLists.txt:518 when parsing string ${{name}_toolchain_tools} Invalid character ('{') in a variable name: '' Call Stack (most recent call first): runtimes/CMakeLists.txt:565 (runtime_register_target)
Is it possible to quickly address the issue or revert the change?
llvm/runtimes/CMakeLists.txt | ||
---|---|---|
295 | There is a curly brace missing. |
@phosek, I don't think this is affecting the bots that are live for AIX at this time, so I've reverted the change and we'll make another attempt later.
There is a curly brace missing.