[libc-commits] [PATCH] D129041: Use add_llvm_install_targets for install-llvmlibc

Jeff Bailey via Phabricator via libc-commits libc-commits at lists.llvm.org
Mon Jul 4 10:18:48 PDT 2022


This revision was automatically updated to reflect the committed changes.
Closed by commit rGbc70ba814dc1: Use add_llvm_install_targets for install-llvmlibc (authored by jeffbailey).

Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D129041

Files:
  libc/lib/CMakeLists.txt


Index: libc/lib/CMakeLists.txt
===================================================================
--- libc/lib/CMakeLists.txt
+++ libc/lib/CMakeLists.txt
@@ -16,9 +16,8 @@
   COMPONENT llvmlibc
 )
 
-add_custom_target(
-    install-llvmlibc
-    DEPENDS llvmlibc
-    COMMAND "${CMAKE_COMMAND}" -DCMAKE_INSTALL_COMPONENT=llvmlibc
-            -P "${LIBC_BINARY_DIR}/cmake_install.cmake"
+add_llvm_install_targets(
+  install-llvmlibc
+  DEPENDS llvmlibc
+  COMPONENT llvmlibc
 )


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D129041.442120.patch
Type: text/x-patch
Size: 480 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libc-commits/attachments/20220704/2b485225/attachment.bin>


More information about the libc-commits mailing list