summaryrefslogtreecommitdiff
path: root/user/spack
diff options
context:
space:
mode:
Diffstat (limited to 'user/spack')
-rw-r--r--user/spack/APKBUILD15
1 files changed, 9 insertions, 6 deletions
diff --git a/user/spack/APKBUILD b/user/spack/APKBUILD
index f4fc0f84a..5758f1fd1 100644
--- a/user/spack/APKBUILD
+++ b/user/spack/APKBUILD
@@ -1,17 +1,19 @@
# Contributor: Zach van Rijn <me@zv.io>
# Maintainer: Zach van Rijn <me@zv.io>
pkgname=spack
-pkgver=0.17.2
-pkgrel=0
+pkgver=0.17.2 # git tag --contains releases/latest | grep ^v
+_rev=bb8fbb9b589e667f92ce7d56b3802ba44cb188ec # branch 'adelie'
+pkgrel=1
pkgdesc="A flexible package manager for supercomputers."
url="https://spack.io/"
arch="all"
license="Apache-2.0 OR MIT"
-options="!dbg"
+options="!dbg !strip"
makedepends="python3-dev"
depends="$makedepends" # due to bootstrap design
subpackages=""
-source="https://github.com/spack/spack/releases/download/v$pkgver/spack-$pkgver.tar.gz"
+source="https://git.adelielinux.org/adelie/$pkgname/-/archive/$_rev/$pkgname-$_rev.tar.bz2"
+builddir="$srcdir/$pkgname-$_rev"
check() {
##
@@ -21,7 +23,8 @@ check() {
export SPACK_DISABLE_LOCAL_CONFIG=true
export SPACK_USER_CONFIG_PATH=$builddir/tmp
export SPACK_USER_CACHE_PATH=$builddir/tmp
- bin/spack bootstrap untrust github-actions
+ bin/spack bootstrap untrust github-actions-v0.1
+ bin/spack bootstrap untrust github-actions-v0.2
bin/spack install zlib
rm -fr var/spack/cache
}
@@ -40,4 +43,4 @@ package() {
;
}
-sha512sums="f4c6fdcebb84f23117249d828ce141b818199d7eceed7814b45abb367f0988c11fa9a94f36c46560ea497765c10531ebe5dbea88e4ece74a1bdf0f72353cee46 spack-0.17.2.tar.gz"
+sha512sums="2745b008c4acd9e9420e88fc366676e3a4a40bd7c7d026de1f9595355eb7f06bf13634b9aeacae048bbc1b7d3c75232065a241e2fc171adcfb3dc3f50d57daac spack-bb8fbb9b589e667f92ce7d56b3802ba44cb188ec.tar.bz2"