diff options
-rw-r--r-- | community/binaryen/APKBUILD | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/community/binaryen/APKBUILD b/community/binaryen/APKBUILD index c647fd02d6..2efaab5b60 100644 --- a/community/binaryen/APKBUILD +++ b/community/binaryen/APKBUILD @@ -4,13 +4,14 @@ pkgname=binaryen pkgver=40 pkgrel=0 pkgdesc="Compiler infrastructure and toolchain library for WebAssembly, in C++" +options="!check" # Tests require python2 url="https://github.com/WebAssembly/binaryen" arch="all !s390x" license="Apache-2.0" makedepends="cmake" -checkdepends="nodejs python2" +checkdepends="nodejs" # python2" subpackages="$pkgname-dev" -source="$pkgname-$pkgver.tar.gz::https://github.com/WebAssembly/$pkgname/archive/version_$pkgver.tar.gz +source="binaryen-$pkgver.tar.gz::https://github.com/WebAssembly/binaryen/archive/version_$pkgver.tar.gz link-dynamically.patch ignore-type-limits-error.patch fix-gcc8-wcatch-value.patch @@ -22,8 +23,6 @@ case "$CARCH" in esac build() { - cd "$builddir" - cmake \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_INSTALL_PREFIX=/usr \ @@ -36,16 +35,12 @@ build() { } check() { - cd "$builddir" - # waterfall requires additional dependency # gcc-tests fail, dunno why python2 check.py --no-test-waterfall --no-run-gcc-tests } package() { - cd "$builddir" - make install DESTDIR="$pkgdir" rm "$pkgdir"/usr/share/binaryen/binaryen.js } |