[Top][All Lists]

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

[Octave-bug-tracker] [bug #55956] build overlinks with SUNDIALS librarie

From: Mike Miller
Subject: [Octave-bug-tracker] [bug #55956] build overlinks with SUNDIALS libraries even when HAVE_SUNDIALS is unset
Date: Tue, 19 Mar 2019 14:34:50 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.75 Safari/537.36


                 Summary: build overlinks with SUNDIALS libraries even when
                 Project: GNU Octave
            Submitted by: mtmiller
            Submitted on: Tue 19 Mar 2019 11:34:49 AM PDT
                Category: Configuration and Build System
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Other
                  Status: In Progress
             Assigned to: mtmiller
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 5.1.0
        Operating System: GNU/Linux



When building Octave 5.1.0 on a system with SUNDIALS version 3 or 4 installed,
configure correctly detects that the library is not compatible and correctly
does not set HAVE_SUNDIALS, so all features in '__ode15__.oct' are disabled.
But the oct file is still linked to libsundials_ida and
libsundials_nvecserial, even though it uses no functions from those libraries

I have a patch to configure that will clear all of the SUNDIALS associated
build variables if and only if HAVE_SUNDIALS is not set, suitable for stable,
and already tested on one system with SUNDIALS 3.1.2 and one with SUNDIALS
2.7.0. There are no regressions on the latter that I can see, and the oct file
is now not linked with the libraries on the former, which is the desired

Will push to stable once I have a bug number.


Reply to this item at:


  Message sent via Savannah

reply via email to

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