summaryrefslogtreecommitdiff
path: root/repo/devel/compiler-rt
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-05-18 09:56:56 +0100
committerdavidovski <david@davidovski.xyz>2022-05-18 09:56:56 +0100
commit4cfc98e1be889f359613a54010b67e13c673e4ab (patch)
tree085c6f015955435d1138078984a897491b1b1e37 /repo/devel/compiler-rt
parentda500224f138f6d4800d248c24228987a0a149de (diff)
parentdccab9b94dcfc5e040647210ba22b9cc4bddc742 (diff)
Merge branch 'master' of git.cheetah.remote:xilinux/buildfiles
Diffstat (limited to 'repo/devel/compiler-rt')
-rw-r--r--repo/devel/compiler-rt/compiler-rt.xibuild38
-rw-r--r--repo/devel/compiler-rt/link-execinfo.patch11
2 files changed, 0 insertions, 49 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
-}
diff --git a/repo/devel/compiler-rt/link-execinfo.patch b/repo/devel/compiler-rt/link-execinfo.patch
deleted file mode 100644
index 8da49fb..0000000
--- a/repo/devel/compiler-rt/link-execinfo.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- a/lib/scudo/standalone/CMakeLists.txt
-+++ b/lib/scudo/standalone/CMakeLists.txt
-@@ -137,6 +137,8 @@
-
- append_list_if(FUCHSIA zircon SCUDO_LINK_LIBS)
-
-+list(APPEND SCUDO_LINK_LIBS execinfo)
-+
- if(COMPILER_RT_HAS_SCUDO_STANDALONE)
- add_compiler_rt_object_libraries(RTScudoStandalone
- ARCHS ${SCUDO_STANDALONE_SUPPORTED_ARCH}