lapack:version bump
This commit is contained in:
@@ -12,23 +12,28 @@ from pisi.actionsapi import get
|
|||||||
|
|
||||||
|
|
||||||
def setup():
|
def setup():
|
||||||
|
pisitools.dosed("INSTALL/make.inc.gfortran", "-O2 -frecursive", "")
|
||||||
|
pisitools.dosed("INSTALL/make.inc.gfortran", "-O0 -frecursive", "")
|
||||||
|
'''
|
||||||
shelltools.copy("INSTALL/make.inc.gfortran", "make.inc")
|
shelltools.copy("INSTALL/make.inc.gfortran", "make.inc")
|
||||||
|
|
||||||
if get.ARCH() == "x86_64":
|
if get.ARCH() == "x86_64":
|
||||||
pisitools.dosed("make.inc", "-O2", "%s -fPIC -m64 -funroll-all-loops" % get.CFLAGS())
|
pisitools.dosed("make.inc", "-O2", "%s -fPIC -m64 -funroll-all-loops" % get.CFLAGS())
|
||||||
pisitools.dosed("make.inc", "NOOPT =", "NOOPT =-m64 -fPIC ")
|
pisitools.dosed("make.inc", "NOOPT =", "NOOPT =-m64 -fPIC ")
|
||||||
else:
|
else:
|
||||||
pisitools.dosed("make.inc", "-O2", "%s -fPIC -funroll-all-loops" % get.CFLAGS())
|
pisitools.dosed("make.inc", "-O2", "%s -fPIC -funroll-all-loops" % get.CFLAGS())
|
||||||
|
'''
|
||||||
|
|
||||||
shelltools.makedirs("build")
|
shelltools.makedirs("build")
|
||||||
shelltools.cd("build")
|
shelltools.cd("build")
|
||||||
options = "-DCMAKE_INSTALL_LIBDIR=lib \
|
options = "-DCMAKE_INSTALL_LIBDIR=lib \
|
||||||
-DBUILD_SHARED_LIBS=ON \
|
-DBUILD_SHARED_LIBS=ON \
|
||||||
|
-DCBLAS=ON \
|
||||||
-DBUILD_TESTING=OFF"
|
-DBUILD_TESTING=OFF"
|
||||||
|
|
||||||
if get.buildTYPE() == "static":
|
if get.buildTYPE() == "static":
|
||||||
options = "-DCMAKE_INSTALL_LIBDIR=lib \
|
options = "-DCMAKE_INSTALL_LIBDIR=lib \
|
||||||
-DBUILD_SHARED_LIBS=OFF \
|
-DBUILD_SHARED_LIBS=OFF \
|
||||||
|
-DCBLAS=ON \
|
||||||
-DBUILD_TESTING=OFF"
|
-DBUILD_TESTING=OFF"
|
||||||
|
|
||||||
cmaketools.configure(options, sourceDir="..")
|
cmaketools.configure(options, sourceDir="..")
|
||||||
|
|||||||
@@ -0,0 +1,21 @@
|
|||||||
|
diff -up lapack-3.9.0/INSTALL/make.inc.gfortran.shared lapack-3.9.0/INSTALL/make.inc.gfortran
|
||||||
|
--- lapack-3.9.0/INSTALL/make.inc.gfortran.shared 2019-11-26 09:19:38.689118934 -0500
|
||||||
|
+++ lapack-3.9.0/INSTALL/make.inc.gfortran 2019-11-26 09:20:52.442628214 -0500
|
||||||
|
@@ -81,3 +81,4 @@ CBLASLIB = $(TOPSRCDIR)/libcblas.a
|
||||||
|
LAPACKLIB = $(TOPSRCDIR)/liblapack.a
|
||||||
|
TMGLIB = $(TOPSRCDIR)/libtmglib.a
|
||||||
|
LAPACKELIB = $(TOPSRCDIR)/liblapacke.a
|
||||||
|
+SHLIB_LAPACKE = $(TOPSRCDIR)/liblapacke.so
|
||||||
|
diff -up lapack-3.9.0/LAPACKE/Makefile.shared lapack-3.9.0/LAPACKE/Makefile
|
||||||
|
--- lapack-3.9.0/LAPACKE/Makefile.shared 2019-11-26 09:19:38.689118934 -0500
|
||||||
|
+++ lapack-3.9.0/LAPACKE/Makefile 2019-11-26 09:21:59.977268139 -0500
|
||||||
|
@@ -54,6 +54,9 @@ lapacke: include/lapacke_mangling.h
|
||||||
|
include/lapacke_mangling.h: include/lapacke_mangling_with_flags.h.in
|
||||||
|
cp include/lapacke_mangling_with_flags.h.in $@
|
||||||
|
|
||||||
|
+shlib: lapacke
|
||||||
|
+ $(CC) $(CFLAGS) -shared -Wl,-soname,liblapacke.so.@SHORTVER@ -o $(SHLIB_LAPACKE).@LONGVER@ src/*.o utils/*.o $(LDFLAGS) $(LIBS) -lgfortran -lc -L.. -llapack
|
||||||
|
+
|
||||||
|
.PHONY: lapacke_example
|
||||||
|
lapacke_example: lapacke
|
||||||
|
$(MAKE) -C example
|
||||||
@@ -1,5 +1,5 @@
|
|||||||
<?xml version="1.0" ?>
|
<?xml version="1.0" ?>
|
||||||
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
<!DOCTYPE PISI SYSTEM "https://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||||
<PISI>
|
<PISI>
|
||||||
<Source>
|
<Source>
|
||||||
<Name>lapack</Name>
|
<Name>lapack</Name>
|
||||||
@@ -12,12 +12,13 @@
|
|||||||
<IsA>library</IsA>
|
<IsA>library</IsA>
|
||||||
<Summary>Linear Algebra PACKage</Summary>
|
<Summary>Linear Algebra PACKage</Summary>
|
||||||
<Description>LAPACK is a standard library for numerical linear algebra. LAPACK provides routines for solving systems of simultaneous linear equations, least-squares solutions of linear systems of equations, eigenvalue problems, and singular value problems.</Description>
|
<Description>LAPACK is a standard library for numerical linear algebra. LAPACK provides routines for solving systems of simultaneous linear equations, least-squares solutions of linear systems of equations, eigenvalue problems, and singular value problems.</Description>
|
||||||
<Archive sha1sum="55ac9d6be510883c5442c8aca967722cdf58fb29" type="targz">http://www.netlib.org/lapack/lapack-3.8.0.tar.gz</Archive>
|
<Archive sha1sum="0451d180eed2b12b94aaae77e772d7573e87bec4" type="targz">https://github.com/Reference-LAPACK/lapack/archive/v3.9.0.tar.gz</Archive>
|
||||||
<BuildDependencies>
|
<BuildDependencies>
|
||||||
<Dependency>libgfortran</Dependency>
|
<Dependency>libgfortran</Dependency>
|
||||||
<Dependency>cmake</Dependency>
|
<Dependency>cmake</Dependency>
|
||||||
</BuildDependencies>
|
</BuildDependencies>
|
||||||
<Patches>
|
<Patches>
|
||||||
|
<Patch level="1">lapack-3.9.0-lapacke-shared.patch</Patch>
|
||||||
<!--Patch level="1">lapack-sharedlib.patch</Patch-->
|
<!--Patch level="1">lapack-sharedlib.patch</Patch-->
|
||||||
<!--Patch level="1">lapack-parallel-make.patch</Patch-->
|
<!--Patch level="1">lapack-parallel-make.patch</Patch-->
|
||||||
<!--Patch level="1">lapack-3.3.1-cmake-sover.patch</Patch-->
|
<!--Patch level="1">lapack-3.3.1-cmake-sover.patch</Patch-->
|
||||||
@@ -48,9 +49,37 @@
|
|||||||
<Path fileType="library">/usr/lib/pkgconfig/blas.pc</Path>
|
<Path fileType="library">/usr/lib/pkgconfig/blas.pc</Path>
|
||||||
</Files>
|
</Files>
|
||||||
</Package>
|
</Package>
|
||||||
|
|
||||||
|
<Package>
|
||||||
|
<Name>cblas</Name>
|
||||||
|
<Summary>C interface to BLAS</Summary>
|
||||||
|
<Description>Blas is a standard library which provides a number of basic algorithms for numerical algebra.</Description>
|
||||||
|
<RuntimeDependencies>
|
||||||
|
<Dependency>blas</Dependency>
|
||||||
|
</RuntimeDependencies>
|
||||||
|
<Files>
|
||||||
|
<Path fileType="library">/usr/lib/libcblas.so*</Path>
|
||||||
|
</Files>
|
||||||
|
</Package>
|
||||||
|
|
||||||
|
<Package>
|
||||||
|
<Name>cblas-devel</Name>
|
||||||
|
<Summary>Development files for CBLAS</Summary>
|
||||||
|
<Description>cblas-devel provides development files for cblas</Description>
|
||||||
|
<RuntimeDependencies>
|
||||||
|
<Dependency release="current">blas-devel</Dependency>
|
||||||
|
</RuntimeDependencies>
|
||||||
|
<Files>
|
||||||
|
<Path fileType="library">/usr/lib/libcblas.a</Path>
|
||||||
|
<Path fileType="header">/usr/include/cblas*</Path>
|
||||||
|
<Path fileType="library">/usr/lib/pkgconfig/cblas.pc</Path>
|
||||||
|
<Path fileType="library">/usr/lib/cmake/cblas-3.9.0/cblas*</Path>
|
||||||
|
</Files>
|
||||||
|
</Package>
|
||||||
|
|
||||||
<Package>
|
<Package>
|
||||||
<Name>lapack</Name>
|
<Name>lapack</Name>
|
||||||
|
<Summary>Linear Algebra PACKage</Summary>
|
||||||
<RuntimeDependencies>
|
<RuntimeDependencies>
|
||||||
<Dependency>libgcc</Dependency>
|
<Dependency>libgcc</Dependency>
|
||||||
<Dependency>libgfortran</Dependency>
|
<Dependency>libgfortran</Dependency>
|
||||||
@@ -78,6 +107,13 @@
|
|||||||
</Package>
|
</Package>
|
||||||
|
|
||||||
<History>
|
<History>
|
||||||
|
<Update release="6">
|
||||||
|
<Date>2019-12-12</Date>
|
||||||
|
<Version>3.9.0</Version>
|
||||||
|
<Comment>Version bump</Comment>
|
||||||
|
<Name>Blue DeviL</Name>
|
||||||
|
<Email>bluedevil@sctzine.com</Email>
|
||||||
|
</Update>
|
||||||
<Update release="5">
|
<Update release="5">
|
||||||
<Date>2018-08-14</Date>
|
<Date>2018-08-14</Date>
|
||||||
<Version>3.8.0</Version>
|
<Version>3.8.0</Version>
|
||||||
|
|||||||
@@ -9,15 +9,30 @@
|
|||||||
<Package>
|
<Package>
|
||||||
<Name>blas</Name>
|
<Name>blas</Name>
|
||||||
<Summary xml:lang="tr">Temel lineer cebir yordamları</Summary>
|
<Summary xml:lang="tr">Temel lineer cebir yordamları</Summary>
|
||||||
|
<Description xml:lang="tr">blas, temel lineer cebir yordamları içerir</Description>
|
||||||
|
</Package>
|
||||||
|
|
||||||
|
<Package>
|
||||||
|
<Name>cblas</Name>
|
||||||
|
<Summary xml:lang="tr">BLAS kitaplığının C arayüzü</Summary>
|
||||||
|
<Description xml:lang="tr">cblas, BLAS kitaplığının C arayüzü olan yordamları içerir</Description>
|
||||||
</Package>
|
</Package>
|
||||||
|
|
||||||
<Package>
|
<Package>
|
||||||
<Name>lapack-devel</Name>
|
<Name>lapack-devel</Name>
|
||||||
<Summary xml:lang="tr">lapack için geliştirme dosyaları</Summary>
|
<Summary xml:lang="tr">lapack için geliştirme dosyaları</Summary>
|
||||||
|
<Description xml:lang="tr">lapack-devel, lapack için geliştirme dosyaları içerir</Description>
|
||||||
</Package>
|
</Package>
|
||||||
|
|
||||||
<Package>
|
<Package>
|
||||||
<Name>blas-devel</Name>
|
<Name>blas-devel</Name>
|
||||||
<Summary xml:lang="tr">blas için geliştirme dosyaları</Summary>
|
<Summary xml:lang="tr">blas için geliştirme dosyaları</Summary>
|
||||||
|
<Description xml:lang="tr">blas-devel, blas için geliştirme dosyaları içerir</Description>
|
||||||
|
</Package>
|
||||||
|
|
||||||
|
<Package>
|
||||||
|
<Name>cblas-devel</Name>
|
||||||
|
<Summary xml:lang="tr">cblas için geliştirme dosyaları</Summary>
|
||||||
|
<Description xml:lang="tr">cblas-devel, cblas için geliştirme dosyaları içerir</Description>
|
||||||
</Package>
|
</Package>
|
||||||
</PISI>
|
</PISI>
|
||||||
|
|||||||
Reference in New Issue
Block a user