[all-commits] [llvm/llvm-project] 4b1fe0: [libc++] Simplify the conditions for generating a ...
Louis Dionne via All-commits
all-commits at lists.llvm.org
Thu Nov 23 07:15:17 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 4b1fe097f9a3882f437bc3b829ef02331e28a8d6
https://github.com/llvm/llvm-project/commit/4b1fe097f9a3882f437bc3b829ef02331e28a8d6
Author: Louis Dionne <ldionne.2 at gmail.com>
Date: 2023-11-23 (Thu, 23 Nov 2023)
Changed paths:
M libcxx/CMakeLists.txt
Log Message:
-----------
[libc++] Simplify the conditions for generating a linker script (#73151)
We really shouldn't be depending on far away configuration options like
LLVM_HAVE_LINK_VERSION_SCRIPT here. This patch simplifies the enablement
of the linker scripts and as a result gets rid of an undesirable
dependency on HandleLLVMOptions.cmake.
As a drive-by, the patch also stops taking into account whether Python3
is available. This should have no bearing on whether we generate a
linker script or not, which is required for correctness. If someone
tries to build libc++ and generate a linker script but Python3 is not
available, they should get an error instead of silently getting an
incorrect installation of the library.
More information about the All-commits
mailing list