octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #51574] Build failure with --enable-jit with L


From: Julien Bect
Subject: [Octave-bug-tracker] [bug #51574] Build failure with --enable-jit with LLVM 3.8
Date: Tue, 25 Jul 2017 16:38:02 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0

URL:
  <http://savannah.gnu.org/bugs/?51574>

                 Summary: Build failure with --enable-jit with LLVM 3.8
                 Project: GNU Octave
            Submitted by: jbect
            Submitted on: Tue 25 Jul 2017 08:38:00 PM UTC
                Category: Interpreter
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Build Failure
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 4.2.1
        Operating System: GNU/Linux

    _______________________________________________________

Details:

Octave stable currently fails to build with LLVM 3.8 (and with all LLVM
releases since LLVM 3.4 or 3.5, as far as I know).

I have managed to get it to build with the attached series of patches
(currently in a very rough form).

make check currently crashes on jit.tst but at least I manage to get a
significant speedup on the attached test function...


$ ./run-octave --no-gui
GNU Octave, version 4.2.1
[...]

octave:1> tic;  z = test_pisum (),  toc
z =  1.6448
Elapsed time is 11.6463 seconds.

octave:2> jit_enable (1)

octave:3> tic;  z = test_pisum (),  toc
z =  1.6448
Elapsed time is 0.054471 seconds.

octave:4> tic;  z = test_pisum (),  toc
z =  1.6448
Elapsed time is 0.019253 seconds.

octave:5> tic;  z = test_pisum (),  toc
z =  1.6448
Elapsed time is 0.019371 seconds




    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Tue 25 Jul 2017 08:38:00 PM UTC  Name: stable-jit-LLVM38-patches.tar.gz 
Size: 4KiB   By: jbect

<http://savannah.gnu.org/bugs/download.php?file_id=41334>
-------------------------------------------------------
Date: Tue 25 Jul 2017 08:38:00 PM UTC  Name: test_pisum.m  Size: 137B   By:
jbect

<http://savannah.gnu.org/bugs/download.php?file_id=41335>

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?51574>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]