annotate src/sundials-ida-1.patch @ 4740:9942a9c37ffe

remove octave 'alpha' package * octave-1-gnulib.patch, octave.mk: Delete. * dist-files.mk: Update. * index.html: Delete entry for octave. * configure.ac: Don't handle 'alpha' in --enable-octave=VERSION option. (AC_CONFIG_SRCDIR): Look for src/default-octave.mk instead of src/octave.mk.
author John W. Eaton <jwe@octave.org>
date Tue, 26 Jun 2018 13:22:51 -0400
parents 8b731cde3aaa
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
4462
8b731cde3aaa sundials-ida: build against the SuiteSparse KLU library
Mike Miller <mtmiller@octave.org>
parents:
diff changeset
1 Add missing dependency on KLU when building IDA shared library.
8b731cde3aaa sundials-ida: build against the SuiteSparse KLU library
Mike Miller <mtmiller@octave.org>
parents:
diff changeset
2
8b731cde3aaa sundials-ida: build against the SuiteSparse KLU library
Mike Miller <mtmiller@octave.org>
parents:
diff changeset
3 Based on a patch in the Debian sundials package by Dima Kogan.
8b731cde3aaa sundials-ida: build against the SuiteSparse KLU library
Mike Miller <mtmiller@octave.org>
parents:
diff changeset
4
8b731cde3aaa sundials-ida: build against the SuiteSparse KLU library
Mike Miller <mtmiller@octave.org>
parents:
diff changeset
5 https://anonscm.debian.org/cgit/debian-science/packages/sundials.git/tree/debian/patches/0001-Added-missing-linkages-
8b731cde3aaa sundials-ida: build against the SuiteSparse KLU library
Mike Miller <mtmiller@octave.org>
parents:
diff changeset
6
8b731cde3aaa sundials-ida: build against the SuiteSparse KLU library
Mike Miller <mtmiller@octave.org>
parents:
diff changeset
7 diff --git a/src/ida/CMakeLists.txt b/src/ida/CMakeLists.txt
8b731cde3aaa sundials-ida: build against the SuiteSparse KLU library
Mike Miller <mtmiller@octave.org>
parents:
diff changeset
8 --- a/src/ida/CMakeLists.txt
8b731cde3aaa sundials-ida: build against the SuiteSparse KLU library
Mike Miller <mtmiller@octave.org>
parents:
diff changeset
9 +++ b/src/ida/CMakeLists.txt
8b731cde3aaa sundials-ida: build against the SuiteSparse KLU library
Mike Miller <mtmiller@octave.org>
parents:
diff changeset
10 @@ -135,6 +135,10 @@ IF(BUILD_SHARED_LIBS)
8b731cde3aaa sundials-ida: build against the SuiteSparse KLU library
Mike Miller <mtmiller@octave.org>
parents:
diff changeset
11 ADD_LIBRARY(sundials_ida_shared SHARED
8b731cde3aaa sundials-ida: build against the SuiteSparse KLU library
Mike Miller <mtmiller@octave.org>
parents:
diff changeset
12 ${ida_SOURCES} ${ida_BL_SOURCES} ${shared_SOURCES})
8b731cde3aaa sundials-ida: build against the SuiteSparse KLU library
Mike Miller <mtmiller@octave.org>
parents:
diff changeset
13
8b731cde3aaa sundials-ida: build against the SuiteSparse KLU library
Mike Miller <mtmiller@octave.org>
parents:
diff changeset
14 + IF(KLU_FOUND)
8b731cde3aaa sundials-ida: build against the SuiteSparse KLU library
Mike Miller <mtmiller@octave.org>
parents:
diff changeset
15 + TARGET_LINK_LIBRARIES(sundials_ida_shared -lklu)
8b731cde3aaa sundials-ida: build against the SuiteSparse KLU library
Mike Miller <mtmiller@octave.org>
parents:
diff changeset
16 + ENDIF(KLU_FOUND)
8b731cde3aaa sundials-ida: build against the SuiteSparse KLU library
Mike Miller <mtmiller@octave.org>
parents:
diff changeset
17 +
8b731cde3aaa sundials-ida: build against the SuiteSparse KLU library
Mike Miller <mtmiller@octave.org>
parents:
diff changeset
18 # Set the library name and make sure it is not deleted
8b731cde3aaa sundials-ida: build against the SuiteSparse KLU library
Mike Miller <mtmiller@octave.org>
parents:
diff changeset
19 SET_TARGET_PROPERTIES(sundials_ida_shared
8b731cde3aaa sundials-ida: build against the SuiteSparse KLU library
Mike Miller <mtmiller@octave.org>
parents:
diff changeset
20 PROPERTIES OUTPUT_NAME sundials_ida CLEAN_DIRECT_OUTPUT 1)