llvm-project/libc
John Ericson e7fe4433f8 Remove `LIBC_INSTALL_PREFIX`
This matches the decision made in D99697.

It also shouldn't reintroduce the issue fixed in D99636.

The variable was originally introduced in
b22f448c21 but is not essential to that
change.

Once we finish adding `GnuInstallDirs` support in D100810 and D99484,
setting `CMAKE_INSTALL_LIBDIR` would also work to change the
installation directory (though for more than libc).

`GnuInstallDirs` support also brings up an issue which is avoided if
variables like `LIBC_INSTALL_PREFIX` don't exist. Because the
`GnuInstallDirs` variables can be absolute paths, it is a bit unclear
how the per-project prefixes would work: does the project-agnostic
role-specific variable (e.g. `CMAKE_INSTALL_LIBDIR`), or project-specfic
role-agnostic (e.g. `LIBC_INSTALL_PREFIX`) take priority? Each is more
specific than the other on one axis, but not the other.

Reviewed By: phosek

Differential Revision: https://reviews.llvm.org/D105740
2021-07-21 23:07:36 +00:00
..
AOR_v20.02 Harmonize Python shebang 2020-07-16 21:53:45 +02:00
benchmarks [libc] update benchmark distributions 2021-07-13 09:59:25 +00:00
cmake/modules [libc] Don't pass -fpie/-ffreestanding on Windows 2021-07-13 20:39:51 +00:00
config [libc] Include nextafter's functions to Windows's entrypoints 2021-07-21 13:28:01 +00:00
docs [libc] Add documentation for clang-tidy checks. 2020-07-06 18:15:35 -07:00
fuzzing [libc] Remove libc-fuzzer as a dependency to check-libc. 2021-06-10 05:06:03 +00:00
include [libc][NFC][Obvious] Add a missing dep. 2021-01-18 22:04:20 -08:00
lib Remove `LIBC_INSTALL_PREFIX` 2021-07-21 23:07:36 +00:00
loader [libc] Normalize LIBC_TARGET_MACHINE 2021-05-05 15:52:42 +00:00
spec [libc] Add implementation of expm1f. 2021-06-10 14:58:34 -04:00
src [LIBC] Add an optimized memcmp implementation for AArch64 2021-07-07 15:59:14 +01:00
test [libc] Include nextafter's functions to Windows's entrypoints 2021-07-21 13:28:01 +00:00
utils [libc] Exclude few unused bits from x86 state for Windows 2021-07-21 13:11:10 +00:00
CMakeLists.txt Remove `LIBC_INSTALL_PREFIX` 2021-07-21 23:07:36 +00:00
LICENSE.TXT Rename top-level LICENSE.txt files to LICENSE.TXT 2021-03-10 21:26:24 -08:00
README.txt

README.txt

LLVM libc
=========

This directory and its subdirectories contain source code for llvm-libc,
a retargetable implementation of the C standard library.

LLVM is open source software. You may freely distribute it under the terms of
the license agreement found in LICENSE.txt.