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 Grabsch
Subject: Re: [Mingw-cross-env-list] sundials
Date: Fri, 10 Jul 2015 15:54:11 +0200
User-agent: Mutt/1.5.23 (2014-03-12)

Hi Konstantin,

Is this Free Software?  What license does it have?  I wasn't able to
find the license after skimming through their website.

I'm just asking because it is very unusual for Free Software projects
to enforce download restrictions and/or registrations.


Regards,
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 Grabsch
---<<(())>>---



reply via email to

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