[all-commits] [llvm/llvm-project] 3c42a7: [BOLT] Fix handling of LLVM_LIBDIR_SUFFIX (#122874)
Nikita Popov via All-commits
all-commits at lists.llvm.org
Fri Jan 17 00:38:22 PST 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 3c42a774569ee06fb02ce00e2d2d2ce517c894f3
https://github.com/llvm/llvm-project/commit/3c42a774569ee06fb02ce00e2d2d2ce517c894f3
Author: Nikita Popov <npopov at redhat.com>
Date: 2025-01-17 (Fri, 17 Jan 2025)
Changed paths:
M bolt/CMakeLists.txt
M bolt/runtime/CMakeLists.txt
Log Message:
-----------
[BOLT] Fix handling of LLVM_LIBDIR_SUFFIX (#122874)
This fixes a number of issues introduced in #97130 when
LLVM_LIBDIR_SUFFIX is a non-empty string. Make sure that the libdir is
always referenced as `lib${LLVM_LIBDIR_SUFFIX}`, not as just `lib` or
`${CMAKE_INSTALL_LIBDIR}${LLVM_LIBDIR_SUFFIX}`.
This is the standard libdir convention for all LLVM subprojects. Using
`${CMAKE_INSTALL_LIBDIR}${LLVM_LIBDIR_SUFFIX}` would result in a
duplicate suffix.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list