summaryrefslogtreecommitdiff
path: root/math/mumps/files/patch-Make.inc+Makefile.inc.generic
diff options
context:
space:
mode:
authorThierry Thomas <thierry@FreeBSD.org>2017-06-14 17:04:45 +0000
committerThierry Thomas <thierry@FreeBSD.org>2017-06-14 17:04:45 +0000
commitb7d639773470a01a6efd47cf65a494f0fb8cc042 (patch)
tree3ece528b9b3cd497d4bbd66fe36c13f717e298f5 /math/mumps/files/patch-Make.inc+Makefile.inc.generic
parent* Updated to 2.5.10 (diff)
Build and install the shared libraries.
They are needed by pfg@ to port trilinos.
Diffstat (limited to 'math/mumps/files/patch-Make.inc+Makefile.inc.generic')
-rw-r--r--math/mumps/files/patch-Make.inc+Makefile.inc.generic89
1 files changed, 0 insertions, 89 deletions
diff --git a/math/mumps/files/patch-Make.inc+Makefile.inc.generic b/math/mumps/files/patch-Make.inc+Makefile.inc.generic
deleted file mode 100644
index c46cc3a1b0a7..000000000000
--- a/math/mumps/files/patch-Make.inc+Makefile.inc.generic
+++ /dev/null
@@ -1,89 +0,0 @@
---- Make.inc/Makefile.inc.generic.orig 2011-05-10 14:56:32.000000000 +0200
-+++ Make.inc/Makefile.inc.generic 2013-08-11 17:41:51.000000000 +0200
-@@ -39,7 +39,7 @@
- # Metis/ParMetis and SCOTCH/PT-SCOTCH (ver 5.1 and later) orderings are now available for MUMPS.
- #
-
--#SCOTCHDIR = ${HOME}/scotch_5.1_esmumps
-+#SCOTCHDIR = @LOCALBASE@
- #ISCOTCH = -I$(SCOTCHDIR)/include
- # You have to choose one among the following two lines depending on
- # the type of analysis you want to perform. If you want to perform only
-@@ -55,7 +55,7 @@
- IPORD = -I$(topdir)/PORD/include/
- LPORD = -L$(LPORDDIR) -lpord
-
--#LMETISDIR = /local/metis/
-+#LMETISDIR = @LOCALBASE@/lib
- #IMETIS = # Should be provided if you use parmetis
-
- # You have to choose one among the following two lines depending on
-@@ -70,7 +70,7 @@
- # The following variables will be used in the compilation process.
- # Please note that -Dptscotch and -Dparmetis imply -Dscotch and -Dmetis respectively.
- #ORDERINGSF = -Dscotch -Dmetis -Dpord -Dptscotch -Dparmetis
--ORDERINGSF = -Dpord
-+ORDERINGSF += -Dpord
- ORDERINGSC = $(ORDERINGSF)
-
- LORDERINGS = $(LMETIS) $(LPORD) $(LSCOTCH)
-@@ -91,11 +91,11 @@
- # RM : remove files
- RM = /bin/rm -f
- # CC : C compiler
--CC = cc
-+CC = @CC@
- # FC : Fortran 90 compiler
--FC = f90
-+FC = @FC@
- # FL : Fortran linker
--FL = f90
-+FL = @FC@
- # AR : Archive object in a library
- # keep a space at the end if options have to be separated from lib name
- AR = ar vr
-@@ -105,13 +105,13 @@
- #RANLIB = echo
-
- # SCALAP should define the SCALAPACK and BLACS libraries.
--SCALAP = -lscalapack -lblacs
-+SCALAP = -L@LOCALBASE@/lib -lblacs -lblacsc -lblacsf77 -lscalapack
-
- # INCLUDE DIRECTORY FOR MPI
--INCPAR = -I/usr/include
-+INCPAR = -I@LOCALBASE@/include
-
- # LIBRARIES USED BY THE PARALLEL VERSION OF MUMPS: $(SCALAP) and MPI
--LIBPAR = $(SCALAP) -L/usr/lib -lmpi
-+LIBPAR = -L@LOCALBASE@/lib -lfmpich -lmpich -lmpl $(SCALAP)
-
- # The parallel version is not concerned by the next two lines.
- # They are related to the sequential library provided by MUMPS,
-@@ -121,10 +121,10 @@
-
- # DEFINE HERE YOUR BLAS LIBRARY
-
--LIBBLAS = -lblas
-+LIBBLAS = -L@LOCALBASE@/lib @LAPACK_LIBS@ @BLAS_LIBS@
-
- # DEFINE YOUR PTHREAD LIBRARY
--LIBOTHERS = -lpthread
-+LIBOTHERS = -lpthread @GCCLIBDIR@ @FORTRANLIBS@
-
- # FORTRAN/C COMPATIBILITY:
- # Use:
-@@ -137,11 +137,11 @@
- # leave empty if your Fortran compiler does not change the symbols.
- #
-
--CDEFS = -DAdd_
-+CDEFS ?= -DAdd_
-
- #COMPILER OPTIONS
--OPTF = -O
--OPTC = -O -I.
-+OPTF = @FCFLAGS@
-+OPTC = @CFLAGS@
- OPTL = -O
-
- # CHOOSE BETWEEN USING THE SEQUENTIAL OR THE PARALLEL VERSION.