sundials:first pisi release
This commit is contained in:
@@ -0,0 +1,36 @@
|
||||
#!/usr/bin/env python
|
||||
# -*- coding: utf-8 -*-
|
||||
#
|
||||
# Licensed under the GNU General Public License, version 3.
|
||||
# See the file http://www.gnu.org/licenses/gpl.txt
|
||||
|
||||
from pisi.actionsapi import get
|
||||
from pisi.actionsapi import pisitools
|
||||
from pisi.actionsapi import shelltools
|
||||
from pisi.actionsapi import cmaketools
|
||||
|
||||
def setup():
|
||||
shelltools.makedirs("build")
|
||||
shelltools.cd("build")
|
||||
cmaketools.configure("-DKLU_ENABLE=ON \
|
||||
-DMPI_ENABLE=ON \
|
||||
-DOPENMP_ENABLE=ON \
|
||||
-DPTHREAD_ENABLE=ON \
|
||||
-DF77_INTERFACE_ENABLE=ON \
|
||||
-DCMAKE_INSTALL_LIBDIR=lib \
|
||||
-DKLU_LIBRARY_DIR=/usr/lib \
|
||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||
-DCMAKE_C_FLAGS='-fPIC -fcommon' \
|
||||
-DEXAMPLES_INSTALL_PATH=/usr/share/sundials/examples", sourceDir="..")
|
||||
|
||||
def build():
|
||||
shelltools.cd("build")
|
||||
cmaketools.make()
|
||||
|
||||
def install():
|
||||
shelltools.cd("build")
|
||||
cmaketools.rawInstall("DESTDIR=%s" % get.installDIR())
|
||||
|
||||
shelltools.cd("..")
|
||||
|
||||
pisitools.dodoc("LICENSE", "NOTICE", "README*")
|
||||
@@ -0,0 +1,63 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "https://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>sundials</Name>
|
||||
<Homepage>https://computing.llnl.gov/projects/sundials</Homepage>
|
||||
<Packager>
|
||||
<Name>Blue Devil</Name>
|
||||
<Email>bluedevil@sctzine.com</Email>
|
||||
</Packager>
|
||||
<PartOf>science.mathematics</PartOf>
|
||||
<License>BSD</License>
|
||||
<IsA>library</IsA>
|
||||
<Summary>Suite of nonlinear differential/algebraic equation solvers.</Summary>
|
||||
<Description>sundials provides a suite of nonlinear differential/algebraic equation solvers.</Description>
|
||||
<Archive sha1sum="a33d5a9f19fad4e4a257a8c9ae1c321550885996" type="targz">https://computation.llnl.gov/projects/sundials/download/sundials-5.3.0.tar.gz</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>cmake</Dependency>
|
||||
<Dependency>libquadmath</Dependency>
|
||||
<Dependency>python-devel</Dependency>
|
||||
<Dependency>openmpi-devel</Dependency>
|
||||
<Dependency>suitesparse-devel</Dependency>
|
||||
</BuildDependencies>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>sundials</Name>
|
||||
<Summary>A program that automatically solves layouts of Freecell and similar variants of Card Solitaire</Summary>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>openmpi</Dependency>
|
||||
<Dependency>libgomp</Dependency>
|
||||
<Dependency>suitesparse</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="data">/usr/share</Path>
|
||||
<Path fileType="library">/usr/lib</Path>
|
||||
<Path fileType="doc">/usr/share/doc</Path>
|
||||
<Path fileType="executable">/usr/bin</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>sundials-devel</Name>
|
||||
<Summary>Development files for sundials</Summary>
|
||||
<RuntimeDependencies>
|
||||
<Dependency release="current">sundials</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="header">/usr/include</Path>
|
||||
<Path fileType="library">/usr/lib/pkgconfig</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="1">
|
||||
<Date>2020-05-26</Date>
|
||||
<Version>5.3.0</Version>
|
||||
<Comment>First release.</Comment>
|
||||
<Name>Blue Devil</Name>
|
||||
<Email>bluedevil@sctzine.com</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" ?>
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>sundials</Name>
|
||||
<Summary xml:lang="tr">Doğrusal olmayan diferansiyel ve cebirsel eşitlik çözücüsü</Summary>
|
||||
<Description xml:lang="tr">sundials, doğrusal olmayan diferansiyel ve cebirsel eşitlik çözücüleri içeren bir kitaplıktır.</Description>
|
||||
</Source>
|
||||
</PISI>
|
||||
Reference in New Issue
Block a user