-
Notifications
You must be signed in to change notification settings - Fork 22
/
site_specific.mk.in
162 lines (146 loc) · 6.86 KB
/
site_specific.mk.in
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
## Site-dependent definitions included in Makefiles
## !!! Also verify the values in external_functions/ef_utility/site_specific.mk !!!
## =========================
## Full path name of the directory containing this file (the ferret root directory).
## Do not use $(shell pwd) since this is included in Makefiles in other directories.
## =========================
# DIR_PREFIX = $(HOME)/build/pyferret_dev
DIR_PREFIX = $(HOME)/git/PyFerret
# DIR_PREFIX = $(HOME)/svn/pyferret
## =========================
## Installation directory for built PyFerret.
## Using the "install" Makefile target creates a generic pyferret-*.tar.gz file
## and then extracts it to create a PyFerret installation at this location.
## =========================
# INSTALL_FER_DIR = $(HOME)/ferret_distributions/rhel6_64
INSTALL_FER_DIR = $(HOME)/PyFerret
# INSTALL_FER_DIR = $(FER_DIR)
## =========================
## Machine type for which to build Ferret/PyFerret
## x86_64-linux for 64-bit RHEL
## x86_64-linux-gnu for 64-bit Ubuntu and many "free" Linux systems
## i386-linux for 32-bit RHEL
## i386-linux-gnu for 32-bit Ubuntu and many "free" Linux systems
## intel-mac for Mac OSX
## =========================
# BUILDTYPE = $(HOSTTYPE)
BUILDTYPE = x86_64-linux
# BUILDTYPE = x86_64-linux-gnu
# BUILDTYPE = i386-linux
# BUILDTYPE = i386-linux-gnu
# BUILDTYPE = intel-mac
## =========================
## C and Fortran compilers to use. The construct "$(shell which gcc)" assigns
## the response to "which gcc" run from a Bourne shell (such as bash).
## When compiling for Mac OS X, one may wish to use clang instead of gcc.
## If you wish to use values already defined in you shell environment when
## you run make, comment out all definitions of CC and FC (do NOT leave blank).
## =========================
# CC = $(shell which clang)
CC = $(shell which gcc)
FC = $(shell which gfortran)
## =========================
## Python executable to invoke for build and install.
## =========================
# PYTHON_EXE = python2.6
# PYTHON_EXE = python2.7
PYTHON_EXE = python3.6
# PYTHON_EXE = python3.7
# PYTHON_EXE = python3.8
## =========================
## Full path to the python include files directory.
## Should not need any modifications.
## =========================
PYTHONINCDIR := $(shell $(PYTHON_EXE) -c "from __future__ import print_function ; import distutils.sysconfig; print(distutils.sysconfig.get_python_inc())")
## =========================
## If given and not empty, the full path name to the gfortran library to use.
## This is primarily used for the intel-mac build.
## The given scripts (commented out) should provide the correct value for the gfortran libraries.
## If empty or not given, the gfortran library is linked in using the "-lgfortran" flag.
## =========================
# GFORTRAN_LIB = $(shell $(FC) --print-file-name=libgfortran.dylib)
# GFORTRAN_LIB = $(shell $(FC) --print-file-name=libgfortran.a)
GFORTRAN_LIB =
## =========================
## Directory containing the Cairo static libraries (v1.12 or later).
## Include files are assumed to be located in an "include" sibling directory.
## If given and not empty, the Cairo static libraries found under this directory will be used.
## If empty or not given, the system's Cairo shared libraries will be used.
## =========================
# CAIRO_LIBDIR = /usr/local/cairo/lib
# CAIRO_LIBDIR = $(HOME)/.local/lib
# CAIRO_LIBDIR = /usr/local/lib
CAIRO_LIBDIR =
## =========================
## Directory containing the Pixman static libraries used by the above Cairo static libraries.
## Include files are assumed to be located in an "include" sibling directory.
## If given and not empty, the Pixman-1 static libraries found in this directory will be used.
## If empty or not given, the system's Pixman-1 shared library will be used.
## This value should be empty or not given if CAIRO_LIBDIR is empty or not given.
## =========================
# PIXMAN_LIBDIR = /usr/local/pixman/lib
# PIXMAN_LIBDIR = $(HOME)/.local/lib
# PIXMAN_LIBDIR = /usr/local/lib
PIXMAN_LIBDIR =
## =========================
## Directory containing the Pango shared libraries.
## Include files are assumed to be located in an "include" sibling directory.
## If given and not empty, the Pango shared libraries under this directory are used.
## If empty or not given, the system's Pango shared libraries are used.
## This value should be empty or not given if CAIRO_LIBDIR is empty or not given.
## =========================
# PANGO_LIBDIR = $(HOME)/.local/lib
# PANGO_LIBDIR = /usr/local/lib
PANGO_LIBDIR =
## =========================
## Library directory containing a "glib-2.0" subdirectory with GLib-2.0 include file(s)
## (yes, a little unusual) used by the above Pango shared libraries.
## An "include" sibling directory containing a "glib-2.0" subdirectory with more
## GLib-2.0 include files is assumed to exist.
## If given and not empty, GLib-2.0 include files under this directory are used.
## If empty or not given, the system's GLib-2.0 shared libraries are used.
## This value should be empty or not given if PANGO_LIBDIR is empty or not given.
## =========================
# GLIB2_LIBDIR = $(HOME)/.local/lib
# GLIB2_LIBDIR = /usr/local/lib
GLIB2_LIBDIR =
## =========================
## Directory containing the HDF5 static libraries.
## Include files are assumed to be located in an "include" sibling directory.
## If given and not empty, HDF5 and NetCDF static libraries will be used.
## If empty or not given, NetCDF shared libraries (which specify the HDF5 and
## compression libraries required) will be used.
## =========================
HDF5_LIBDIR = /usr/local/hdf5/lib
# HDF5_LIBDIR = $(HOME)/.local/lib
# HDF5_LIBDIR = /usr/local/lib
# HDF5_LIBDIR = /usr/lib64
# HDF5_LIBDIR = /usr/lib
# HDF5_LIBDIR =
## =========================
## Location of the SZ compression static library.
## This value should be given only if the SZ compression library was used in
## building the HDF5 library, and the NetCDF and HDF5 static libraries are being
## used (HDF5_LIBDIR is given and not empty).
## If given and not empty, the SZ compression static library is used.
## If empty or not given, the SZ compression library will not be used
## (which is what you want if the HDF5 libraries were built using the Z compression library).
## =========================
# SZ_LIBDIR = $(HOME)/.local/lib
# SZ_LIBDIR = /usr/local/lib
# SZ_LIBDIR = /usr/lib64
# SZ_LIBDIR = /usr/lib
SZ_LIBDIR =
## =========================
## Location of the NetCDF libraries.
## Include files are assumed to be located in an "include" sibling directory.
## If HDF5_LIBDIR is given and not empty, the static libraries will be used
## (along with the HDF5 static libraries).
## If HDF5_LIBDIR is empty or not given, NetCDF shared libraries will be used.
## =========================
NETCDF_LIBDIR = /usr/local/netcdf/lib
# NETCDF_LIBDIR = $(HOME)/.local/lib
# NETCDF_LIBDIR = /usr/local/lib
# NETCDF_LIBDIR = /usr/lib64
# NETCDF_LIBDIR = /usr/lib
##