Build with openblas instead of atlas (bz 1618936).
This commit is contained in:
parent
39124de8c2
commit
6920d73dda
2 changed files with 10 additions and 7 deletions
|
|
@ -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 \
|
||||
|
|
|
|||
11
DSDP.spec
11
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 <loganjerry@gmail.com> - 5.8-20
|
||||
- Build with openblas instead of atlas (bz 1618936)
|
||||
|
||||
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 5.8-19
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue