[arch-commits] Commit in mold/trunk (PKGBUILD)

George Rawlinson grawlinson at gemini.archlinux.org
Sun Jun 19 08:49:28 UTC 2022


    Date: Sunday, June 19, 2022 @ 08:49:27
  Author: grawlinson
Revision: 1238604

upgpkg: mold 1.3.0-2

* Add depends: tbb (use patched system package).
* Add makedepends: python (for correct symlinking of ld).
* Remove makedepends: cmake (no more bundled tbb).

Modified:
  mold/trunk/PKGBUILD

----------+
 PKGBUILD |   16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-06-19 08:45:00 UTC (rev 1238603)
+++ PKGBUILD	2022-06-19 08:49:27 UTC (rev 1238604)
@@ -3,15 +3,14 @@
 
 pkgname=mold
 pkgver=1.3.0
-pkgrel=1
+pkgrel=2
 pkgdesc='A Modern Linker'
 arch=('x86_64')
 url='https://github.com/rui314/mold'
 license=('AGPL3')
-# tbb & xxhash are bundled
-# https://github.com/oneapi-src/oneTBB/pull/824
-depends=('gcc-libs' 'mimalloc' 'openssl' 'zlib')
-makedepends=('git' 'cmake')
+# xxhash is bundled
+depends=('gcc-libs' 'mimalloc' 'openssl' 'zlib' 'tbb')
+makedepends=('git' 'python')
 checkdepends=('clang' 'libdwarf')
 options=('debug')
 _commit='a9a8205be29f36346bfdbfadee8ed147e06aa1f6'
@@ -36,7 +35,8 @@
     -C "$pkgname" \
     PREFIX=/usr \
     LTO=1 \
-    SYSTEM_MIMALLOC=1
+    SYSTEM_MIMALLOC=1 \
+    SYSTEM_TBB=1
 }
 
 check() {
@@ -46,6 +46,7 @@
     PREFIX=/usr \
     LTO=1 \
     SYSTEM_MIMALLOC=1 \
+    SYSTEM_TBB=1 \
     check
 }
 
@@ -55,8 +56,7 @@
     PREFIX=/usr \
     LTO=1 \
     SYSTEM_MIMALLOC=1 \
+    SYSTEM_TBB=1 \
     DESTDIR="$pkgdir" \
     install
-
-  ln -vsf /usr/bin/mold "$pkgdir/usr/lib/mold/ld"
 }



More information about the arch-commits mailing list