This commit is contained in:
Francisco Gómez García 2017-09-18 18:37:34 +02:00
parent 75e62b6921
commit cc3a8c18ce
No known key found for this signature in database
GPG Key ID: 01B688EA1903A4FE
1 changed files with 8 additions and 2 deletions

View File

@ -1,10 +1,10 @@
# Template file for 'julia'
pkgname=julia
version=0.6.0
revision=2
revision=3
nocross=yes
build_style=gnu-makefile
make_build_args="prefix=/usr MARCH=core2 sysconfdir=/etc USE_SYSTEM_LLVM=1
make_build_args="prefix=/usr sysconfdir=/etc USE_SYSTEM_LLVM=1
USE_LLVM_SHLIB=1 USE_SYSTEM_PCRE=1 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_LIBUV=0
@ -29,6 +29,12 @@ if [[ $XBPS_MACHINE == 'i686' ]]; then
export M="pentium4"
export CFLAGS="-march=pentium4"
export CXXFLAGS="-march=pentium4"
make_build_args+=" MARCH=pentium4"
elif [[ $XBPS_MACHINE == 'x86_64' ]]; then
export M="core2"
export CFLAGS="-march=core2"
export CXXFLAGS="-march=core2"
make_build_args+=" MARCH=core2"
fi
post_install() {