Replace the obsolete LLVM_CONFIG_PATH uses with LLVM_CMAKE_DIR in case
of compiler-rt, or remove it entirely in case of libcxxabi (as it was
removed a while ago, so the statement was not doing naything). The last
use of LLVM_CONFIG_PATH was deprecated in D137024.
Details
Diff Detail
- Repository
- rZORG LLVM Github Zorg
Event Timeline
D137024 provides backwards compatibility for LLVM_CONFIG_PATH, so we don't have to sync these changes. The idea is to push this one some time later to avoid reverts.
zorg/buildbot/builders/annotated/ve-linux-steps.make | ||
---|---|---|
215 | Why is it OK to omit LLVM_CMAKE_DIR here? | |
zorg/buildbot/builders/sanitizers/buildbot_cmake.sh | ||
239 | I'd prefer updating this variable to point to ${ROOT}/llvm_build64 (potentially renaming it as well) and then updating all its uses below to avoid duplicating this path. | |
zorg/buildbot/builders/sanitizers/buildbot_qemu.sh | ||
212 | The same here, I'd prefer updating this variable to point to ${STAGE2_DIR} and then updating its uses below to avoid confusion. |
zorg/buildbot/builders/annotated/ve-linux-steps.make | ||
---|---|---|
215 | Because libcxxabi didn't support LLVM_CONFIG_PATH already, so it mustn't have done anything. |
Thanks for letting me know and for the attempted fix. I'd have tried the same thing, so hopefully it'll work.
It didn't seem to have worked. I don't really have an idea what's wrong there. Should I revert or do you have something else to try?
Already fixed. https://github.com/llvm/llvm-zorg/commit/5f14d865d0c06e47dfdc68219faa2c8e4d10125d
I realized that your patch missed "cd" above, but my "readlink" was too late as well.
Thanks a lot. Yeah, it didn't occur to me that the cwd could have changed at that point.
Why is it OK to omit LLVM_CMAKE_DIR here?