lapack:version bump
This commit is contained in:
@@ -12,23 +12,28 @@ from pisi.actionsapi import get
|
||||
|
||||
|
||||
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")
|
||||
|
||||
if get.ARCH() == "x86_64":
|
||||
pisitools.dosed("make.inc", "-O2", "%s -fPIC -m64 -funroll-all-loops" % get.CFLAGS())
|
||||
pisitools.dosed("make.inc", "NOOPT =", "NOOPT =-m64 -fPIC ")
|
||||
else:
|
||||
pisitools.dosed("make.inc", "-O2", "%s -fPIC -funroll-all-loops" % get.CFLAGS())
|
||||
'''
|
||||
|
||||
shelltools.makedirs("build")
|
||||
shelltools.cd("build")
|
||||
options = "-DCMAKE_INSTALL_LIBDIR=lib \
|
||||
-DBUILD_SHARED_LIBS=ON \
|
||||
-DCBLAS=ON \
|
||||
-DBUILD_TESTING=OFF"
|
||||
|
||||
if get.buildTYPE() == "static":
|
||||
options = "-DCMAKE_INSTALL_LIBDIR=lib \
|
||||
-DBUILD_SHARED_LIBS=OFF \
|
||||
-DCBLAS=ON \
|
||||
-DBUILD_TESTING=OFF"
|
||||
|
||||
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" ?>
|
||||
<!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>
|
||||
<Source>
|
||||
<Name>lapack</Name>
|
||||
@@ -12,12 +12,13 @@
|
||||
<IsA>library</IsA>
|
||||
<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>
|
||||
<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>
|
||||
<Dependency>libgfortran</Dependency>
|
||||
<Dependency>cmake</Dependency>
|
||||
</BuildDependencies>
|
||||
<Patches>
|
||||
<Patch level="1">lapack-3.9.0-lapacke-shared.patch</Patch>
|
||||
<!--Patch level="1">lapack-sharedlib.patch</Patch-->
|
||||
<!--Patch level="1">lapack-parallel-make.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>
|
||||
</Files>
|
||||
</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>
|
||||
<Name>lapack</Name>
|
||||
<Summary>Linear Algebra PACKage</Summary>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>libgcc</Dependency>
|
||||
<Dependency>libgfortran</Dependency>
|
||||
@@ -78,6 +107,13 @@
|
||||
</Package>
|
||||
|
||||
<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">
|
||||
<Date>2018-08-14</Date>
|
||||
<Version>3.8.0</Version>
|
||||
|
||||
@@ -9,15 +9,30 @@
|
||||
<Package>
|
||||
<Name>blas</Name>
|
||||
<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>
|
||||
<Name>lapack-devel</Name>
|
||||
<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>
|
||||
<Name>blas-devel</Name>
|
||||
<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>
|
||||
</PISI>
|
||||
|
||||
Reference in New Issue
Block a user