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

George Rawlinson grawlinson at gemini.archlinux.org
Sat Jun 18 07:56:36 UTC 2022


    Date: Saturday, June 18, 2022 @ 07:56:36
  Author: grawlinson
Revision: 1238367

upgpkg: mold 1.3.0-1

* New upstream release.
* Use bundled tbb instead of system tbb due to unhandled retry logic.
* New makedepends: cmake (for bundled tbb).
* All tests now pass. \o/

Modified:
  mold/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-06-18 07:41:44 UTC (rev 1238366)
+++ PKGBUILD	2022-06-18 07:56:36 UTC (rev 1238367)
@@ -2,17 +2,19 @@
 # Contributor: Adrian Perez de Castro <aperez at igalia.com>
 
 pkgname=mold
-pkgver=1.2.1
+pkgver=1.3.0
 pkgrel=1
 pkgdesc='A Modern Linker'
 arch=('x86_64')
-url="https://github.com/rui314/mold"
+url='https://github.com/rui314/mold'
 license=('AGPL3')
-depends=('gcc-libs' 'mimalloc' 'openssl' 'zlib' 'tbb') # xxhash is bundled
-makedepends=('git')
+# tbb & xxhash are bundled
+# https://github.com/oneapi-src/oneTBB/pull/824
+depends=('gcc-libs' 'mimalloc' 'openssl' 'zlib')
+makedepends=('git' 'cmake')
 checkdepends=('clang' 'libdwarf')
 options=('debug')
-_commit='c8d8f86a52084c96e2663d9f692c51e98c04cc2f'
+_commit='a9a8205be29f36346bfdbfadee8ed147e06aa1f6'
 source=("$pkgname::git+$url.git#commit=$_commit")
 b2sums=('SKIP')
 
@@ -34,23 +36,16 @@
     -C "$pkgname" \
     PREFIX=/usr \
     LTO=1 \
-    SYSTEM_MIMALLOC=1 \
-    SYSTEM_TBB=1
+    SYSTEM_MIMALLOC=1
 }
 
 check() {
   cd "$pkgname"
 
-  # temporarily remove failing tests
-  for failing_test in exception; do
-    rm -vf "test/elf/$failing_test.sh"
-  done
-
   make \
     PREFIX=/usr \
     LTO=1 \
     SYSTEM_MIMALLOC=1 \
-    SYSTEM_TBB=1 \
     check
 }
 
@@ -60,7 +55,6 @@
     PREFIX=/usr \
     LTO=1 \
     SYSTEM_MIMALLOC=1 \
-    SYSTEM_TBB=1 \
     DESTDIR="$pkgdir" \
     install
 



More information about the arch-commits mailing list