From 344e29abe503931ce8529a1e90eee19b4e3c3e3e Mon Sep 17 00:00:00 2001 From: eap Date: Wed, 14 Jan 2009 10:26:01 +0000 Subject: [PATCH] MEDMEM Industrialization 2008 +# DO NOT define "OPTIMIZE" here (-DOPTIMIZE), else you may have problems +# due to different sizeof(TransformedTriangle) in different packages libinterpkernel_la_CPPFLAGS= @CXXTMPDPTHFLAGS@ \ - -I$(srcdir) -I$(srcdir)/../MEDMEM $(BOOST_CPPFLAGS) -DOPTIMIZE -DLOG_LEVEL=0 \ + -I$(srcdir) -I$(srcdir)/../MEDMEM $(BOOST_CPPFLAGS) -DLOG_LEVEL=0 \ --- src/INTERP_KERNEL/Makefile.am | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/INTERP_KERNEL/Makefile.am b/src/INTERP_KERNEL/Makefile.am index 8fa7966d5..2e2e239fb 100644 --- a/src/INTERP_KERNEL/Makefile.am +++ b/src/INTERP_KERNEL/Makefile.am @@ -57,7 +57,7 @@ Geometric2DIntersector.txx IntersectorTetra.txx PolygonAlgorithms Interpolation2D.txx MEDNormalizedUnstructuredMesh.txx TriangulationIntersector.txx\ Interpolation3DSurf.txx MeshElement.txx VTKNormalizedUnstructuredMesh.txx\ Interpolation3D.txx MeshRegion.txx DualMESH.hxx \ -IntersectionResult.hxx +UnitTetraIntersectionBary.hxx # Libraries targets @@ -75,8 +75,10 @@ dist_libinterpkernel_la_SOURCES = \ libinterpkernel_la_LDFLAGS= $(MED2_LIBS) $(HDF5_LIBS) ../MEDWrapper/V2_1/Core/libmed_V2_1.la $(STDLIB) ../MEDMEM/libmedmem.la -lutil -lm +# DO NOT define "OPTIMIZE" here (-DOPTIMIZE), else you may have problems +# due to different sizeof(TransformedTriangle) in different packages libinterpkernel_la_CPPFLAGS= @CXXTMPDPTHFLAGS@ \ - -I$(srcdir) -I$(srcdir)/../MEDMEM $(BOOST_CPPFLAGS) -DOPTIMIZE -DLOG_LEVEL=0 \ + -I$(srcdir) -I$(srcdir)/../MEDMEM $(BOOST_CPPFLAGS) -DLOG_LEVEL=0 \ -I$(srcdir)/../MEDWrapper/Base \ -I$(srcdir)/../MEDWrapper/V2_1/Core \ -I$(srcdir)/Geometric2D \ -- 2.39.2