Date: Sunday, September 10, 2017 @ 09:25:20 Author: arojas Revision: 256732
Use system llvm39 Modified: julia/trunk/PKGBUILD ----------+ PKGBUILD | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2017-09-10 09:24:13 UTC (rev 256731) +++ PKGBUILD 2017-09-10 09:25:20 UTC (rev 256732) @@ -8,14 +8,14 @@ pkgbase=julia pkgname=('julia' 'julia-docs') pkgver=0.6.0 -pkgrel=2 +pkgrel=3 epoch=2 arch=('x86_64' 'i686') pkgdesc='High-level, high-performance, dynamic programming language' url='http://julialang.org/' license=('MIT') -makedepends=('gcc-fortran' 'python2' 'blas' 'lapack' 'arpack' 'libunwind' 'fftw' 'llvm' - 'gmp' 'mpfr' 'zlib' 'suitesparse' 'patchelf' 'cmake' 'pcre2' 'libgit2' 'openssl') +makedepends=('gcc-fortran' 'python2' 'blas' 'lapack' 'arpack' 'libunwind' 'fftw' + 'gmp' 'mpfr' 'zlib' 'suitesparse' 'patchelf' 'cmake' 'pcre2' 'libgit2' 'llvm39') options=('!emptydirs' 'staticlibs') source=("https://github.com/JuliaLang/julia/releases/download/v$pkgver/julia-$pkgver.tar.gz"{,.asc} julia-libunwind-version.patch) sha256sums=('1c62bfce8075acf2b5b02355520a61210690324eceb021030681459d18a3a665' @@ -29,6 +29,7 @@ cd $pkgname-$pkgver patch -p1 -i ../julia-libunwind-version.patch + sed -e 's|-lLLVM|-lLLVM-3.9|' -i src/Makefile # link against llvm39 } build() { @@ -49,7 +50,7 @@ cd julia-$pkgver make prefix=/usr sysconfdir=/etc \ MARCH=$M \ - USE_SYSTEM_LLVM=0 \ + USE_SYSTEM_LLVM=1 \ USE_SYSTEM_LIBUNWIND=1 \ USE_SYSTEM_PCRE=1 \ USE_SYSTEM_LIBM=1 \ @@ -74,7 +75,7 @@ package_julia() { backup=('etc/ld.so.conf.d/julia.conf' 'etc/julia/juliarc.jl') - depends=('arpack' 'fftw' 'libunwind' 'mpfr' 'suitesparse' 'pcre2' 'libgit2' 'llvm-libs' 'patchelf' 'hicolor-icon-theme') + depends=('arpack' 'fftw' 'libunwind' 'mpfr' 'suitesparse' 'pcre2' 'libgit2' 'patchelf' 'hicolor-icon-theme' 'llvm39-libs') optdepends=('gnuplot: If using the Gaston Package from julia') install='sysfix.install'