From 6920d73dda93f4445c1925c090d8279e89f7a2f5 Mon Sep 17 00:00:00 2001 From: Jerry James Date: Sat, 13 Oct 2018 10:42:45 -0600 Subject: [PATCH] Build with openblas instead of atlas (bz 1618936). --- DSDP.Makefile | 6 +++--- DSDP.spec | 11 +++++++---- 2 files changed, 10 insertions(+), 7 deletions(-) diff --git a/DSDP.Makefile b/DSDP.Makefile index 8febb44..d2220ec 100644 --- a/DSDP.Makefile +++ b/DSDP.Makefile @@ -11,11 +11,11 @@ # Forget it! I'm writing my own Makefile. CC = gcc -INCLUDES = -I/usr/include/atlas -Iinclude -Isrc/solver -Isrc/sdp -Isrc/vecmat +INCLUDES = -I/usr/include/openblas -Iinclude -Isrc/solver -Isrc/sdp -Isrc/vecmat CFLAGS = @RPM_OPT_FLAGS@ -fPIC -DDSDP_TIME $(INCLUDES) BFLAGS = @RPM_OPT_FLAGS@ -DDSDP_TIME -Iinclude -Lsrc -LDFLAGS = @RPM_LD_FLAGS@ -Wl,--as-needed -L@libdir@/atlas -lsatlas -lm -BDFLAGS = @RPM_LD_FLAGS@ -Wl,--as-needed -ldsdp -L@libdir@/atlas -lsatlas -lm +LDFLAGS = @RPM_LD_FLAGS@ -Wl,--as-needed -lopenblas -lm +BDFLAGS = @RPM_LD_FLAGS@ -Wl,--as-needed -ldsdp -lopenblas -lm SONAME = -Wl,-h,libdsdp.so.5 SOLVER_OBJS = src/solver/dualalg.o src/solver/dualimpl.o \ diff --git a/DSDP.spec b/DSDP.spec index 752172b..0e6a5c3 100644 --- a/DSDP.spec +++ b/DSDP.spec @@ -1,6 +1,6 @@ Name: DSDP Version: 5.8 -Release: 19%{?dist} +Release: 20%{?dist} Summary: Software for semidefinite programming License: DSDP @@ -12,14 +12,14 @@ Source0: DSDP%{version}.tar.gz Source1: DSDP-man.tar.xz # A substitute makefile to fix the brokenness of the distributed Makefiles Source2: DSDP.Makefile -# This patch fixes a buffer overflow in one of the examples. It has not yet -# been sent upstream. +# This patch fixes a buffer overflow in one of the examples. There is no +# longer an upstream to which it can be sent. Patch0: DSDP-overflow.patch -BuildRequires: atlas-devel BuildRequires: doxygen-latex BuildRequires: gcc BuildRequires: ghostscript +BuildRequires: openblas-devel %description DSDP is a free open source implementation of an interior-point method @@ -115,6 +115,9 @@ done %{_mandir}/man1/* %changelog +* Tue Oct 2 2018 Jerry James - 5.8-20 +- Build with openblas instead of atlas (bz 1618936) + * Thu Jul 12 2018 Fedora Release Engineering - 5.8-19 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild