[arch-commits] Commit in dsdp/repos/community-x86_64 (4 files)
Antonio Rojas
arojas at gemini.archlinux.org
Sun Apr 24 16:54:16 UTC 2022
Date: Sunday, April 24, 2022 @ 16:54:16
Author: arojas
Revision: 1189629
archrelease: copy trunk to community-x86_64
Added:
dsdp/repos/community-x86_64/PKGBUILD
(from rev 1189628, dsdp/trunk/PKGBUILD)
dsdp/repos/community-x86_64/make.include.patch
(from rev 1189628, dsdp/trunk/make.include.patch)
Deleted:
dsdp/repos/community-x86_64/PKGBUILD
dsdp/repos/community-x86_64/make.include.patch
--------------------+
PKGBUILD | 65 +++++++++++++++++++++++++--------------------------
make.include.patch | 28 ++++++++++-----------
2 files changed, 47 insertions(+), 46 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-04-24 16:54:04 UTC (rev 1189628)
+++ PKGBUILD 2022-04-24 16:54:16 UTC (rev 1189629)
@@ -1,32 +0,0 @@
-# Maintainer: Andrzej Giniewicz <gginiu at gmail.com>
-# Contributor: Cristóvão D. Sousa <crisjss at gmail.com>
-pkgname=dsdp
-pkgver=5.8
-pkgrel=5
-pkgdesc="A free open source implementation of an interior-point method for semidefinite programming"
-arch=('x86_64')
-url="https://www.mcs.anl.gov/hs/software/DSDP"
-license=('custom')
-depends=("lapack")
-source=("https://www.mcs.anl.gov/hs/software/${pkgname^^}/${pkgname^^}$pkgver.tar.gz"
- "make.include.patch")
-md5sums=('37c15a3c6c3f13e31262f65ac4364b5e'
- 'd90d4bf5ce00f6f86722db2624675ae5')
-
-build() {
- cd "$srcdir/${pkgname^^}$pkgver"
-
- patch make.include < "$srcdir/make.include.patch"
-
- make DSDPROOT="$srcdir/${pkgname^^}$pkgver" dsdpapi
-}
-
-package() {
- cd "$srcdir/${pkgname^^}$pkgver"
-
- install -d "$pkgdir"/usr/{lib,include/dsdp}
- install -Dm755 bin/dsdp5 "$pkgdir"/usr/bin/dsdp5
- install -Dm644 lib/* "$pkgdir"/usr/lib/
- install -Dm644 include/*.h "$pkgdir"/usr/include/dsdp/
- install -Dm644 dsdp-license "$pkgdir"/usr/share/licenses/$pkgname/dsdp-license
-}
Copied: dsdp/repos/community-x86_64/PKGBUILD (from rev 1189628, dsdp/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-04-24 16:54:16 UTC (rev 1189629)
@@ -0,0 +1,33 @@
+# Maintainer: Andrzej Giniewicz <gginiu at gmail.com>
+# Contributor: Cristóvão D. Sousa <crisjss at gmail.com>
+pkgname=dsdp
+pkgver=5.8
+pkgrel=6
+pkgdesc="A free open source implementation of an interior-point method for semidefinite programming"
+arch=('x86_64')
+url="https://www.mcs.anl.gov/hs/software/DSDP"
+license=('custom')
+depends=("lapack")
+source=("https://www.mcs.anl.gov/hs/software/${pkgname^^}/${pkgname^^}$pkgver.tar.gz"
+ "make.include.patch")
+md5sums=('37c15a3c6c3f13e31262f65ac4364b5e'
+ 'd90d4bf5ce00f6f86722db2624675ae5')
+
+build() {
+ cd "$srcdir/${pkgname^^}$pkgver"
+
+ patch make.include < "$srcdir/make.include.patch"
+
+ CFLAGS+=' -ffat-lto-objects' \
+ make DSDPROOT="$srcdir/${pkgname^^}$pkgver" dsdpapi
+}
+
+package() {
+ cd "$srcdir/${pkgname^^}$pkgver"
+
+ install -d "$pkgdir"/usr/{lib,include/dsdp}
+ install -Dm755 bin/dsdp5 "$pkgdir"/usr/bin/dsdp5
+ install -Dm644 lib/* "$pkgdir"/usr/lib/
+ install -Dm644 include/*.h "$pkgdir"/usr/include/dsdp/
+ install -Dm644 dsdp-license "$pkgdir"/usr/share/licenses/$pkgname/dsdp-license
+}
Deleted: make.include.patch
===================================================================
--- make.include.patch 2022-04-24 16:54:04 UTC (rev 1189628)
+++ make.include.patch 2022-04-24 16:54:16 UTC (rev 1189629)
@@ -1,14 +0,0 @@
-24c24
-< OPTFLAGS = -O3
----
-> OPTFLAGS = -O3 -fPIC
-46,47c46,47
-< CFLAGS = ${OPTFLAGS} -I. -I${DSDPROOT}/include ${DSDPCFLAGS}
-< CLINKER = ${CC} ${OPTFLAGS}
----
-> CFLAGS := ${CFLAGS} ${OPTFLAGS} -I. -I${DSDPROOT}/include ${DSDPCFLAGS}
-> CLINKER = ${CC} ${LDFLAGS} ${OPTFLAGS}
-58c58
-< LAPACKBLAS = -llapack -lblas -lg2c -lm
----
-> LAPACKBLAS = -llapack -lblas -lgfortran -lm
Copied: dsdp/repos/community-x86_64/make.include.patch (from rev 1189628, dsdp/trunk/make.include.patch)
===================================================================
--- make.include.patch (rev 0)
+++ make.include.patch 2022-04-24 16:54:16 UTC (rev 1189629)
@@ -0,0 +1,14 @@
+24c24
+< OPTFLAGS = -O3
+---
+> OPTFLAGS = -O3 -fPIC
+46,47c46,47
+< CFLAGS = ${OPTFLAGS} -I. -I${DSDPROOT}/include ${DSDPCFLAGS}
+< CLINKER = ${CC} ${OPTFLAGS}
+---
+> CFLAGS := ${CFLAGS} ${OPTFLAGS} -I. -I${DSDPROOT}/include ${DSDPCFLAGS}
+> CLINKER = ${CC} ${LDFLAGS} ${OPTFLAGS}
+58c58
+< LAPACKBLAS = -llapack -lblas -lg2c -lm
+---
+> LAPACKBLAS = -llapack -lblas -lgfortran -lm
More information about the arch-commits
mailing list