diff options
author | Matthias Maier <tamiko@gentoo.org> | 2017-11-28 05:01:52 -0600 |
---|---|---|
committer | Matthias Maier <tamiko@gentoo.org> | 2017-11-28 05:06:06 -0600 |
commit | d46791db7ecfdc352bec22795fe7596451407642 (patch) | |
tree | 27b79e3ecd34041aa6c86bec45c5e2a90b107114 | |
parent | dev-lang/julia: use get_libdir... (diff) | |
download | gentoo-d46791db7ecfdc352bec22795fe7596451407642.tar.gz gentoo-d46791db7ecfdc352bec22795fe7596451407642.tar.bz2 gentoo-d46791db7ecfdc352bec22795fe7596451407642.zip |
dev-lang/julia: use llvm.eclass, clean up ebuild
Package-Manager: Portage-2.3.16, Repoman-2.3.6
-rw-r--r-- | dev-lang/julia/julia-0.6.1-r1.ebuild (renamed from dev-lang/julia/julia-0.6.1.ebuild) | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/dev-lang/julia/julia-0.6.1.ebuild b/dev-lang/julia/julia-0.6.1-r1.ebuild index 14f16226b897..8c9dbc67613d 100644 --- a/dev-lang/julia/julia-0.6.1.ebuild +++ b/dev-lang/julia/julia-0.6.1-r1.ebuild @@ -5,7 +5,7 @@ EAPI=6 RESTRICT="test" -inherit eutils multilib pax-utils toolchain-funcs +inherit llvm pax-utils toolchain-funcs DESCRIPTION="High-performance programming language for technical computing" HOMEPAGE="https://julialang.org/" @@ -19,7 +19,13 @@ SLOT="0" KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" IUSE="" +# julia 0.6* is compatible with llvm-4 RDEPEND=" + sys-devel/llvm:4= + sys-devel/clang:4=" +LLVM_MAX_SLOT=4 + +RDEPEND+=" dev-libs/double-conversion:0= dev-libs/gmp:0= <dev-libs/libgit2-0.25:0= @@ -34,7 +40,6 @@ RDEPEND=" >=dev-libs/libpcre2-10.23:0=[jit] sci-libs/umfpack:0= sci-mathematics/glpk:0= - sys-devel/llvm:4= >=sys-libs/libunwind-1.1:7= <sys-libs/libunwind-1.2.1 sys-libs/readline:0= @@ -145,9 +150,6 @@ src_configure() { src_compile() { - # use LLVM:4 ... - export PATH="${EPREFIX}/usr/$(get_libdir)/llvm/4/bin/:${PATH}" - # Julia accesses /proc/self/mem on Linux addpredict /proc/self/mem |