Page Menu
Home
HEPForge
Search
Configure Global Search
Log In
Files
F9501639
Makefile
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
5 KB
Subscribers
None
Makefile
View Options
# Set the following two variables correctly
UTESTPP_DIR = /home/igv/Code/UnitTest++
FFTW_LIBDIR = /usr/local/lib
OFILES_COMMON = test_utils.o
OTESTS_FAST = test_ArrayND.o test_OrthoPoly1D.o test_OrthoPolyND.o \
test_Functors.o test_interpolation.o test_LocalPolyFilterND.o \
test_Distributions1D.o test_InterpolatedDistribution1D.o \
test_EmpiricalCopula.o test_BoxNDScanner.o \
test_QuadraticOrthoPolyND.o test_LocalLogisticRegression.o \
test_randomPermutation.o test_gegenbauerSeriesSum.o \
test_GaussHermiteQuadrature.o test_SpecialFunctions.o \
test_GaussLegendreQuadrature.o test_WeightedStatAccumulator.o \
test_RandomSequenceRepeater.o test_logLikelihoodPeak.o \
test_legendreSeriesSum.o test_solveCubic.o test_HistoND.o \
test_SampleAccumulator.o test_GridInterpolatedDistribution.o \
test_GridAxis.o test_Matrix.o test_StatUtils.o \
test_amiseOptimalBandwidth.o test_OrderedPointND.o \
test_CompositeDistributionND.o test_CompositeBuilder.o \
test_ArchiveIO.o test_Ntuples.o test_LocalQuantileRegression.o \
test_rectangleQuadrature.o test_RegularSampler1D.o \
test_Instantiations.o test_chebyshevSeriesSum.o \
test_dawsonIntegral.o test_NMCombinationSequencer.o \
test_CrossCovarianceAccumulator.o test_StatAccumulatorPair.o \
test_findPeak2D.o test_StatAccumulatorArr.o test_SeriesCGF1D.o \
test_goldenSectionSearch.o test_empiricalQuantile.o \
test_StatAccumulator.o test_binomialCoefficient.o \
test_CircularMapper1d.o test_LinInterpolatedTableND.o \
test_StorableMultivariateFunctor.o test_NeymanPearsonWindow1D.o \
test_hermiteSeriesSum.o test_hermiteSeriesSumPhys.o \
test_DiscreteDistributions1D.o test_LocalPolyFilter1D.o \
test_definiteIntegrals.o test_ExpMapper1d.o test_MathUtils.o \
test_MemoizingSymbetaFilterProvider.o test_ResponseMatrix.o \
test_gaussianResponseMatrix.o test_RectangleQuadrature1D.o \
WeightedTestAccumulator.o TestAccumulator.o test_histoUtils.o \
test_LocalMultiFilter1D.o test_InterpolatedCompositeBuilder.o \
test_DensityAveScanND.o test_Distro1DBuilder.o \
test_findRootNewtonRaphson.o test_cumulantUncertainties.o \
test_ClassicalOrthoPolys1D.o test_ContOrthoPoly1D.o \
test_findRootUsingBisections.o test_orthoPoly1DVProducts.o \
test_truncatedInverseSqrt.o test_FejerQuadrature.o \
test_matrixIndexPairs.o test_KDE1DKernel.o test_Interval.o \
test_likelihoodStatisticCumulants.o test_Uncertainties.o \
test_DistributionsND.o EdgeworthSeries1DOld.o test_OSDE1D.o \
test_SequentialPolyFilterND.o test_HeatEq1DNeumannBoundary.o \
test_ScalableClassicalOrthoPoly1D.o LogLogQuadratic1D.o \
test_Poly1D.o
OTESTS_COMPREHENSIVE = test_ArrayND_cmh.o test_DiscreteBernstein.o \
test_KDTree.o test_rescanArray_cmh.o test_lorpeMise1D.o \
test_LOrPE1DSymbetaKernel.o
# OPTIMIZE = -std=c++11 -g -ggdb -O0
OPTIMIZE = -std=c++11 -O3
INCLUDES = -I. -I.. -I$(UTESTPP_DIR)/src -I$(FFTW_LIBDIR)/../include
CPPFLAGS = $(OPTIMIZE) $(INCLUDES) -Wall -W -Werror -Wno-unused-parameter
LIBS = -L../npstat/.libs -lnpstat -L$(UTESTPP_DIR) -lUnitTest++ \
-L$(FFTW_LIBDIR) -lfftw3 -llapack -lblas \
-L/usr/local/lib -lrk -lgeners -lbz2 -lz -lkstest -lm
%.o : %.cc
g++ -c $(CPPFLAGS) -fPIC -MD $< -o $@
@sed -i 's,\($*\.o\)[:]*\(.*\),$@: $$\(wildcard\2\)\n\1:\2,g' $*.d
# Change the "all" target below to suit your development needs.
# Useful targets which can be included are:
#
# fast fast_run
# comprehensive comprehensive_run
# regression regression_run
#
# The tests inside the "fast" target are a subset of tests from the
# "comprehensive" target
all: fast fast_run
# all: fast regression fast_run regression_run
# all: comprehensive comprehensive_run regression regression_run
fast: test_main.o $(OTESTS_FAST) $(OFILES_COMMON)
rm -f $@
g++ $(OPTIMIZE) -fPIC -o $@ $^ $(LIBS)
fast_run: fast
./fast
comprehensive: test_main.o $(OTESTS_FAST) \
$(OTESTS_COMPREHENSIVE) $(OFILES_COMMON)
rm -f $@
g++ $(OPTIMIZE) -fPIC -o $@ $^ $(LIBS)
comprehensive_run: comprehensive
./comprehensive
regression:
regression_run: regression
@ echo Running regression tests.
PROGRAMS = kdtree_speed.cc quantileBinFromCdf.cc incompleteGamma.cc \
convertToSpherical.cc printPermutations.cc showIOTraits.cc \
hugeNtuple.cc hugeNtupleRead.cc histoStdev.cc effectiveDim.cc \
buildInterpolatedCheck.cc legendreRoots.cc jacobiPolyStats.cc \
jacobiVProducts.cc jacobiEpsTest.cc gauss2DRandom.cc besselK.cc
PROGRAMS += cpp11Random.cc
PROGRAMS += failingTest.cc
BINARIES = $(PROGRAMS:.cc=)
binaries: $(BINARIES)
$(BINARIES): % : %.o $(OFILES_COMMON); g++ $(OPTIMIZE) -fPIC -o $@ $^ $(LIBS)
clean:
rm -f fast comprehensive $(BINARIES) \
*.out core.* *.o *.d *~ *.gsbd *.gsbmf
-include test_main.d
-include $(OFILES_COMMON:.o=.d)
-include $(OTESTS_FAST:.o=.d)
-include $(OTESTS_COMPREHENSIVE:.o=.d)
-include $(PROGRAMS:.cc=.d)
File Metadata
Details
Attached
Mime Type
text/x-makefile
Expires
Sun, Feb 23, 2:52 PM (1 d, 7 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
4486721
Default Alt Text
Makefile (5 KB)
Attached To
rNPSTATSVN npstatsvn
Event Timeline
Log In to Comment