mirror of
https://git.freebsd.org/ports.git
synced 2025-04-29 18:16:48 -04:00
74 lines
2.9 KiB
Diff
74 lines
2.9 KiB
Diff
--- Bmake.inc.orig 2000-02-25 01:22:28.000000000 +0100
|
|
+++ Bmake.inc 2014-08-22 23:50:32.000000000 +0200
|
|
@@ -13,7 +13,7 @@
|
|
# -----------------------------
|
|
# The top level BLACS directory
|
|
# -----------------------------
|
|
- BTOPdir = $(HOME)/BLACS
|
|
+ BTOPdir = @WRKSRC@
|
|
|
|
# ---------------------------------------------------------------------------
|
|
# The communication library your BLACS have been written for.
|
|
@@ -32,14 +32,14 @@
|
|
# -------------------------------------------------------------
|
|
# The platform identifier to suffix to the end of library names
|
|
# -------------------------------------------------------------
|
|
- PLAT = LINUX
|
|
+ PLAT = FreeBSD
|
|
|
|
# ----------------------------------------------------------
|
|
# Name and location of the BLACS library. See section 2 for
|
|
# details on BLACS debug level (BLACSDBGLVL).
|
|
# ----------------------------------------------------------
|
|
BLACSdir = $(BTOPdir)/LIB
|
|
- BLACSDBGLVL = 0
|
|
+ BLACSDBGLVL = @DEBUG_LEVEL@
|
|
BLACSFINIT = $(BLACSdir)/blacsF77init_$(COMMLIB)-$(PLAT)-$(BLACSDBGLVL).a
|
|
BLACSCINIT = $(BLACSdir)/blacsCinit_$(COMMLIB)-$(PLAT)-$(BLACSDBGLVL).a
|
|
BLACSLIB = $(BLACSdir)/blacs_$(COMMLIB)-$(PLAT)-$(BLACSDBGLVL).a
|
|
@@ -47,10 +47,10 @@
|
|
# -------------------------------------
|
|
# Name and location of the MPI library.
|
|
# -------------------------------------
|
|
- MPIdir = /usr/local/mpich
|
|
+ MPIdir = @LOCALBASE@
|
|
MPILIBdir = $(MPIdir)/lib/
|
|
MPIINCdir = $(MPIdir)/include
|
|
- MPILIB = $(MPILIBdir)/libmpich.a
|
|
+ MPILIB = -lmpi -lmpifort -pthread
|
|
|
|
# -------------------------------------
|
|
# All libraries required by the tester.
|
|
@@ -93,7 +93,7 @@
|
|
# setting for your platform, compile and run BLACS/INSTALL/xintface.
|
|
# Choices are: Add_, NoChange, UpCase, or f77IsF2C.
|
|
# ---------------------------------------------------------------------------
|
|
- INTFACE = -Df77IsF2C
|
|
+ INTFACE = -DAdd_
|
|
|
|
# ------------------------------------------------------------------------
|
|
# Allows the user to vary the topologies that the BLACS default topologies
|
|
@@ -195,16 +195,15 @@
|
|
# optimization. This is the F77NO_OPTFLAG. The usage of the remaining
|
|
# macros should be obvious from the names.
|
|
#=============================================================================
|
|
- F77 = g77
|
|
- F77NO_OPTFLAGS =
|
|
- F77FLAGS = $(F77NO_OPTFLAGS) -O
|
|
- F77LOADER = $(F77)
|
|
- F77LOADFLAGS =
|
|
- CC = gcc
|
|
- CCFLAGS = -O4
|
|
+ F77 = @F77@
|
|
+ F77NO_OPTFLAGS = @F77EXTRAFLAGS@
|
|
+ F77FLAGS = @FFLAGS@
|
|
+ F77LOADER = @F77@
|
|
+ F77LOADFLAGS = @FFLAGS@
|
|
+ CC = @CC@
|
|
+ CCFLAGS = @CFLAGS@
|
|
CCLOADER = $(CC)
|
|
CCLOADFLAGS =
|
|
-
|
|
# --------------------------------------------------------------------------
|
|
# The archiver and the flag(s) to use when building an archive (library).
|
|
# Also the ranlib routine. If your system has no ranlib, set RANLIB = echo.
|