Skip to content

Embed URL

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Julia PKGBUILD
# Maintainer: Lex Black <autumn-wind at web dot de>
# Contributor: Michael Jakl <jakl.michael@gmail.com>
# With contributions from many kind people at https://aur.archlinux.org/packages/julia-git/
pkgname=julia
pkgver=0.2.1
pkgrel=1
pkgdesc="Julia is a high-level, high-performance, dynamic programming language."
arch=('i686' 'x86_64')
url="http://julialang.org"
license=('GPL')
depends=('arpack' 'fftw' 'git' 'gmp' 'libunwind' 'mpfr' 'pcre' 'readline' 'zlib') # 'llvm' 'suitesparse' 'utf8proc' (AUR) 'intel-mkl' (AUR)
makedepends=('gcc-fortran')
optdepends=('gnuplot: If using the Gaston Package from julia')
provides=('julia')
conflicts=('julia-git' 'patchelf')
options=('!emptydirs' 'staticlibs')
source=(
"git://github.com/JuliaLang/julia.git#tag=v$pkgver"
"julia-0.2.1-readline.patch"
"julia-0.2.1-makefile.patch"
)
sha256sums=(
'SKIP'
'308d232ab62b476cf4eda0ac2890ddd9ad126d4bf420f88dab2bee6c920a98cf'
'9f5e79f195fcb659fb1493eddb9e7b257d0530cb613cf7ad74a4bb6b0cdec866'
)
prepare() {
cd "$srcdir/$pkgname"
patch -p1 -i "$srcdir/julia-0.2.1-readline.patch"
patch -p1 -i "$srcdir/julia-0.2.1-makefile.patch"
}
build() {
cd "$srcdir/$pkgname"
# llvm3.4 not supported and causes errors. Change back with 3.5
make PREFIX=/usr SYSCONFDIR=/etc \
USE_SYSTEM_LLVM=0 \
USE_SYSTEM_LIBUNWIND=1 \
USE_SYSTEM_READLINE=1 \
USE_SYSTEM_PCRE=1 \
USE_SYSTEM_LIBM=1 \
USE_SYSTEM_OPENLIBM=0 \
USE_SYSTEM_OPENSPECFUN=0 \
USE_SYSTEM_BLAS=1 \
USE_SYSTEM_LAPACK=1 \
USE_SYSTEM_FFTW=1 \
USE_SYSTEM_GMP=1 \
USE_SYSTEM_MPFR=1 \
USE_SYSTEM_ARPACK=1 \
USE_SYSTEM_SUITESPARSE=0 \
USE_SYSTEM_ZLIB=1 \
USE_SYSTEM_GRISU=0 \
USE_SYSTEM_RMATH=0 \
USE_SYSTEM_LIBUV=0 \
USE_SYSTEM_UTF8PROC=0 \
USE_MKL=0 \
USE_BLAS64=0 \
USE_LLVM_SHLIB=0
}
package() {
cd "$srcdir/$pkgname"
make DESTDIR=$pkgdir PREFIX=/usr SYSCONFDIR=/etc \
USE_SYSTEM_LLVM=0 \
USE_SYSTEM_LIBUNWIND=1 \
USE_SYSTEM_READLINE=1 \
USE_SYSTEM_PCRE=1 \
USE_SYSTEM_LIBM=1 \
USE_SYSTEM_OPENLIBM=0 \
USE_SYSTEM_OPENSPECFUN=0 \
USE_SYSTEM_BLAS=1 \
USE_SYSTEM_LAPACK=1 \
USE_SYSTEM_FFTW=1 \
USE_SYSTEM_GMP=1 \
USE_SYSTEM_MPFR=1 \
USE_SYSTEM_ARPACK=1 \
USE_SYSTEM_SUITESPARSE=0 \
USE_SYSTEM_ZLIB=1 \
USE_SYSTEM_GRISU=0 \
USE_SYSTEM_RMATH=0 \
USE_SYSTEM_LIBUV=0 \
USE_SYSTEM_UTF8PROC=0 \
USE_MKL=0 \
USE_BLAS64=0 \
USE_LLVM_SHLIB=0 \
install
# Remove man-page from julia/doc (one is enough)
rm -rv $pkgdir/usr/share/julia/doc/man
}
# vim:set ts=2 sw=2 et:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.