File: lapacke.patch

package info (click to toggle)
eigensoft 8.0.0%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 1,936 kB
  • sloc: ansic: 33,392; perl: 717; makefile: 103; sh: 10
file content (18 lines) | stat: -rw-r--r-- 717 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Description: Make sure to link with lapacke and lapack
 Without this change, the code refuse to link because of missing
 symbols.  In addition to this patch, the package need to build-depend
 on liblapacke-dev.
Author: Petter Reinholdtsen <pere@hungry.com>
Last-Update: 2016-02-05
License: same as eigensoft itself

--- a/src/Makefile
+++ b/src/Makefile
@@ -1,6 +1,6 @@
 override CFLAGS += -I../include -I/usr/include/openblas
 #LDLIBS += -lgsl -lopenblas -lrt -lm
-override LDLIBS += -lgsl -lblas -lm -lpthread
+override LDLIBS += -lgsl -lblas -lm -llapacke -llapack -lpthread
 # Some Linux distributions require separate lapacke library
 # override LDLIBS += -llapacke
 # Mac additions using homebrew installations