diff options
author | kyechou | 2021-09-14 20:29:28 -0500 |
---|---|---|
committer | kyechou | 2021-09-14 20:29:28 -0500 |
commit | 73ec45c455e9ccc22f595ad37496c0047341eae5 (patch) | |
tree | c2cc4ec5ad927adf55963bf5a01acf06f519be33 | |
parent | 3d56a245b153898dd04ec68c9bae8149da5fd8a3 (diff) | |
download | aur-73ec45c455e9ccc22f595ad37496c0047341eae5.tar.gz |
Use ninja for building and disable tests for now
-rw-r--r-- | .SRCINFO | 3 | ||||
-rw-r--r-- | PKGBUILD | 20 |
2 files changed, 12 insertions, 11 deletions
@@ -1,11 +1,12 @@ pkgbase = anvill pkgdesc = Forge beautiful LLVM bitcode out of raw machine code pkgver = 0.1.39 - pkgrel = 1 + pkgrel = 2 url = https://github.com/lifting-bits/anvill arch = x86_64 license = AGPL3 makedepends = cmake + makedepends = ninja makedepends = python-setuptools depends = cxx-common=0.1.4 depends = remill @@ -2,13 +2,13 @@ pkgname=anvill pkgver=0.1.39 -pkgrel=1 +pkgrel=2 pkgdesc="Forge beautiful LLVM bitcode out of raw machine code" arch=('x86_64') url="https://github.com/lifting-bits/anvill" license=('AGPL3') depends=('cxx-common=0.1.4' 'remill' 'python' 'libunwind') -makedepends=('cmake' 'python-setuptools') +makedepends=('cmake' 'ninja' 'python-setuptools') source=("https://github.com/lifting-bits/anvill/archive/refs/tags/v${pkgver}.tar.gz") sha256sums=('df0f3062807d2476ddcd58a33760c2d9ae14027a113562863c1603688faa356c') @@ -22,22 +22,22 @@ build() { mkdir -p build && cd build cmake \ -DCMAKE_INSTALL_PREFIX=/usr \ - -DCMAKE_VERBOSE_MAKEFILE=True \ -DANVILL_ENABLE_INSTALL_TARGET=True \ -DANVILL_ENABLE_TESTS=True \ -DVCPKG_ROOT="/opt/cxx-common" \ + -G Ninja \ "$srcdir/$pkgname-$pkgver" - make + cmake --build . } -check() { - cd "$srcdir/$pkgname-$pkgver" - cmake --build build --target test -} +#check() { +# cd "$srcdir/$pkgname-$pkgver" +# cmake --build build --target test +#} package() { - cd "$srcdir/$pkgname-$pkgver/build" - make DESTDIR="${pkgdir}" install + cd "$srcdir/$pkgname-$pkgver" + DESTDIR="${pkgdir}" cmake --build build --target install } # vim: set sw=4 ts=4 et: |