-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathm.config.example
87 lines (63 loc) · 2.6 KB
/
m.config.example
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
#############################################################\
# User Configurable options for nurfana ---_-
# Copy this file to m.config and modify \
# ---
# This gets included by the makefile, so trivial things like / \
# trailing spaces can potentially cause issues / \
###########################################################################
####################################
## phased array related settings ##
####################################
# Enable Phased-Array Support (yes or no)
HAVE_NUPHASEROOT:=yes
# Note that this only sets it if not defined in environment
NUPHASE_INSTALL_DIR?=/usr/local
# Include directory for nuphaseroot
NUPHASEROOT_INCDIR:=${NUPHASE_INSTALL_DIR}/include
# Lib directory for nuphaseroot
NUPHASEROOT_LIBDIR:=${NUPHASE_INSTALL_DIR}/lib
##########################
## ARA related settings ##
##########################
# Enable AraRoot support (yes or no)
HAVE_ARAROOT:=no
## Note that this only sets it if not defined in environment
ARA_UTIL_INSTALL_DIR?=/usr/local
## ARA include directory
ARAROOT_INCDIR:=${ARA_UTIL_INSTALL_DIR}/include
## ARA lib directory
ARAROOT_LIBDIR:=${ARA_UTIL_INSTALL_DIR}/lib
############################
## Installation Settings ##
############################
#
# (if NURFANA_INSTALL_DIR isn't explicity defined, try using $(NUPHASE_INSTALL_DIR)
NURFANA_INSTALL_DIR?=$(NUPHASE_INSTALL_DIR)
# Prefix for make install (and also rpath gets set here)
PREFIX:=${NURFANA_INSTALL_DIR}
##################################
# Compilation / Linking options #
# experts only #
##################################
## c++ compiler (will be overwritten by environment)
CXX?=g++
## c compiler (will be overwritten by environment)
CC?=cc
## optional compilation flags, like optimization flags, additional debug flags
CXXFLAGS:= -march=native -Os -ftree-vectorize -g -flto -Werror
CFLAGS:= -march=native -Os -ftree-vectorize -g -flto -Werror
## optional linker flags
LDFLAGS:= -flto -g -Os
##################################################
############3rd party library settings ############
###################################################3
### ROOT SETUP###
ROOTCLING:=`root-config --bindir`/rootcling
ROOT_INCDIR:=`root-config --incdir`
ROOT_LIBS:=`root-config --glibs`
### GSL Settings###
GSL_INCDIR := `gsl-config --prefix`/include
GSL_LIBS := `gsl-config --libs`
###FFTW3 settings###
FFTW3_INCDIR:=`pkg-config --variable=includedir fftw3`
FFTW3_LIBS:= `pkg-config --libs fftw3`