[PATCH] D145619: extend llvm variables for build flexibility

Shoaib Meenai via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 8 19:27:29 PST 2023


smeenai added a comment.

One other alternative for Rust to consider would be to support building as part of an LLVM build using `LLVM_EXTERNAL_PROJECTS` and `LLVM_EXTERNAL_<PROJECT>_SOURCE_DIR`, so that Rust becomes part of the LLVM build graph and can easily access its targets. See https://github.com/apple/swift/blob/c95e11c011e5e6ee19f9c21332ff04df29dd49db/cmake/modules/SwiftSharedCMakeConfig.cmake#L269 for how Swift does it.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D145619/new/

https://reviews.llvm.org/D145619



More information about the llvm-commits mailing list