diff options
author | Duncan Bellamy <dunk@denkimushi.com> | 2020-07-03 12:33:57 +0000 |
---|---|---|
committer | Leo <thinkabit.ukim@gmail.com> | 2020-07-03 12:33:57 +0000 |
commit | 2a2ce383c11297c9fec96a378cda4298fedb88e7 (patch) | |
tree | 7a246df68b98232ce004e2fa57b68cf2f08f9659 /testing/asuran-cli | |
parent | 31e8fb73f9bf2f7866eef838ba93183b80de08db (diff) | |
download | alpine_aports-2a2ce383c11297c9fec96a378cda4298fedb88e7.tar.bz2 alpine_aports-2a2ce383c11297c9fec96a378cda4298fedb88e7.tar.xz alpine_aports-2a2ce383c11297c9fec96a378cda4298fedb88e7.zip |
testing/asuran-cli: upgrade to 0.1.6
* change from aes to blake3-neon for armv7 and arm64
testing/asuran-cli: upgrade to 0.1.6
* change from aes to blake3-neon for armv7 and arm64
testing/asuran-cli: upgrade to 0.1.6
* change aarch64 from aes to blake3-neon
testing/asuran-cli: upgrade to 0.1.6
change from aes to blake3-neon for arm64
testing/asuran-cli: make APKBUILD more like package CI build
fix lint errors
Fix build errors, try ppc64le again
fix lint errors
try build caching
remove build caching as still times out on ppc64le
remove ppc64le as timing out
Diffstat (limited to 'testing/asuran-cli')
-rw-r--r-- | testing/asuran-cli/APKBUILD | 19 |
1 files changed, 12 insertions, 7 deletions
diff --git a/testing/asuran-cli/APKBUILD b/testing/asuran-cli/APKBUILD index ba522c74bc..1e92d3e994 100644 --- a/testing/asuran-cli/APKBUILD +++ b/testing/asuran-cli/APKBUILD | |||
@@ -1,24 +1,29 @@ | |||
1 | # Contributor: Duncan Bellamy <dunk@denkimushi.com> | 1 | # Contributor: Duncan Bellamy <dunk@denkimushi.com> |
2 | # Maintainer: Duncan Bellamy <dunk@denkimushi.com> | 2 | # Maintainer: Duncan Bellamy <dunk@denkimushi.com> |
3 | pkgname=asuran-cli | 3 | pkgname=asuran-cli |
4 | pkgver=0.1.5 | 4 | pkgver=0.1.6 |
5 | pkgrel=0 | 5 | pkgrel=0 |
6 | pkgdesc="Asuran is a new archive format and rust implementation" | 6 | pkgdesc="Asuran is a new archive format and rust implementation" |
7 | url="https://gitlab.com/asuran-rs/asuran" | 7 | url="https://gitlab.com/asuran-rs/asuran" |
8 | arch="all !s390x !ppc64le !mips !mips64" #ppc64le takes too long to build | 8 | arch="all !s390x !mips !mips64 !ppc64le" #ppc64le takes too long to build |
9 | license="BSD-2-Clause-Patent" | 9 | license="BSD-2-Clause-Patent" |
10 | makedepends="cargo openssl-dev" | 10 | makedepends="cargo openssl-dev" |
11 | source="https://gitlab.com/asuran-rs/asuran/-/archive/v$pkgver/asuran-v$pkgver.tar.gz" | 11 | source="https://gitlab.com/asuran-rs/asuran/-/archive/v$pkgver/asuran-v$pkgver.tar.gz" |
12 | builddir="$srcdir/asuran-v$pkgver" | 12 | builddir="$srcdir/asuran-v$pkgver" |
13 | 13 | ||
14 | build() { | 14 | build() { |
15 | local _aes= | 15 | local _rf= |
16 | local _f= | ||
16 | case "$CARCH" in | 17 | case "$CARCH" in |
17 | aarch64*|x86_64) _aes="-C target-feature=+aes" | 18 | x86_64) _rf="-C target-feature=+aes $_rf" ;; |
18 | export RUSTFLAGS="$_aes" ;; | 19 | aarch64*) _rf="-C target-feature=+aes $_rf" |
20 | _f="--features blake3-neon" ;; | ||
19 | esac | 21 | esac |
20 | 22 | ||
21 | cargo build --package asuran-cli --release --locked --verbose | 23 | export RUSTFLAGS=$_rf |
24 | |||
25 | cd asuran-cli | ||
26 | cargo build --release --locked --verbose $_f | ||
22 | } | 27 | } |
23 | 28 | ||
24 | check() { | 29 | check() { |
@@ -29,4 +34,4 @@ package() { | |||
29 | install -Dm0755 target/release/asuran-cli "$pkgdir"/usr/bin/asuran-cli | 34 | install -Dm0755 target/release/asuran-cli "$pkgdir"/usr/bin/asuran-cli |
30 | } | 35 | } |
31 | 36 | ||
32 | sha512sums="ac39dade83b36c4f4bae75216ac1a91daaf885abb5815e61f3150f2815b4b38c4ed200eae411cdc3b52c249527609493b6d05deb649dc4f5643b797fa1d40c33 asuran-v0.1.5.tar.gz" | 37 | sha512sums="2345b9ad0daedc4b21707bcdae72f7678f8e8d7adb470f78088ceb88f8ca18d1661bc5126d6199d5e904b528c7b5b50e9f8c3d770b28b72fcad64c17e9b87add asuran-v0.1.6.tar.gz" |