llvm-project/llvm
John Ericson 7f9e6f6fa6 [llvm][cmake] Make `install_symlink` workflow work with absolute install dirs
If `CMAKE_INSTALL_BINDIR` is a different absolute path per project, as
it is with NixOS when we install every package to its own prefix, the
old way fails when the absolute path gets prepended with `CMAKE_INSTALL_PREFIX`.

The `extend_path` function does what we want, but it is currently internal-only. So easier to just inline the one small case of it we need.

Also fix one stray `bin` -> `CMAKE_INSTALL_BINDIR`

Reviewed By: sebastian-ne

Differential Revision: https://reviews.llvm.org/D101070
2022-07-26 03:14:46 +00:00
..
benchmarks
bindings [IR] Remove support for float binop constant expressions 2022-07-12 09:40:49 +02:00
cmake [llvm][cmake] Make `install_symlink` workflow work with absolute install dirs 2022-07-26 03:14:46 +00:00
docs [Kaleidoscope] Fix DWARF function creation example 2022-07-25 18:19:59 +00:00
examples [Kaleidoscope] Remove unused function argument 2022-06-30 20:47:01 +00:00
include [IRBuilder] Add assert for AtomicRMW ordering 2022-07-25 22:51:25 +00:00
lib [DAGCombiner] Teach scalarizeExtractedBinop to support scalable splat. 2022-07-26 09:31:45 +08:00
projects
resources
runtimes
test [DAGCombiner] Teach scalarizeExtractedBinop to support scalable splat. 2022-07-26 09:31:45 +08:00
tools [llvm-objdump,ARM] Fix .byte directives dumping the wrong byte. 2022-07-25 14:55:33 +01:00
unittests Fix assertion in SmallDenseMap constructor with reserve from non-power-of-2 buckets count 2022-07-25 17:09:44 +00:00
utils [llvm] Remove redundaunt virtual specifiers (NFC) 2022-07-24 21:50:35 -07:00
.clang-format
.clang-tidy
.gitattributes
.gitignore
CMakeLists.txt [llvm] add zstd to `llvm::compression` namespace 2022-07-19 10:54:36 -07:00
CODE_OWNERS.TXT
CREDITS.TXT
LICENSE.TXT
README.txt
RELEASE_TESTERS.TXT
configure
llvm.spec.in

README.txt

The LLVM Compiler Infrastructure
================================

This directory and its subdirectories contain source code for LLVM,
a toolkit for the construction of highly optimized compilers,
optimizers, and runtime environments.

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

Please see the documentation provided in docs/ for further
assistance with LLVM, and in particular docs/GettingStarted.rst for getting
started with LLVM and docs/README.txt for an overview of LLVM's
documentation setup.

If you are writing a package for LLVM, see docs/Packaging.rst for our
suggestions.