mingw-cross-env-list
[Top][All Lists]
Advanced

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

Re: [Mingw-cross-env-list] sundials


From: Volker Diels-Grabsch
Subject: Re: [Mingw-cross-env-list] sundials
Date: Thu, 13 Aug 2015 21:53:44 +0200
User-agent: Mutt/1.5.23 (2014-03-12)

Hi,

Could anyone review this?

@Konstantin: If you don't get a response, please open an entry in
the issue tracker (or file a pull request), so this won't get lost.


Thanks,
Volker


Konstantin L. Metlov schrieb:
> Hello !
> 
> Please see the attached sundials.mk file, which compiles sundials suite of 
> solvers [https://computation.llnl.gov/casc/sundials/main.html] for me.
> 
> Hope you will find it useful for inclusion into MXE.
> 
> The only caveat is that sundials download requires a registration, that is
> why updating the package version will, probably, not work. Consequently, I 
> have directed the mk file to download the sundials source from Fedora mirror.
> 
> With the best regards,
>                           Konstantin.

> # This file is part of MXE.
> # See index.html for further information.
> 
> PKG             := sundials
> $(PKG)_IGNORE   :=
> $(PKG)_VERSION  := 2.6.1
> $(PKG)_CHECKSUM := dd7c072a88c95443867d8abf6d984d41b8379514
> $(PKG)_SUBDIR   := sundials-$($(PKG)_VERSION)
> $(PKG)_FILE     := sundials-$($(PKG)_VERSION).tar.gz
> $(PKG)_MD5      := 9be03633999884f53b224fd152fb919f
> $(PKG)_URL      := 
> https://pkgs.fedoraproject.org/repo/pkgs/sundials/$($(PKG)_FILE)/$($(PKG)_MD5)/$($(PKG)_FILE)
> $(PKG)_DEPS     := gcc lapack
> 
> define $(PKG)_UPDATE
>     echo 'TODO: write update script for $(PKG).' >&2;
>     echo $($(PKG)_VERSION)
> endef
> 
> define $(PKG)_BUILD
>     mkdir '$(1)/build'
>     cd '$(1)/build' && cmake .. \
>         -DCMAKE_TOOLCHAIN_FILE='$(CMAKE_TOOLCHAIN_FILE)'
>     $(MAKE) -C '$(1)/build' -j $(JOBS)
>     $(MAKE) -C '$(1)/build' -j $(JOBS) install
> endef


-- 
Volker Diels-Grabsch
----<<<((()))>>>----



reply via email to

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