unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#32185] [PATCH 0/1] Fix Julia package.
@ 2018-07-17 11:20 Rouby Pierre-Antoine
  2018-07-17 11:22 ` [bug#32185] [PATCH 1/1] gnu: julia: Fix 'llvm' version Rouby Pierre-Antoine
  2018-07-17 22:20 ` [bug#32185] [PATCH 0/1] Fix Julia package Ludovic Courtès
  0 siblings, 2 replies; 6+ messages in thread
From: Rouby Pierre-Antoine @ 2018-07-17 11:20 UTC (permalink / raw)
  To: 32185; +Cc: Rouby Pierre-Antoine

Hi Guix !

This fix work for some computers, but some test will fail on other computers,
I'm not sure why.

Rouby Pierre-Antoine (1):
  gnu: julia: Fix 'llvm' version.

 gnu/packages/julia.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

-- 
2.17.1

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [bug#32185] [PATCH 1/1] gnu: julia: Fix 'llvm' version.
  2018-07-17 11:20 [bug#32185] [PATCH 0/1] Fix Julia package Rouby Pierre-Antoine
@ 2018-07-17 11:22 ` Rouby Pierre-Antoine
  2018-07-17 22:20 ` [bug#32185] [PATCH 0/1] Fix Julia package Ludovic Courtès
  1 sibling, 0 replies; 6+ messages in thread
From: Rouby Pierre-Antoine @ 2018-07-17 11:22 UTC (permalink / raw)
  To: 32185; +Cc: Rouby Pierre-Antoine

* gnu/packages/julia.scm: Fix 'llvm' version to 3.9.1.
---
 gnu/packages/julia.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gnu/packages/julia.scm b/gnu/packages/julia.scm
index 6fb1eee6c..39e232273 100644
--- a/gnu/packages/julia.scm
+++ b/gnu/packages/julia.scm
@@ -314,7 +314,7 @@
         "USE_SYSTEM_LIBGIT2=1"
         "USE_SYSTEM_OPENSPECFUN=1")))
     (inputs
-     `(("llvm" ,llvm)
+     `(("llvm" ,llvm-3.9.1)
 
        ;; The bundled version is 3.3.0 so stick to that version.  With other
        ;; versions, we get test failures in 'linalg/arnoldi' as described in
-- 
2.17.1

^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [bug#32185] [PATCH 0/1] Fix Julia package.
  2018-07-17 11:20 [bug#32185] [PATCH 0/1] Fix Julia package Rouby Pierre-Antoine
  2018-07-17 11:22 ` [bug#32185] [PATCH 1/1] gnu: julia: Fix 'llvm' version Rouby Pierre-Antoine
@ 2018-07-17 22:20 ` Ludovic Courtès
  2018-07-18 11:34   ` Pierre-Antoine Rouby
  1 sibling, 1 reply; 6+ messages in thread
From: Ludovic Courtès @ 2018-07-17 22:20 UTC (permalink / raw)
  To: Rouby Pierre-Antoine; +Cc: 32185

Hello!

Rouby Pierre-Antoine <pierre-antoine.rouby@inria.fr> skribis:

> This fix work for some computers, but some test will fail on other computers,
> I'm not sure why.

You were looking at test failures, not build failures, right?

In the end do you think changing LLVM versions had an effect at all?

Thanks for investigating.  :-)
Ludo’.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [bug#32185] [PATCH 0/1] Fix Julia package.
  2018-07-17 22:20 ` [bug#32185] [PATCH 0/1] Fix Julia package Ludovic Courtès
@ 2018-07-18 11:34   ` Pierre-Antoine Rouby
  2018-07-18 19:41     ` Pjotr Prins
  2018-07-19  9:28     ` bug#32185: " Ludovic Courtès
  0 siblings, 2 replies; 6+ messages in thread
From: Pierre-Antoine Rouby @ 2018-07-18 11:34 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: 32185

Hi Ludo,

----- Original Message -----
> From: "Ludovic Courtès" <ludovic.courtes@inria.fr>
> You were looking at test failures, not build failures, right?

Yes, tests could failed at execution.

> In the end do you think changing LLVM versions had an effect at all?

Yes, 'llvm' has been update to 6.0.1, but Julia need llvm on version 3.9.
With 'llvm@3.9.1' I'm able to build Julia but with 'llvm@6.0.1' the build phase
failed.

--
Pierre-Antoine Rouby

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [bug#32185] [PATCH 0/1] Fix Julia package.
  2018-07-18 11:34   ` Pierre-Antoine Rouby
@ 2018-07-18 19:41     ` Pjotr Prins
  2018-07-19  9:28     ` bug#32185: " Ludovic Courtès
  1 sibling, 0 replies; 6+ messages in thread
From: Pjotr Prins @ 2018-07-18 19:41 UTC (permalink / raw)
  To: Pierre-Antoine Rouby; +Cc: Ludovic Courtès, 32185

On Wed, Jul 18, 2018 at 01:34:21PM +0200, Pierre-Antoine Rouby wrote:
> Hi Ludo,
> 
> ----- Original Message -----
> > From: "Ludovic Courtès" <ludovic.courtes@inria.fr>
> > You were looking at test failures, not build failures, right?
> 
> Yes, tests could failed at execution.
> 
> > In the end do you think changing LLVM versions had an effect at all?
> 
> Yes, 'llvm' has been update to 6.0.1, but Julia need llvm on version 3.9.
> With 'llvm@3.9.1' I'm able to build Julia but with 'llvm@6.0.1' the build phase
> failed.

Julia compiler development is on older LLVM's. There are few languages that
keep up with LLVM (Clang is core, and Dlang being one of the exceptions).

Pj.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#32185: [PATCH 0/1] Fix Julia package.
  2018-07-18 11:34   ` Pierre-Antoine Rouby
  2018-07-18 19:41     ` Pjotr Prins
@ 2018-07-19  9:28     ` Ludovic Courtès
  1 sibling, 0 replies; 6+ messages in thread
From: Ludovic Courtès @ 2018-07-19  9:28 UTC (permalink / raw)
  To: Pierre-Antoine Rouby; +Cc: 32185-done

Hello,

Pierre-Antoine Rouby <pierre-antoine.rouby@inria.fr> skribis:

> ----- Original Message -----
>> From: "Ludovic Courtès" <ludovic.courtes@inria.fr>
>> You were looking at test failures, not build failures, right?
>
> Yes, tests could failed at execution.

And still do.

>> In the end do you think changing LLVM versions had an effect at all?
>
> Yes, 'llvm' has been update to 6.0.1, but Julia need llvm on version 3.9.
> With 'llvm@3.9.1' I'm able to build Julia but with 'llvm@6.0.1' the build phase
> failed.

Understood.  I’ve applied the patch.

For posterity, using ‘llvm’ (version 6.0), Julia failed to build with:

--8<---------------cut here---------------start------------->8---
    [34mCC[0m [33msrc/codegen.o[0m
/tmp/guix-build-julia-0.6.0.drv-0/julia-0.6.0/src/codegen.cpp:39:45: fatal error: llvm/Target/TargetSubtargetInfo.h: No such file or directory
compilation terminated.
make[1]: *** [Makefile:144: codegen.o] Error 1
--8<---------------cut here---------------end--------------->8---

Thanks!

Ludo’.

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2018-07-19  9:29 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-07-17 11:20 [bug#32185] [PATCH 0/1] Fix Julia package Rouby Pierre-Antoine
2018-07-17 11:22 ` [bug#32185] [PATCH 1/1] gnu: julia: Fix 'llvm' version Rouby Pierre-Antoine
2018-07-17 22:20 ` [bug#32185] [PATCH 0/1] Fix Julia package Ludovic Courtès
2018-07-18 11:34   ` Pierre-Antoine Rouby
2018-07-18 19:41     ` Pjotr Prins
2018-07-19  9:28     ` bug#32185: " Ludovic Courtès

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).