[libc-commits] [PATCH] D105740: Remove `LIBC_INSTALL_PREFIX`

John Ericson via Phabricator via libc-commits libc-commits at lists.llvm.org
Wed Jul 21 16:07:54 PDT 2021


This revision was automatically updated to reflect the committed changes.
Closed by commit rGe7fe4433f822: Remove `LIBC_INSTALL_PREFIX` (authored by Ericson2314).

Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D105740

Files:
  libc/CMakeLists.txt
  libc/lib/CMakeLists.txt


Index: libc/lib/CMakeLists.txt
===================================================================
--- libc/lib/CMakeLists.txt
+++ libc/lib/CMakeLists.txt
@@ -12,7 +12,7 @@
 
 install(
   TARGETS llvmlibc
-  ARCHIVE DESTINATION ${LIBC_INSTALL_PREFIX}/${LIBC_INSTALL_LIBRARY_DIR}
+  ARCHIVE DESTINATION "${LIBC_INSTALL_LIBRARY_DIR}"
   COMPONENT llvmlibc
 )
 
Index: libc/CMakeLists.txt
===================================================================
--- libc/CMakeLists.txt
+++ libc/CMakeLists.txt
@@ -14,8 +14,6 @@
 # Path libc/scripts directory.
 set(LIBC_BUILD_SCRIPTS_DIR "${LIBC_SOURCE_DIR}/utils/build_scripts")
 
-set(LIBC_INSTALL_PREFIX ${CMAKE_INSTALL_PREFIX} CACHE PATH "Define libc destination prefix.")
-
 set(LIBC_TARGET_OS ${CMAKE_SYSTEM_NAME})
 string(TOLOWER ${LIBC_TARGET_OS} LIBC_TARGET_OS)
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D105740.360632.patch
Type: text/x-patch
Size: 815 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libc-commits/attachments/20210721/490eb84f/attachment.bin>


More information about the libc-commits mailing list