mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 21:37:15 +02:00
community/ck: upgrade to 0.7.2
This release adds proper riscv64 support.
This commit is contained in:
parent
cb4335ff9e
commit
b211ec24ac
@ -1,8 +1,8 @@
|
||||
# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
|
||||
# Maintainer: Sören Tempel <soeren+alpine@soeren-tempel.net>
|
||||
pkgname=ck
|
||||
pkgver=0.7.1
|
||||
pkgrel=3
|
||||
pkgver=0.7.2
|
||||
pkgrel=0
|
||||
pkgdesc="Concurrency primitives, safe memory reclamation mechanisms and non-blocking (including lock-free) data structures"
|
||||
url="http://concurrencykit.org/"
|
||||
arch="all"
|
||||
@ -19,19 +19,6 @@ armhf) export PLATFORM=armv6l ;;
|
||||
armv7) export PLATFORM=armv7l ;;
|
||||
esac
|
||||
|
||||
# Platforms which are not natively supported by ck can be supported by
|
||||
# compiling with --use-cc-builtins. This has a performance penalty but
|
||||
# allows us to support software depending on ck on these platforms.
|
||||
#
|
||||
# Regarding native support:
|
||||
#
|
||||
# * riscv64: https://github.com/concurrencykit/ck/issues/169
|
||||
#
|
||||
_conf_opts=""
|
||||
case "$CTARGET_ARCH" in
|
||||
riscv64) _conf_opts="--use-cc-builtins" ;;
|
||||
esac
|
||||
|
||||
# With -Os the compiler emits lots of -Winline warnings.
|
||||
# Silence those for now to keep the build log readable.
|
||||
export CFLAGS="$CFLAGS -Wno-inline"
|
||||
@ -43,7 +30,7 @@ build() {
|
||||
--prefix=/usr \
|
||||
--sysconfdir=/etc \
|
||||
--mandir=/usr/share/man \
|
||||
--localstatedir=/var $_conf_opts
|
||||
--localstatedir=/var
|
||||
make
|
||||
}
|
||||
|
||||
@ -56,5 +43,5 @@ package() {
|
||||
}
|
||||
|
||||
sha512sums="
|
||||
48768e7adf05b818f2951b246c90185071d6c3f874218349183d96b7887830f9505f9fa58576e9933862486e8543097df0ee667518009a3946d1edc19fc253f7 ck-0.7.1.tar.gz
|
||||
c3a93a8bbdab2c81ccbfe8f38a17677b912bc157c231c960330cb130e93c35e3aab6b2fd1695d0ea28dbe3e12297851f1b96ef1ee21ca4e4c0065c91b83f51c3 ck-0.7.2.tar.gz
|
||||
"
|
||||
|
Loading…
Reference in New Issue
Block a user