Mercurial > mxe-octave
comparison src/sundials-ida.mk @ 4534:f84b27a7e47d
sundials-ida: build from archived sundials package
* src/sundials-ida.mk: version 2.7.0, use full sundials package configured for ida
author | John Donoghue <john.donoghue@ieee.org> |
---|---|
date | Sat, 11 Nov 2017 18:25:54 -0500 |
parents | 8b731cde3aaa |
children | 0cbc51911dd0 |
comparison
equal
deleted
inserted
replaced
4533:f3fb203b6fca | 4534:f84b27a7e47d |
---|---|
1 # This file is part of MXE. | 1 # This file is part of MXE. |
2 # See index.html for further information. | 2 # See index.html for further information. |
3 | 3 |
4 PKG := sundials-ida | 4 PKG := sundials-ida |
5 $(PKG)_IGNORE := | 5 $(PKG)_IGNORE := |
6 $(PKG)_VERSION := 2.9.0 | 6 $(PKG)_VERSION := 2.7.0 |
7 $(PKG)_CHECKSUM := 375a061259b06f3ae46c218b7d5473c60a46e3f8 | 7 $(PKG)_CHECKSUM := 3559c375ce9f875542e4a39978908f91792e6d57 |
8 $(PKG)_SUBDIR := ida-$($(PKG)_VERSION) | 8 $(PKG)_SUBDIR := sundials-$($(PKG)_VERSION) |
9 $(PKG)_FILE := ida-$($(PKG)_VERSION).tar.gz | 9 $(PKG)_FILE := sundials-$($(PKG)_VERSION).tar.gz |
10 $(PKG)_URL := https://computation.llnl.gov/projects/sundials/download/$($(PKG)_FILE) | 10 $(PKG)_URL := https://computation.llnl.gov/projects/sundials/download/$($(PKG)_FILE) |
11 $(PKG)_DEPS := lapack libgomp suitesparse | 11 $(PKG)_DEPS := lapack libgomp suitesparse |
12 | 12 |
13 define $(PKG)_UPDATE | 13 define $(PKG)_UPDATE |
14 echo 'Warning: Updates are temporarily disabled for package $(PKG).' >&2; | 14 echo 'Warning: Updates are temporarily disabled for package $(PKG).' >&2; |
22 -DKLU_ENABLE=ON \ | 22 -DKLU_ENABLE=ON \ |
23 -DKLU_INCLUDE_DIR=$(HOST_INCDIR)/suitesparse \ | 23 -DKLU_INCLUDE_DIR=$(HOST_INCDIR)/suitesparse \ |
24 -DKLU_LIBRARY_DIR=$(HOST_LIBDIR) \ | 24 -DKLU_LIBRARY_DIR=$(HOST_LIBDIR) \ |
25 -DSUITESPARSECONFIG_LIBRARY=$(HOST_LIBDIR)/libsuitesparseconfig.dll.a \ | 25 -DSUITESPARSECONFIG_LIBRARY=$(HOST_LIBDIR)/libsuitesparseconfig.dll.a \ |
26 -DCMAKE_TOOLCHAIN_FILE='$(CMAKE_TOOLCHAIN_FILE)' \ | 26 -DCMAKE_TOOLCHAIN_FILE='$(CMAKE_TOOLCHAIN_FILE)' \ |
27 -DBUILD_ARKODE=OFF \ | |
28 -DBUILD_CVODE=OFF \ | |
29 -DBUILD_CVODES=OFF \ | |
30 -DBUILD_IDA=ON \ | |
31 -DBUILD_IDAS=OFF \ | |
32 -DBUILD_KINSOL=OFF \ | |
33 -DBUILD_CPODES=OFF \ | |
27 '$(1)' | 34 '$(1)' |
28 $(MAKE) -C '$(1).build' -j '$(JOBS)' install DESTDIR='$(3)' VERBOSE=1 | 35 $(MAKE) -C '$(1).build' -j '$(JOBS)' install DESTDIR='$(3)' VERBOSE=1 |
29 | 36 |
30 if [ $(MXE_SYSTEM) = mingw ]; then \ | 37 if [ $(MXE_SYSTEM) = mingw ]; then \ |
31 echo "Install dlls"; \ | 38 echo "Install dlls"; \ |