[PATCH] D32835: [compiler-rt] [cmake] Support generic installation

Jonathan Roelofs via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon May 15 08:15:15 PDT 2017


jroelofs added a comment.

One way to solve the naming issue is to side-step it, and instead add cmake a option to set `COMPILER_RT_LIBRARY_INSTALL_DIR` directly.

Something like:

  set(COMPILER_RT_LIBRARY_INSTALL_DIR "" CACHE PATH "compiler-rt library install path")



  if (NOT COMPILER_RT_LIBRARY_INSTALL_DIR)
    set(COMPILER_RT_LIBRARY_INSTALL_DIR
      ${COMPILER_RT_INSTALL_PATH}/lib/${COMPILER_RT_OS_DIR})
  endif()


https://reviews.llvm.org/D32835





More information about the llvm-commits mailing list