mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
mold: update to 2.4.1
Use system tbb now that we have a recent enough version.
This commit is contained in:
parent
0d538f7e6d
commit
333405e109
2 changed files with 8 additions and 8 deletions
|
@ -8,10 +8,10 @@ index 8d5407a827f..8299c1dd7ac 100644
|
||||||
esac
|
esac
|
||||||
}
|
}
|
||||||
|
|
||||||
-if [ -z "$HOST" ]; then
|
-if [ -z "$MACHINE" ]; then
|
||||||
+if [ -n "$XBPS_TARGET_MACHINE" ]; then
|
+if [ -n "$XBPS_TARGET_MACHINE" ]; then
|
||||||
+ HOST=$(canonical_name "${XBPS_TARGET_MACHINE%-musl}")
|
+ MACHINE=$(canonical_name "${XBPS_TARGET_MACHINE%-musl}")
|
||||||
+else
|
+else
|
||||||
HOST=$(canonical_name $(uname -m))
|
MACHINE=$(canonical_name $(uname -m))
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
|
@ -1,11 +1,10 @@
|
||||||
# Template file for 'mold'
|
# Template file for 'mold'
|
||||||
pkgname=mold
|
pkgname=mold
|
||||||
version=2.4.0
|
version=2.4.1
|
||||||
revision=1
|
revision=1
|
||||||
build_style=cmake
|
build_style=cmake
|
||||||
configure_args="-DMOLD_USE_SYSTEM_MIMALLOC=ON
|
configure_args="-DMOLD_USE_SYSTEM_MIMALLOC=ON -DMOLD_USE_SYSTEM_TBB=ON"
|
||||||
-Dmimalloc_DIR=${XBPS_CROSS_BASE}/cmake/mimalloc-2.0"
|
makedepends="mimalloc-devel zlib-devel libzstd-devel tbb-devel"
|
||||||
makedepends="mimalloc-devel openssl-devel zlib-devel libzstd-devel"
|
|
||||||
# It's probably not worth pulling in clang/llvm to run the few tests that
|
# It's probably not worth pulling in clang/llvm to run the few tests that
|
||||||
# depend on them.
|
# depend on them.
|
||||||
checkdepends="tar zstd libdwarf gdb"
|
checkdepends="tar zstd libdwarf gdb"
|
||||||
|
@ -13,8 +12,9 @@ short_desc="Faster drop-in replacement for existing Unix linkers"
|
||||||
maintainer="Peter Wang <novalazy@gmail.com>"
|
maintainer="Peter Wang <novalazy@gmail.com>"
|
||||||
license="MIT"
|
license="MIT"
|
||||||
homepage="https://github.com/rui314/mold"
|
homepage="https://github.com/rui314/mold"
|
||||||
|
changelog="https://github.com/rui314/mold/releases"
|
||||||
distfiles="https://github.com/rui314/mold/archive/refs/tags/v${version}.tar.gz"
|
distfiles="https://github.com/rui314/mold/archive/refs/tags/v${version}.tar.gz"
|
||||||
checksum=be65f3d785d32ece7b3204ecaa57810847fdd25c232cf704cbfff2dafb1ac107
|
checksum=c9853d007d6a1b4f3e36b7314346751f4cc91bc43c76e30db51709b53b44dd68
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
vlicense LICENSE
|
vlicense LICENSE
|
||||||
|
|
Loading…
Add table
Reference in a new issue