diff options
author | archibald869 | 2019-10-24 22:15:50 +0200 |
---|---|---|
committer | archibald869 | 2019-10-24 22:15:50 +0200 |
commit | 0abd752c85305efdd533dd0e3299283596b6325b (patch) | |
tree | 748063f377970267f50592e87bd437da9ea79494 /PKGBUILD | |
parent | 8efb72f19dd130e3537053f599dbfeb3fc028fc6 (diff) | |
download | aur-0abd752c85305efdd533dd0e3299283596b6325b.tar.gz |
Install everything, not only clang and cling
also:
- add option not to build lli
- remove make's jobs option
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 11 |
1 files changed, 5 insertions, 6 deletions
@@ -2,7 +2,7 @@ pkgname=cling pkgver=0.6 -pkgrel=1 +pkgrel=2 pkgdesc="Interactive C++ interpreter, built on the top of LLVM and Clang libraries" arch=("i686" "x86_64") url="https://root.cern.ch/cling" @@ -24,7 +24,6 @@ sha256sums=( "SKIP" "SKIP" ) -_num_cores=$(getconf _NPROCESSORS_ONLN) prepare() { @@ -49,20 +48,20 @@ build() { -DLLVM_ENABLE_RTTI=ON \ -DLLVM_ENABLE_FFI=ON \ -DLLVM_BUILD_DOCS=OFF \ + -DLLVM_BUILD_TOOLS=OFF \ -DLLVM_ENABLE_SPHINX=OFF \ -DLLVM_ENABLE_DOXYGEN=OFF \ -DFFI_INCLUDE_DIR=$(pkg-config --cflags-only-I libffi | cut -c3-) \ "$srcdir/llvm" - make -C tools/clang -j$_num_cores - make -C tools/cling -j$_num_cores + make -C tools/clang + make -C tools/cling } package() { cd "$srcdir/build" - make -C tools/clang -j$_num_cores DESTDIR="$pkgdir" install - make -C tools/cling -j$_num_cores DESTDIR="$pkgdir" install + make DESTDIR="$pkgdir" install install -d "$pkgdir/usr/bin" ln -s "/opt/cling/bin/cling" "$pkgdir/usr/bin/cling" |