summaryrefslogtreecommitdiff
path: root/repo/devel/lld.xibuild
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-05-04 23:52:30 +0100
committerdavidovski <david@davidovski.xyz>2022-05-04 23:52:30 +0100
commit739c65c54cb0e957df5e9b76f93fb02554e5cac3 (patch)
tree09ddfa0a342f3ea9de136cb50abdd79821bf1b53 /repo/devel/lld.xibuild
parent4c585ad54388285500fd18a6aaa516894e0f2c16 (diff)
moved everything to new file formatting
Diffstat (limited to 'repo/devel/lld.xibuild')
-rw-r--r--repo/devel/lld.xibuild29
1 files changed, 0 insertions, 29 deletions
diff --git a/repo/devel/lld.xibuild b/repo/devel/lld.xibuild
deleted file mode 100644
index c2dff7f..0000000
--- a/repo/devel/lld.xibuild
+++ /dev/null
@@ -1,29 +0,0 @@
-#!/bin/sh
-
-NAME="lld"
-DESC="The LLVM Linker"
-
-MAKEDEPS="cmake llvm-libunwind"
-DEPS="musl llvm "
-
-PKG_VER=13.0.0
-SOURCE="https://github.com/llvm/llvm-project/releases/download/llvmorg-$PKG_VER/lld-$PKG_VER.src.tar.xz"
-
-build () {
- cmake -B build \
- -DCMAKE_BUILD_TYPE=MinSizeRel \
- -DCMAKE_VERBOSE_MAKEFILE=OFF \
- -DCMAKE_C_FLAGS_MINSIZEREL_INIT="$CFLAGS" \
- -DCMAKE_CXX_FLAGS_MINSIZEREL_INIT="$CXXFLAGS" \
- -DCMAKE_EXE_LINKER_FLAGS_MINSIZEREL_INIT="$LDFLAGS -Wl,-z,stack-size=2097152" \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DCMAKE_SKIP_INSTALL_RPATH=ON \
- -DLLVM_INCLUDE_TESTS=ON \
- -DLLVM_EXTERNAL_LIT=/usr/bin/lit
- cmake --build build
-}
-
-package () {
- DESTDIR="$PKG_DEST" cmake --install build
- install -Dm 644 docs/ld.lld.1 $PKG_DEST/usr/share/man/man1/
-}