|
From: | Markus Mützel |
Subject: | [Octave-bug-tracker] [bug #58795] ode15i and ode15s fail if sunindextype and octave_idx_type are incompatible |
Date: | Thu, 30 Jul 2020 08:16:39 -0400 (EDT) |
User-agent: | Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.89 Safari/537.36 Edg/84.0.522.44 |
Follow-up Comment #25, bug #58795 (project octave): If I make the following change to the build rule of SUNDIALS IDA, it seems to correctly link to these libraries: diff -r 2993dbd2acea -r 0bc7ea7264d9 src/sundials-ida.mk --- a/src/sundials-ida.mk Sun Jul 05 12:21:53 2020 +0200 +++ b/src/sundials-ida.mk Thu Jul 30 14:08:20 2020 +0200 @@ -52,6 +52,11 @@ -DKLU_ENABLE=ON \ -DKLU_INCLUDE_DIR=$(HOST_INCDIR)/suitesparse \ -DKLU_LIBRARY_DIR=$(HOST_LIBDIR) \ + -DKLU_LIBRARY=$(HOST_LIBDIR)/libklu.so.1 \ + -DAMD_LIBRARY=$(HOST_LIBDIR)/libamd.so.2 \ + -DBTF_LIBRARY=$(HOST_LIBDIR)/libbtf.so.1 \ + -DCOLAMD_LIBRARY=$(HOST_LIBDIR)/libcolamd.so.2 \ + -DSUITESPARSECONFIG_LIBRARY=$(HOST_LIBDIR)/libsuitesparseconfig.so.5 \ -DCMAKE_TOOLCHAIN_FILE='$(CMAKE_TOOLCHAIN_FILE)' \ -DBUILD_ARKODE=OFF \ -DBUILD_CVODE=OFF \ I don't know why the build tools wouldn't find and use those libraries automatically. They seem to be successfully found for Windows cross builds. Maybe it has something to do with the trailing version? The Windows libraries seem to end in ".a" (without version postfix). _______________________________________________________ Reply to this item at: <https://savannah.gnu.org/bugs/?58795> _______________________________________________ Message sent via Savannah https://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |