Summary: | dev-lang/julia-0.6.0 fails to compile if llvm-5 is installed | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Patrick Lauer <patrick> |
Component: | Current packages | Assignee: | Patrick Lauer <patrick> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | EoD, O01eg |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Patrick Lauer
![]() Part of the problem is that /usr/lib/llvm/5/bin is in PATH before /usr/lib/llvm/4/bin. I tried editing /etc/profile.env and put llvm/4 before llvm/5 in PATH and ROOTPATH. And with that change it julia-0.6.0-r1 merged. (In reply to James Cloos from comment #1) > Part of the problem is that /usr/lib/llvm/5/bin is in PATH before > /usr/lib/llvm/4/bin. > > I tried editing /etc/profile.env and put llvm/4 before llvm/5 in PATH and > ROOTPATH. > > And with that change it julia-0.6.0-r1 merged. As far as I know, this is intentional, as llvm's "has a linear release history" and hence the newest version is generally better. Nowadays, you can use clang-4.0 in order to force an old version. The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e69e4d65126d5c92b52290154bc759b7a1a27aad commit e69e4d65126d5c92b52290154bc759b7a1a27aad Author: Matthias Maier <tamiko@gentoo.org> AuthorDate: 2018-03-18 22:15:33 +0000 Commit: Matthias Maier <tamiko@gentoo.org> CommitDate: 2018-03-19 01:00:55 +0000 dev-lang/julia: version bump to 0.6.2 * fix LLVM_MAXSLOT so that llvm/clang-4 is used for compilation Closes: https://bugs.gentoo.org/631978 Package-Manager: Portage-2.3.24, Repoman-2.3.6 dev-lang/julia/Manifest | 2 + dev-lang/julia/julia-0.6.2.ebuild | 192 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 194 insertions(+) |