llvm / llvm-project

The LLVM Project is a collection of modular and reusable compiler and toolchain technologies.
http://llvm.org
Other
27.85k stars 11.47k forks source link

bolt_rt doesn't passthrough all necessary CMake variables #62748

Open petrhosek opened 1 year ago

petrhosek commented 1 year ago

bolt_rt build uses ExternalProject_Add but it doesn't passthrough all necessary CMake variables such as CMAKE_SYROOT which can break the build when cross-compiling. It also results in the artifacts being installed in a wrong location when CMAKE_INSTALL_PREFIX and DESTDIR is being used.

llvmbot commented 1 year ago

@llvm/issue-subscribers-bolt