sebastian-ne added inline comments.
================ Comment at: clang/CMakeLists.txt:100 set(LLVM_RUNTIME_OUTPUT_INTDIR ${CMAKE_BINARY_DIR}/${CMAKE_CFG_INTDIR}/bin) - set(LLVM_LIBRARY_OUTPUT_INTDIR ${CMAKE_BINARY_DIR}/${CMAKE_CFG_INTDIR}/lib${LLVM_LIBDIR_SUFFIX}) + set(LLVM_LIBRARY_OUTPUT_INTDIR ${CMAKE_BINARY_DIR}/${CMAKE_CFG_INTDIR}/lib) if(WIN32 OR CYGWIN) ---------------- Ericson2314 wrote: > sebastian-ne wrote: > > Just to check if your intention aligns with my understanding, removing the > > suffix here is fine because the destination is in the binary dir and not > > the final install destination? > Yes exactly. > > I really should write up the "rules" that I've (a) discovered from reading > (b) invented somewhere. Any idea where? I think the commit message is a good place. ================ Comment at: llvm/CMakeLists.txt:59-60 +if (NOT DEFINED CMAKE_INSTALL_LIBDIR AND DEFINED LLVM_LIBDIR_SUFFIX) + message(WARNING "\"LLVM_LIBDIR_SUFFIX\" is deprecated. " + "Please set \"CMAKE_INSTALL_LIBDIR\" directly instead.") + set(CMAKE_INSTALL_LIBDIR "lib${LLVM_LIBDIR_SUFFIX}") ---------------- There’s also `message(DEPRECATION …)` :) Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D130586/new/ https://reviews.llvm.org/D130586 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits