[all-commits] [llvm/llvm-project] 14696b: [AIX] Update rpath for BUILD_SHARED_LIBS
jsji via All-commits
all-commits at lists.llvm.org
Sat Mar 20 13:32:10 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 14696baaf4c43fe53f738bc292bbe169eed93d5d
https://github.com/llvm/llvm-project/commit/14696baaf4c43fe53f738bc292bbe169eed93d5d
Author: Jinsong Ji <jji at us.ibm.com>
Date: 2021-03-20 (Sat, 20 Mar 2021)
Changed paths:
M llvm/cmake/modules/AddLLVM.cmake
M llvm/cmake/modules/HandleLLVMOptions.cmake
Log Message:
-----------
[AIX] Update rpath for BUILD_SHARED_LIBS
BUILD_SHARED_LIBS build llvm component as shared library,
which can reduce the size a lot.
Normally, the binary use ORIGIN../lib to load component libraries,
unfortunatly, ORIGIN is not supported by AIX ld.
We hardcoded the build lib and install lib path in rpath for now
to enable BUILD_SHARED_LIBS build.
Understand that this is not perfect solution,
we can update this when we find better solution.
Reviewed By: hubert.reinterpretcast
Differential Revision: https://reviews.llvm.org/D98901
More information about the All-commits
mailing list