diff options
author | davidovski <david@davidovski.xyz> | 2022-05-17 19:10:55 +0100 |
---|---|---|
committer | davidovski <david@davidovski.xyz> | 2022-05-17 19:10:55 +0100 |
commit | 50fb6c032e72a26b3fd881a18e1d1f535c95e0fc (patch) | |
tree | 67e7043022f14f601dddd87be911d38a4d58269c /repo/devel/compiler-rt/compiler-rt.xibuild | |
parent | 213021de0aaf5439db7d58ca1447db4ae6af92be (diff) |
fixed packages for llvm based toolchain
Diffstat (limited to 'repo/devel/compiler-rt/compiler-rt.xibuild')
-rw-r--r-- | repo/devel/compiler-rt/compiler-rt.xibuild | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/repo/devel/compiler-rt/compiler-rt.xibuild b/repo/devel/compiler-rt/compiler-rt.xibuild deleted file mode 100644 index abff3dc..0000000 --- a/repo/devel/compiler-rt/compiler-rt.xibuild +++ /dev/null @@ -1,38 +0,0 @@ -#!/bin/sh - -NAME="compiler-rt" -DESC="LLVM compiler-rt runtime libraries" - -MAKEDEPS="cmake libexecinfo" -DEPS="musl " - -PKG_VER=13.0.0 -SOURCE="https://github.com/llvm/llvm-project/releases/download/llvmorg-$PKG_VER/compiler-rt-$PKG_VER.src.tar.xz" -ADDITIONAL="link-execinfo.patch " - -prepare () { - apply_patches -} - -build () { - cmake -B build \ - -DCMAKE_INSTALL_PREFIX=/usr \ - -DCMAKE_INSTALL_LIBDIR=/usr/lib \ - -DBUILD_SHARED_LIBS=True \ - -DBUILD_STATIC_LIBS=OFF \ - -DCMAKE_C_COMPILER=clang \ - -DCMAKE_CXX_COMPILER=clang++ \ - -DCMAKE_BUILD_TYPE=MinSizeRel \ - -DCMAKE_INSTALL_PREFIX=/usr \ - -DCOMPILER_RT_INCLUDE_TESTS=OFF \ - -DCOMPILER_RT_BUILD_SANITIZERS=ON \ - -DCOMPILER_RT_BUILD_XRAY=ON \ - -DCOMPILER_RT_INSTALL_PATH="/usr/lib/clang/$PKG_VER" \ - -DLLVM_EXTERNAL_LIT="/usr/bin/lit" \ - - cmake --build build -} - -package () { - DESTDIR="$PKG_DEST" cmake --install build -} |