Commit e21b96bd authored by Alvarez, Gonzalo's avatar Alvarez, Gonzalo
Browse files

C++11 by default and officially required

parent dd825076
Loading
Loading
Loading
Loading

TestSuite/inputs/Config.make

deleted100644 → 0
+0 −23
Original line number Diff line number Diff line
# Base Config
include ConfigBase.make

# Here add your lapack and blas libraries or say NO_LAPACK
# CPPFLAGS += -DNO_LAPACK
# If on MacOs please say LDFLAGS += -framework Accelerate
LDFLAGS += -llapack -lblas

# Here add -lpthread if threading is needed and also
# set -DUSE_PTHREADS below
LDFLAGS += -lpthread

# Enable pthreads
CPPFLAGS += -DUSE_PTHREADS

# This disables debugging
CPPFLAGS += -DNDEBUG

# Optimization level here
CPPFLAGS += -O3

# Specify the strip command to use (or use true to disable)
STRIP_COMMAND = strip

TestSuite/inputs/ConfigBase.make

deleted100644 → 0
+0 −55
Original line number Diff line number Diff line
# Compiler to use. For clang++ see commented out line.
# Note that -mtune=native -march=native should not be
# used if you intend your executable to run in machines
# other than the one your are compiling on
CXX = g++ -frecord-gcc-switches -mtune=native -march=native
#CXX = clang++ -mtune=native

# We're using ansi C++
CPPFLAGS += -pedantic -std=c++98

# Enable MPI (you must set the proper
# compiler wrapper under CXX above)
# CPPFLAGS += -DUSE_MPI

# Enable warnings and treat warnings as errors
CPPFLAGS += -Wall -Wendif-labels

# Treat warnings as errors
# (hdf5 on Ubuntu does not pass this, so it's
# commented out by default now)
#CPPFLAGS += -Werror

# This enables additional debugging
#CPPFLAGS += -D_GLIBCXX_DEBUG -D_GLIBCXX_PROFILE

#If you don't have hdf5 then uncomment this line
# and comment out the hdf5 includes and libs below
#CPPFLAGS += -DUSE_IO_SIMPLE

#When using IoNg one has to compile with HDF5 libraries
CPPFLAGS += -I/usr/include/hdf5/serial
LDFLAGS += -L/usr/lib/x86_64-linux-gnu/hdf5/serial/
LDFLAGS += -lhdf5_hl_cpp -lhdf5_cpp -lhdf5_hl -lhdf5

# This makes the code use long instead of short integers
#CPPFLAGS +=-DUSE_LONG

# This makes the code use float instead of double
#CPPFLAGS += -DUSE_FLOAT

# This enables signals
#CPPFLAGS +=-DUSE_SIGNALS

# This enables gsl support
#CPPFLAGS +=-DUSE_GSL
#LDFLAGS += -lgsl -lgslcblas

# This enables the custom allocator (use only for debugging)
#CPPFLAGS += -DUSE_CUSTOM_ALLOCATOR

#CPPFLAGS += -DUSE_BOOST

# Specify the strip command to use (or use true to disable)
STRIP_COMMAND = true
+1 −1
Original line number Diff line number Diff line
@@ -13,7 +13,7 @@ compilerCPP CLANG = CXX = clang++
compilerCPPOptions ansi = (

# We're using ansi C++
CPPFLAGS += -pedantic -std=c++98
CPPFLAGS += -pedantic -std=c++11

# Enable warnings and treat warnings as errors
CPPFLAGS += -Wall -Wendif-labels
+0 −17
Original line number Diff line number Diff line
# Base Config
include ConfigBase.make

# This disables debugging
CPPFLAGS += -DNDEBUG

# Optimization level here
CPPFLAGS += -O3

# This enables partial debugging (make sure to comment out previous line)
CPPFLAGS +=   -g3

# Here add your lapack and blas libraries or say NO_LAPACK
# CPPFLAGS += -DNO_LAPACK
# If on MacOs please say LDFLAGS += -framework Accelerate
LDFLAGS += -llapack -lblas

TestSuite/inputs/ConfigDebug.make

deleted100644 → 0
+0 −10
Original line number Diff line number Diff line
# Base Config
include ConfigBase.make

# This enables partial debugging (make sure to comment out previous line)
CPPFLAGS +=   -g3 -Werror

# Here add your lapack and blas libraries or say NO_LAPACK
# CPPFLAGS += -DNO_LAPACK
# If on MacOs please say LDFLAGS += -framework Accelerate
LDFLAGS += -llapack -lblas
Loading