[PATCH] D35318: [CMake]Use LLVM_LIBRARY_DIR for lib path.

Petr Hosek via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 13 11:24:26 PDT 2017


phosek added inline comments.


================
Comment at: runtimes/CMakeLists.txt:333
                              CMAKE_ARGS -DCOMPILER_RT_BUILD_BUILTINS=Off
                                         -DLLVM_INCLUDE_TESTS=${LLVM_INCLUDE_TESTS}
                                         -DCMAKE_C_COMPILER_TARGET=${target}
----------------
You also need to set the `LLVM_LIBRARY_DIR` here. I'd like to eventually deduplicate the cross-target and single-target cases to avoid do changes like these in two places.


https://reviews.llvm.org/D35318





More information about the llvm-commits mailing list