File: make-remove-rpath.patch

package info (click to toggle)
magma-rocm 2.9.0%2Bds-2
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 83,208 kB
  • sloc: cpp: 709,115; fortran: 121,916; ansic: 32,343; python: 25,603; f90: 15,208; makefile: 942; xml: 253; csh: 232; sh: 203; perl: 104
file content (26 lines) | stat: -rw-r--r-- 863 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
Index: magma/Makefile
===================================================================
--- magma.orig/Makefile
+++ magma/Makefile
@@ -117,7 +117,7 @@ LIBS       = $(LIBDIR) $(LIB)
 CPPFLAGS   = $(INC) $(MAGMA_INC)
 
 # where testers look for MAGMA libraries
-RPATH      = -Wl,-rpath,${abspath ./lib}
+RPATH      =
 
 codegen    = ./tools/codegen.py
 
Index: magma/fortran/Makefile
===================================================================
--- magma.orig/fortran/Makefile
+++ magma/fortran/Makefile
@@ -14,7 +14,7 @@ CFLAGS     = -Wall -I$(MAGMADIR)/include
 CXXFLAGS   = -Wall -I$(MAGMADIR)/include -I$(CUDADIR)/include
 FCFLAGS    = -Wall -Wno-unused-function
 LDFLAGS    =
-LIBS       = -L$(MAGMADIR)/lib -lmagma -Wl,-rpath,$(MAGMADIR)/lib
+LIBS       = -L$(MAGMADIR)/lib -lmagma
 
 # BLAS and LAPACK libraries
 # framework Accelerate is for MacOS