29
29
# $TEMP, $TMP, or "/tmp" [a TEMP directory for MSWin users]
34
34
# Decides if the output of attempts to link various function
35
35
# during 'perl Makefile.PL' will be hidden when building PDL
36
36
# should only be set to 0 for debugging purposes
37
37
# see also L<trylink|PDL::Core::Dev/trylink>
41
41
# you can set machine specific optimizations here
42
42
# the settings will be passed to the toplevel Makefile.PL
43
43
# which *should* pass it to any recursively invoked ones
45
OPTIMIZE => undef, # '-g',
45
OPTIMIZE => undef, # '-g',
47
47
# Use posix threading to make use of multiprocessor machines
48
48
# undef -> try if possible
50
50
# true -> force use
52
WITH_POSIX_THREADS => undef,
52
WITH_POSIX_THREADS => undef,
56
# include => '-I/home/csoelle/tmp',
57
# libs => '-L/home/csoelle/tmp -lmymalloc',
56
# include => '-I/home/csoelle/tmp',
57
# libs => '-L/home/csoelle/tmp -lmymalloc',
59
59
##define malloc(n) dbgmalloc(n,__FILE__,__LINE__)
60
60
##define free(p) dbgfree(p)
67
67
# Do we want routines to handle bad values?
70
70
# false -> no, undef -> no
75
75
# if WITH_BADVAL == 1, do we use NaN/Inf to represent badvalues
76
76
# (not convinced setting this results in faster code)
81
81
# the original BADVAL implementation assigned bad-values on pdl-types,
82
82
# not per pdl, setting the following to one will make it a pdl-variable
83
83
# THIS IS AN EXPERIMENTAL FEATURE -- BEWARE...
86
# BADVAL_PER_PDL => 1,
86
# BADVAL_PER_PDL => 1,
89
89
# Try to build Graphics/TriD
91
91
# There are problems with the build on OS-X, so we turn it off by default
99
# OPENGL_LIBS => '-L/usr/local/Mesa/lib -lGL -lGLU -lXext -lX11',
100
# Mesa need -DGL_GLEXT_LEGACY for glPolygonOffsetEXT amoung others
102
# OPENGL_DEFINE => '-DGL_GLEXT_LEGACY',
103
# OPENGL_INC => '-I/usr/include/GL/',
97
# Build Graphics/TriD using Perl OpenGL (experimental)
102
POGL_VERSION => 0.60, # minimum compatible OpenGL version
104
# POGL_WINDOW_TYPE => 'x11', # use X11+GLX for windows
105
POGL_WINDOW_TYPE => 'glut', # use GLUT for windows
110
# OPENGL_LIBS => '-L/usr/local/Mesa/lib -lGL -lGLU -lXext -lX11',
112
# Mesa needs -DGL_GLEXT_LEGACY for glPolygonOffsetEXT among others
114
# OPENGL_DEFINE => '-DGL_GLEXT_LEGACY',
115
# OPENGL_INC => '-I/usr/include/GL/',
108
# OPENGL_LIBS => '-lGL -lGLU -lXext -lX11',
110
# OPENGL_DEFINE => '',
120
# OPENGL_LIBS => '-lGL -lGLU -lXext -lX11',
122
# OPENGL_DEFINE => '',
112
124
# Let perl try to figure it out
113
# OPENGL_LIBS => undef,
114
# OPENGL_INC => undef,
115
# OPENGL_DEFINE => undef,
125
# OPENGL_LIBS => undef,
126
# OPENGL_INC => undef,
127
# OPENGL_DEFINE => undef,
117
129
# Whether or not to build the Karma interface module
133
145
# WHERE_PLPLOT_LIBS => '/usr/local/plplot/lib', # PLplot lib dir
134
146
# WHERE_PLPLOT_INCLUDE => '/usr/local/plplot/include', # PLplot include dir
137
149
# Whether or not to build the PDL::Slatec module
139
151
# true -> force use
141
153
WITH_SLATEC => undef, # Leave it up to PDL to decide
155
# Whether or not to build the PDL::Minuit module
158
WITH_MINUIT => undef, # Leave it up to PDL to decide
160
# If MINUIT_LIB is undef a standalone version of Minuit will be compiled
161
# and PDL::Minuit will link to this library (fortran code can be found
162
# at Lib/Minuit/minuitlib)
163
# If you want to try to link directly to the Minuit present
164
# in the CERN library libpacklib.a, include the full path to the library
165
# here, e.g., MINUIT_LIB => '/usr/local/lib/libpacklib.a',
143
169
# Whether or not to build the PDL::GSL module
145
171
# true -> force use
147
173
WITH_GSL => undef, # Leave it up to PDL to decide
149
175
# link flags for the GSL libs, e.g. '-L/usr/local/lib -lgsl -lm'
150
GSL_LIBS => undef, # use gsl-config
176
GSL_LIBS => undef, # use gsl-config
151
177
# Location to find GSL includes:
152
GSL_INC => undef, # use gsl-config
178
GSL_INC => undef, # use gsl-config
154
180
# Whether or not to build the PDL::FFTW module
158
184
WITH_FFTW => undef, # Leave it up to PDL to decide
160
186
# Location to search for the FFTW libs
161
FFTW_LIBS => [ '/lib','/usr/lib','/usr/local/lib'],
187
FFTW_LIBS => [ '/lib','/usr/lib','/usr/local/lib'],
162
188
# Location to find FFTW includes:
163
FFTW_INC => ['/usr/include/','/usr/local/include'],
189
FFTW_INC => ['/usr/include/','/usr/local/include'],
165
191
# FFTW Numeric Precision Type to link in: (double or single precision)
166
FFTW_TYPE => 'double',
192
FFTW_TYPE => 'double',
168
194
# Whether or not to build the PDL::IO::HDF module
192
218
# - 1 builds, 0 or undef does not build
194
220
WITH_IO_BROWSER => 0,
222
# Quiet Astro::FITS::Header warnings for PDL build process by default
223
# Eventually would be better to set undef by default, and have the
224
# Makefile.PL change the value after it has been found missing once.
225
# TBD after PDL 2.4.3 release...
197
230
1; # Return OK status on 'require'