[libcxx-commits] [PATCH] D97341: [libc++] Use generator expression to simplify the CMake code

Mark de Wever via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Tue Feb 23 23:05:38 PST 2021


Mordante added inline comments.


================
Comment at: libcxx/src/CMakeLists.txt:382
 if (LIBCXX_ENABLE_SHARED AND LIBCXX_ENABLE_ABI_LINKER_SCRIPT)
-  # Replace the libc++ filename with $<TARGET_LINKER_FILE:cxx>
-  # after we required CMake 3.0.
-  install(FILES "${LIBCXX_LIBRARY_DIR}/libc++${CMAKE_SHARED_LIBRARY_SUFFIX}"
+  install(FILES "$<TARGET_LINKER_FILE:cxx>"
     DESTINATION ${LIBCXX_INSTALL_PREFIX}${LIBCXX_INSTALL_LIBRARY_DIR}
----------------
Buildkite fails with " Target "cxx" is not an executable or library.", so seem the target is no longer valid.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D97341



More information about the libcxx-commits mailing list