Date: Saturday, January 21, 2023 @ 06:56:24
  Author: grawlinson
Revision: 1387244

archrelease: copy trunk to community-x86_64

Added:
  mold/repos/community-x86_64/PKGBUILD
    (from rev 1387243, mold/trunk/PKGBUILD)
Deleted:
  mold/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |  100 ++++++++++++++++++++++++++++++++-----------------------------
 1 file changed, 53 insertions(+), 47 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD    2023-01-21 06:55:31 UTC (rev 1387243)
+++ PKGBUILD    2023-01-21 06:56:24 UTC (rev 1387244)
@@ -1,47 +0,0 @@
-# Maintainer: George Rawlinson <[email protected]>
-# Contributor: Adrian Perez de Castro <[email protected]>
-
-pkgname=mold
-pkgver=1.9.0
-pkgrel=1
-_commit='ad0b6d0ac6a9b269935c3fbf4dae2815395431a4'
-pkgdesc='A Modern Linker'
-arch=('x86_64')
-url='https://github.com/rui314/mold'
-license=('AGPL3')
-# xxhash is bundled
-depends=('gcc-libs' 'mimalloc' 'openssl' 'zlib' 'tbb')
-makedepends=('git' 'python' 'cmake' 'mold')
-checkdepends=('clang' 'libdwarf')
-options=('debug')
-source=("$pkgname::git+$url.git#commit=$_commit")
-b2sums=('SKIP')
-
-pkgver() {
-  cd "$pkgname"
-
-  git describe --tags | sed 's/^v//'
-}
-
-build() {
-  cmake \
-  -S "$pkgname" \
-  -B build \
-  -D CMAKE_BUILD_TYPE='None' \
-  -D CMAKE_INSTALL_PREFIX='/usr' \
-  -D CMAKE_INSTALL_LIBEXECDIR='lib' \
-  -D MOLD_USE_SYSTEM_MIMALLOC=ON \
-  -D MOLD_USE_SYSTEM_TBB=ON \
-  -D MOLD_LTO=ON \
-  -D MOLD_USE_MOLD=ON
-
-  cmake --build build
-}
-
-check() {
-  ctest --test-dir build --output-on-failure
-}
-
-package() {
-  DESTDIR="$pkgdir" cmake --install build
-}

Copied: mold/repos/community-x86_64/PKGBUILD (from rev 1387243, 
mold/trunk/PKGBUILD)
===================================================================
--- PKGBUILD                            (rev 0)
+++ PKGBUILD    2023-01-21 06:56:24 UTC (rev 1387244)
@@ -0,0 +1,53 @@
+# Maintainer: George Rawlinson <[email protected]>
+# Contributor: Adrian Perez de Castro <[email protected]>
+
+pkgname=mold
+pkgver=1.10.0
+pkgrel=1
+_commit='c935d6387afe1f7d78402ee466e731564d4ba187'
+pkgdesc='A Modern Linker'
+arch=('x86_64')
+url='https://github.com/rui314/mold'
+license=('AGPL3')
+# xxhash is bundled
+depends=('gcc-libs' 'mimalloc' 'openssl' 'zlib' 'tbb')
+makedepends=('git' 'python' 'cmake' 'mold')
+checkdepends=('clang' 'libdwarf')
+source=("$pkgname::git+$url.git#commit=$_commit")
+b2sums=('SKIP')
+
+pkgver() {
+  cd "$pkgname"
+
+  git describe --tags | sed 's/^v//'
+}
+
+prepare() {
+  cd "$pkgname"
+
+  # https://github.com/rui314/mold/issues/969
+  git cherry-pick --no-commit 7e6554677f3183da599f9699d78600da239d1508
+}
+
+build() {
+  cmake \
+  -S "$pkgname" \
+  -B build \
+  -D CMAKE_BUILD_TYPE='None' \
+  -D CMAKE_INSTALL_PREFIX='/usr' \
+  -D CMAKE_INSTALL_LIBEXECDIR='lib' \
+  -D MOLD_USE_SYSTEM_MIMALLOC=ON \
+  -D MOLD_USE_SYSTEM_TBB=ON \
+  -D MOLD_LTO=ON \
+  -D MOLD_USE_MOLD=ON
+
+  cmake --build build
+}
+
+check() {
+  ctest --test-dir build --output-on-failure
+}
+
+package() {
+  DESTDIR="$pkgdir" cmake --install build
+}

Reply via email to