From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 1B464138334 for ; Fri, 31 Aug 2018 02:32:55 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 95BE2E082D; Fri, 31 Aug 2018 02:32:53 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 71678E082D for ; Fri, 31 Aug 2018 02:32:53 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 7298B335CF8 for ; Fri, 31 Aug 2018 02:32:51 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 96F583B9 for ; Fri, 31 Aug 2018 02:32:49 +0000 (UTC) From: "Matthias Maier" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Matthias Maier" Message-ID: <1535682659.341370b1596682a9a74bc621e60831a90c38811a.tamiko@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-lang/julia/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-lang/julia/julia-9999.ebuild X-VCS-Directories: dev-lang/julia/ X-VCS-Committer: tamiko X-VCS-Committer-Name: Matthias Maier X-VCS-Revision: 341370b1596682a9a74bc621e60831a90c38811a X-VCS-Branch: master Date: Fri, 31 Aug 2018 02:32:49 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: cf51acdb-15fa-4173-88d7-34709e2f8ba7 X-Archives-Hash: d8dbf41417d0d43f45eb28a645edbc33 commit: 341370b1596682a9a74bc621e60831a90c38811a Author: Matthias Maier gentoo org> AuthorDate: Thu Aug 30 02:13:22 2018 +0000 Commit: Matthias Maier gentoo org> CommitDate: Fri Aug 31 02:30:59 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=341370b1 dev-lang/julia: Update live ebuild Bug: https://bugs.gentoo.org/660596 Package-Manager: Portage-2.3.48, Repoman-2.3.10 dev-lang/julia/julia-9999.ebuild | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/dev-lang/julia/julia-9999.ebuild b/dev-lang/julia/julia-9999.ebuild index ee966c94ec4..c8aa3e8ec86 100644 --- a/dev-lang/julia/julia-9999.ebuild +++ b/dev-lang/julia/julia-9999.ebuild @@ -25,15 +25,18 @@ RDEPEND+=" dev-libs/double-conversion:0= dev-libs/gmp:0= dev-libs/libgit2:0= + >=dev-libs/libpcre2-10.23:0=[jit] dev-libs/mpfr:0= dev-libs/openspecfun + sci-libs/amd:0= sci-libs/arpack:0= sci-libs/camd:0= + sci-libs/ccolamd:0= sci-libs/cholmod:0= + sci-libs/colamd:0= sci-libs/fftw:3.0=[threads] sci-libs/openlibm:0= sci-libs/spqr:0= - >=dev-libs/libpcre2-10.23:0=[jit] sci-libs/umfpack:0= sci-mathematics/glpk:0= >=sys-libs/libunwind-1.1:7= @@ -101,7 +104,7 @@ src_configure() { USE_SYSTEM_PCRE=1 USE_SYSTEM_RMATH=0 USE_SYSTEM_UTF8PROC=0 - USE_LLVM_SHLIB=1 + USE_LLVM_SHLIB=0 USE_SYSTEM_ARPACK=1 USE_SYSTEM_BLAS=1 USE_SYSTEM_FFTW=1 @@ -131,6 +134,19 @@ src_compile() { addpredict /proc/self/mem emake cleanall + + # Create symlinks... + local libblas="$($(tc-getPKG_CONFIG) --libs-only-l blas)" + libblas="${libblas%% *}" + libblas="lib${libblas#-l}" + local liblapack="$($(tc-getPKG_CONFIG) --libs-only-l lapack)" + liblapack="${liblapack%% *}" + liblapack="lib${liblapack#-l}" + mkdir -p "${S}"/usr/lib/julia || die "mkdir failed" + for i in ${libblas}.so ${liblapack}.so libumfpack.so libspqr.so; do + ln -s "${EROOT}/usr/$(get_libdir)/${i}" "${S}"/usr/lib/julia/ || die "ln failed" + done + emake VERBOSE=1 julia-release \ prefix="${EPREFIX}/usr" DESTDIR="${D}" \ CC="$(tc-getCC)" CXX="$(tc-getCXX)"