[arch-commits] Commit in julia/trunk (PKGBUILD)

Alexander Rødseth arodseth at nymeria.archlinux.org
Tue Jun 10 21:04:48 UTC 2014


    Date: Tuesday, June 10, 2014 @ 23:04:48
  Author: arodseth
Revision: 112988

Needs testing. Attempt at fixing FS#40736

Modified:
  julia/trunk/PKGBUILD

----------+
 PKGBUILD |   11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2014-06-10 20:31:46 UTC (rev 112987)
+++ PKGBUILD	2014-06-10 21:04:48 UTC (rev 112988)
@@ -6,18 +6,25 @@
 
 pkgname=julia
 pkgver=0.3.0_prerelease
-pkgrel=5
+pkgrel=6
 pkgdesc='High-level, high-performance, dynamic programming language'
 arch=('x86_64' 'i686')
 url='http://julialang.org'
 license=('GPL')
 depends=('arpack' 'fftw' 'git' 'gmp' 'libunwind' 'mpfr' 'pcre' 'readline' 'zlib')
-makedepends=('gcc-fortran' 'python2' 'libuv')
+makedepends=('gcc-fortran' 'python2' 'libuv' 'setconf')
 optdepends=('gnuplot: If using the Gaston Package from julia')
 options=('!emptydirs' 'staticlibs')
 source=("git://github.com/JuliaLang/julia.git#commit=3985890")
 sha256sums=('SKIP')
 
+prepare() {
+  # Fix for FS#40736
+  if [[ $CARCH = x86_64 ]]; then
+    setconf "$pkgname/Make.inc" JULIA_CPU_TARGET core2
+  fi
+}
+
 build() {
   make -C "$pkgname" prefix=/usr sysconfdir=/etc \
     USE_SYSTEM_LLVM=0 \




More information about the arch-commits mailing list