[all-commits] [llvm/llvm-project] 26e2c9: [openmp] [elf_common] Fix linking against LLVM dylib
Michał Górny via All-commits
all-commits at lists.llvm.org
Wed Oct 27 08:35:40 PDT 2021
Branch: refs/heads/release/13.x
Home: https://github.com/llvm/llvm-project
Commit: 26e2c97bf14c1105f8db3a087ea8994c776a18bc
https://github.com/llvm/llvm-project/commit/26e2c97bf14c1105f8db3a087ea8994c776a18bc
Author: Michał Górny <mgorny at moritz.systems>
Date: 2021-10-27 (Wed, 27 Oct 2021)
Changed paths:
M openmp/libomptarget/plugins/common/elf_common/CMakeLists.txt
Log Message:
-----------
[openmp] [elf_common] Fix linking against LLVM dylib
The hand-rolled linking logic in elf_common does not account for
the possibility of using LLVM dylib rather than a dozen static
libraries. Since it does not seem to be easily convertible
to add_llvm_library, just hand-roll support for LLVM_LINK_LLVM_DYLIB.
This is necessary to support stand-alone builds against installed LLVM.
Differential Revision: https://reviews.llvm.org/D111038
(cherry picked from commit 0873b9bef4e03b4cfc44a4946c11103c763055df)
More information about the All-commits
mailing list