summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAbdo Roig-Maranges2016-10-27 09:58:46 +0200
committerAbdo Roig-Maranges2016-10-27 09:58:46 +0200
commit870c14072def8adb1bf1506fc86e9170d0e9911b (patch)
treece6b766744b20dcb69198ea3da7a5943ed7ffe7a
parent6eb461ef9d2b19cb0677c230c5f2b696f39b19bc (diff)
downloadaur-870c14072def8adb1bf1506fc86e9170d0e9911b.tar.gz
build llvm and aot_extended
-rw-r--r--.SRCINFO1
-rw-r--r--PKGBUILD18
2 files changed, 10 insertions, 9 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 2c1987cd280..930b9ac618c 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -10,7 +10,6 @@ pkgbase = extempore-git
makedepends = cmake
makedepends = gcc
makedepends = perl
- depends = extempore-llvm
depends = mesa
depends = pcre
depends = alsa-lib
diff --git a/PKGBUILD b/PKGBUILD
index 3e6567a25ad..271e56f452d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -8,7 +8,7 @@ pkgdesc="A cyber-physical programming environment for live coding"
arch=('i686' 'x86_64')
url="http://extempore.moso.com.au"
license=('BSD')
-depends=('extempore-llvm' 'mesa' 'pcre' 'alsa-lib')
+depends=('mesa' 'pcre' 'alsa-lib')
makedepends=('git' 'cmake' 'gcc' 'perl')
optdepends=('jack')
provides=('extempore')
@@ -17,29 +17,31 @@ source=("git+https://github.com/digego/extempore.git")
md5sums=('SKIP')
pkgver() {
- git --git-dir="$srcdir/extempore/.git" describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
+ git --git-dir="${srcdir}/extempore/.git" describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
- mkdir -p "$srcdir/extempore/build"
- cd "$srcdir/extempore/build"
+ mkdir -p "${srcdir}/build"
+ cd "${srcdir}/build"
+ # TODO: do not build aot on the install target
# TODO: fix extended_deps dependencies, they still depend on LLVM.
# TODO: if BUILD_DEPS=OFF, aot_extended is still built.
+ # TODO: make install does not install anything besides the main binary.
- export EXT_LLVM_DIR="/usr/share/extempore/llvm"
cmake -DCMAKE_INSTALL_PREFIX=/usr \
-DJACK=ON \
-DBUILD_DEPS=ON \
- ..
+ ../extempore
# build extempore
make
+ make aot_extended
}
package() {
- cd "$srcdir/extempore/build"
- make DESTDIR="$pkgdir/" install
+ cd "${srcdir}/build"
+ make DESTDIR="${pkgdir}/" install
}