[PATCH] D57404: build: remove use of llvm-config

2019-02-01 Thread Michał Górny via Phabricator via cfe-commits
mgorny added a comment. Herald added a project: clang. Could you please update this to match the LLD version? Repository: rC Clang CHANGES SINCE LAST ACTION https://reviews.llvm.org/D57404/new/ https://reviews.llvm.org/D57404 ___ cfe-commits

[PATCH] D57404: build: remove use of llvm-config

2019-01-29 Thread Michał Górny via Phabricator via cfe-commits
mgorny added a comment. I don't think that's going to work on top of unconfigured sources. Repository: rC Clang CHANGES SINCE LAST ACTION https://reviews.llvm.org/D57404/new/ https://reviews.llvm.org/D57404 ___ cfe-commits mailing list

[PATCH] D57404: build: remove use of llvm-config

2019-01-29 Thread Saleem Abdulrasool via Phabricator via cfe-commits
compnerd added a comment. @mgorny, no, you should specify `-DLLVM_DIR=/path/to/where/the/config/lives` instead. Repository: rC Clang CHANGES SINCE LAST ACTION https://reviews.llvm.org/D57404/new/ https://reviews.llvm.org/D57404 ___

[PATCH] D57404: build: remove use of llvm-config

2019-01-29 Thread Michał Górny via Phabricator via cfe-commits
mgorny added a comment. Will overriding `LLVM_BUILD_MAIN_SRC_DIR` work? Gentoo relies on being able to provide sources in another directory since all builds are done in isolated temporary directories. Repository: rC Clang CHANGES SINCE LAST ACTION https://reviews.llvm.org/D57404/new/

[PATCH] D57404: build: remove use of llvm-config

2019-01-29 Thread Saleem Abdulrasool via Phabricator via cfe-commits
compnerd created this revision. compnerd added reviewers: chandlerc, rnk. Herald added a subscriber: mgorny. Update the CMake build to use the LLVM CMake Config package rather than invoking `llvm-config` to find the parameters. Users can specify `-DLLVM_DIR=` to CMake to indicate where the