diff options
Diffstat (limited to 'repo/llvm')
-rw-r--r-- | repo/llvm/libclang.xibuild | 1 | ||||
-rw-r--r-- | repo/llvm/llvm.xibuild | 7 |
2 files changed, 8 insertions, 0 deletions
diff --git a/repo/llvm/libclang.xibuild b/repo/llvm/libclang.xibuild index 1acdb84..ba1fcf6 100644 --- a/repo/llvm/libclang.xibuild +++ b/repo/llvm/libclang.xibuild @@ -5,4 +5,5 @@ DESC="$DESC - C frontend runtime library" package () { add_from_main "usr/lib/libclang.so.*" add_from_main "usr/lib/libclang-cpp.so.*" + install -Dm644 llvm/build/lib/libclang.a -t "$PKG_DEST"/usr/lib } diff --git a/repo/llvm/llvm.xibuild b/repo/llvm/llvm.xibuild index 9d42a9c..9634506 100644 --- a/repo/llvm/llvm.xibuild +++ b/repo/llvm/llvm.xibuild @@ -77,6 +77,13 @@ build () { -DLLVM_INCLUDE_EXAMPLES=OFF \ -DLLVM_APPEND_VC_REV=OFF \ -DLLVM_ENABLE_PROJECTS="$enabled_projects" \ + -DCLANG_LINK_CLANG_DYLIB=YES \ + -DCLANG_FORCE_MATCHING_LIBCLANG_SOVERSION=OFF \ + -DCLANG_INCLUDE_TESTS="OFF" \ + -DCLANG_LINK_CLANG_DYLIB=ON \ + -DCLANG_PLUGIN_SUPPORT=ON \ + -DENABLE_LINKER_BUILD_ID=ON \ + -DLIBCLANG_BUILD_STATIC=ON \ -Wno-dev -G Ninja .. && ninja llvm-tblgen && |