diff options
| author | Thierry Thomas <thierry@FreeBSD.org> | 2014-08-24 16:14:56 +0000 |
|---|---|---|
| committer | Thierry Thomas <thierry@FreeBSD.org> | 2014-08-24 16:14:56 +0000 |
| commit | 95c5e784df9194d6380ce04e438dbb6e60de5760 (patch) | |
| tree | fdee1567c8be2392a5e131b172c607e4c932ec8d /math/scalapack/files/patch-SLmake.inc.example | |
| parent | Add sysutils/fusefs-simple-mtpfs. (diff) | |
- Upgrade scalapack to 2.0.2 and stagify
- Bump PORTREVISION for consumers.
Notes
Notes:
svn path=/head/; revision=365954
Diffstat (limited to 'math/scalapack/files/patch-SLmake.inc.example')
| -rw-r--r-- | math/scalapack/files/patch-SLmake.inc.example | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/math/scalapack/files/patch-SLmake.inc.example b/math/scalapack/files/patch-SLmake.inc.example new file mode 100644 index 000000000000..b2740add5e2b --- /dev/null +++ b/math/scalapack/files/patch-SLmake.inc.example @@ -0,0 +1,35 @@ +--- SLmake.inc.example.orig 2011-11-01 18:24:54.000000000 +0100 ++++ SLmake.inc.example 2014-08-24 11:35:47.000000000 +0200 +@@ -20,17 +20,17 @@ + # -DUpCase (fortran subprogram names are upper case without any suffix) + # -DAdd_ (fortran subprogram names are lower case with "_" appended) + +-CDEFS = -DAdd_ ++CDEFS = -DAdd_ -DNO_IEEE $(USEMPI) + + # + # The fortran and C compilers, loaders, and their flags + # + +-FC = mpif90 +-CC = mpicc +-NOOPT = -O0 +-FCFLAGS = -O3 +-CCFLAGS = -O3 ++FC = @MPIF77@ ++CC = @MPICC@ ++NOOPT = @NOOPT@ ++FCFLAGS = @FFLAGS@ ++CCFLAGS = @CFLAGS@ + FCLOADER = $(FC) + CCLOADER = $(CC) + FCLOADFLAGS = $(FCFLAGS) +@@ -55,6 +55,6 @@ + # BLAS, LAPACK (and possibly other) libraries needed for linking test programs + # + +-BLASLIB = -lblas +-LAPACKLIB = -llapack ++BLASLIB = -L@LOCALBASE@/lib @BLAS@ ++LAPACKLIB = -L@LOCALBASE@/lib @LAPACK@ + LIBS = $(LAPACKLIB) $(BLASLIB) |
