diff options
author | davidovski <david@davidovski.xyz> | 2022-05-18 09:56:56 +0100 |
---|---|---|
committer | davidovski <david@davidovski.xyz> | 2022-05-18 09:56:56 +0100 |
commit | 4cfc98e1be889f359613a54010b67e13c673e4ab (patch) | |
tree | 085c6f015955435d1138078984a897491b1b1e37 /repo/devel/lld | |
parent | da500224f138f6d4800d248c24228987a0a149de (diff) | |
parent | dccab9b94dcfc5e040647210ba22b9cc4bddc742 (diff) |
Merge branch 'master' of git.cheetah.remote:xilinux/buildfiles
Diffstat (limited to 'repo/devel/lld')
-rw-r--r-- | repo/devel/lld/lld.xibuild | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/repo/devel/lld/lld.xibuild b/repo/devel/lld/lld.xibuild deleted file mode 100644 index c2dff7f..0000000 --- a/repo/devel/lld/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/ -} |