svn commit: r500845 - in head/science/chrono: . files

Yuri Victorovich yuri at FreeBSD.org
Sun May 5 01:42:50 UTC 2019


Author: yuri
Date: Sun May  5 01:42:48 2019
New Revision: 500845
URL: https://svnweb.freebsd.org/changeset/ports/500845

Log:
  science/chrono: Update 2.0.0-9070 -> 4.0.0-89

Added:
  head/science/chrono/files/patch-src_chrono__thirdparty_filesystem_path.h   (contents, props changed)
Modified:
  head/science/chrono/Makefile
  head/science/chrono/distinfo
  head/science/chrono/pkg-plist

Modified: head/science/chrono/Makefile
==============================================================================
--- head/science/chrono/Makefile	Sun May  5 00:40:58 2019	(r500844)
+++ head/science/chrono/Makefile	Sun May  5 01:42:48 2019	(r500845)
@@ -1,9 +1,8 @@
 # $FreeBSD$
 
 PORTNAME=	chrono
-DISTVERSION=	2.0.0-9070
-DISTVERSIONSUFFIX=	-g57a828dc0
-PORTREVISION=	4
+DISTVERSION=	4.0.0-89
+DISTVERSIONSUFFIX=	-ge36b5a9ce
 CATEGORIES=	science devel
 
 MAINTAINER=	yuri at FreeBSD.org
@@ -15,13 +14,15 @@ LICENSE_FILE=	${WRKSRC}/LICENSE
 PORTSCOUT=	skipv:3.0.0 # their development continues under the branch 2.X. 3.0.0 should be ignored until they release a higher version
 
 BUILD_DEPENDS=	openmpi>0:net/openmpi
+LIB_DEPENDS=	libomp.so:devel/openmp
 
 USES=		cmake compiler:c++14-lang fortran
 USE_GITHUB=	yes
 GH_ACCOUNT=	project${PORTNAME}
 USE_LDCONFIG=	yes
 
-OPTIONS_DEFINE=		HDF5 DEMOS TESTS
+OPTIONS_DEFINE=		HDF5 DEMOS PARALLEL TESTS
+OPTIONS_DEFAULT=	HDF5 PARALLEL
 OPTIONS_SUB=		yes
 
 HDF5_CMAKE_BOOL=	ENABLE_HDF5
@@ -30,6 +31,12 @@ HDF5_LIB_DEPENDS=	libhdf5.so:science/hdf5
 DEMOS_DESC=		Build and install demo programs
 DEMOS_CMAKE_BOOL=	BUILD_DEMOS
 
+PARALLEL_DESC=		Enable parallelism
+PARALLEL_CMAKE_BOOL=	ENABLE_MODULE_PARALLEL
+PARALLEL_CMAKE_ON=	-DBLAZE_DIR:STRING=${LOCALBASE}/include
+PARALLEL_BUILD_DEPENDS=	blaze>0:math/blaze \
+			thrust>0:devel/thrust
+
 TESTS_DESC=		Build and install unit test programs
 TESTS_CMAKE_BOOL=	BUILD_TESTING
 
@@ -48,5 +55,8 @@ post-patch:
 		${WRKSRC}/cmake/FindAVX.cmake \
 		${WRKSRC}/cmake/FindFMA.cmake \
 		${WRKSRC}/cmake/FindSSE.cmake
+
+post-stage: # https://github.com/projectchrono/chrono/issues/153
+	@${RMDIR} ${STAGEDIR}${PREFIX}/include/chrono_thirdparty/googlebenchmark ${STAGEDIR}${PREFIX}/include/chrono_thirdparty/googletest
 
 .include <bsd.port.post.mk>

Modified: head/science/chrono/distinfo
==============================================================================
--- head/science/chrono/distinfo	Sun May  5 00:40:58 2019	(r500844)
+++ head/science/chrono/distinfo	Sun May  5 01:42:48 2019	(r500845)
@@ -1,5 +1,3 @@
-TIMESTAMP = 1535652501
-SHA256 (projectchrono-chrono-2.0.0-9070-g57a828dc0_GH0.tar.gz) = c24acc3d971e9d159c5586a4d8ab02476d33a63d704b5961253c632d9e6096ac
-SIZE (projectchrono-chrono-2.0.0-9070-g57a828dc0_GH0.tar.gz) = 56873557
-SHA256 (c5db60cfb2a05bdea84ca202ab0e34c87c1c841d.patch) = 68d396844a1c4e08424dc9059bcaf5b3d0bc41611f8ab5df90bc06b76e78b33a
-SIZE (c5db60cfb2a05bdea84ca202ab0e34c87c1c841d.patch) = 895
+TIMESTAMP = 1557014786
+SHA256 (projectchrono-chrono-4.0.0-89-ge36b5a9ce_GH0.tar.gz) = 6420b6bee8263cabf6459ca0df89920b4d9b96847eee2ffd75d116a4a5583fc9
+SIZE (projectchrono-chrono-4.0.0-89-ge36b5a9ce_GH0.tar.gz) = 57063369

Added: head/science/chrono/files/patch-src_chrono__thirdparty_filesystem_path.h
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/science/chrono/files/patch-src_chrono__thirdparty_filesystem_path.h	Sun May  5 01:42:48 2019	(r500845)
@@ -0,0 +1,13 @@
+--- src/chrono_thirdparty/filesystem/path.h.orig	2019-03-28 07:38:10 UTC
++++ src/chrono_thirdparty/filesystem/path.h
+@@ -34,6 +34,10 @@
+ # include <limits.h>
+ #endif
+ 
++#ifdef __FreeBSD__
++# include <sys/syslimits.h>
++#endif
++
+ 
+ NAMESPACE_BEGIN(filesystem)
+ 

Modified: head/science/chrono/pkg-plist
==============================================================================
--- head/science/chrono/pkg-plist	Sun May  5 00:40:58 2019	(r500844)
+++ head/science/chrono/pkg-plist	Sun May  5 01:42:48 2019	(r500845)
@@ -284,7 +284,6 @@ include/chrono/core/ChCubicSpline.h
 include/chrono/core/ChDistribution.h
 include/chrono/core/ChException.h
 include/chrono/core/ChFilePS.h
-include/chrono/core/ChFileutils.h
 include/chrono/core/ChFrame.h
 include/chrono/core/ChFrameMoving.h
 include/chrono/core/ChLinearAlgebra.h
@@ -310,6 +309,69 @@ include/chrono/core/ChTransform.h
 include/chrono/core/ChVector.h
 include/chrono/core/ChVector2.h
 include/chrono/core/ChVectorDynamic.h
+include/chrono/fea/ChBeamSection.h
+include/chrono/fea/ChBeamSectionCosserat.h
+include/chrono/fea/ChBuilderBeam.h
+include/chrono/fea/ChContactSurface.h
+include/chrono/fea/ChContactSurfaceMesh.h
+include/chrono/fea/ChContactSurfaceNodeCloud.h
+include/chrono/fea/ChContinuumElectrostatics.h
+include/chrono/fea/ChContinuumPoisson3D.h
+include/chrono/fea/ChContinuumThermal.h
+include/chrono/fea/ChElement3D.h
+include/chrono/fea/ChElementBar.h
+include/chrono/fea/ChElementBase.h
+include/chrono/fea/ChElementBeam.h
+include/chrono/fea/ChElementBeamANCF.h
+include/chrono/fea/ChElementBeamEuler.h
+include/chrono/fea/ChElementBeamIGA.h
+include/chrono/fea/ChElementBrick.h
+include/chrono/fea/ChElementBrick_9.h
+include/chrono/fea/ChElementCableANCF.h
+include/chrono/fea/ChElementCorotational.h
+include/chrono/fea/ChElementGeneric.h
+include/chrono/fea/ChElementHexa_20.h
+include/chrono/fea/ChElementHexa_8.h
+include/chrono/fea/ChElementHexahedron.h
+include/chrono/fea/ChElementShell.h
+include/chrono/fea/ChElementShellANCF.h
+include/chrono/fea/ChElementShellANCF_8.h
+include/chrono/fea/ChElementShellReissner4.h
+include/chrono/fea/ChElementSpring.h
+include/chrono/fea/ChElementTetra_10.h
+include/chrono/fea/ChElementTetra_4.h
+include/chrono/fea/ChElementTetrahedron.h
+include/chrono/fea/ChFaceBrick_9.h
+include/chrono/fea/ChFaceHexa_8.h
+include/chrono/fea/ChFaceTetra_4.h
+include/chrono/fea/ChGaussIntegrationRule.h
+include/chrono/fea/ChGaussPoint.h
+include/chrono/fea/ChLinkBeamIGAslider.h
+include/chrono/fea/ChLinkDirFrame.h
+include/chrono/fea/ChLinkPointFrame.h
+include/chrono/fea/ChLinkPointPoint.h
+include/chrono/fea/ChLinkPointTriface.h
+include/chrono/fea/ChLoadContactSurfaceMesh.h
+include/chrono/fea/ChLoadsBeam.h
+include/chrono/fea/ChMaterialShellReissner.h
+include/chrono/fea/ChMatrixCorotation.h
+include/chrono/fea/ChMatterMeshless.h
+include/chrono/fea/ChMesh.h
+include/chrono/fea/ChMeshExporter.h
+include/chrono/fea/ChMeshFileLoader.h
+include/chrono/fea/ChMeshSurface.h
+include/chrono/fea/ChNodeFEAbase.h
+include/chrono/fea/ChNodeFEAcurv.h
+include/chrono/fea/ChNodeFEAxyz.h
+include/chrono/fea/ChNodeFEAxyzD.h
+include/chrono/fea/ChNodeFEAxyzDD.h
+include/chrono/fea/ChNodeFEAxyzP.h
+include/chrono/fea/ChNodeFEAxyzrot.h
+include/chrono/fea/ChPolarDecomposition.h
+include/chrono/fea/ChProximityContainerMeshless.h
+include/chrono/fea/ChRotUtils.h
+include/chrono/fea/ChUtilsFEA.h
+include/chrono/fea/ChVisualizationFEAmesh.h
 include/chrono/geometry/ChBasisToolsBspline.h
 include/chrono/geometry/ChBasisToolsNurbs.h
 include/chrono/geometry/ChBox.h
@@ -408,14 +470,12 @@ include/chrono/physics/ChLinkBrake.h
 include/chrono/physics/ChLinkBushing.h
 include/chrono/physics/ChLinkClearance.h
 include/chrono/physics/ChLinkDistance.h
-include/chrono/physics/ChLinkEngine.h
 include/chrono/physics/ChLinkForce.h
 include/chrono/physics/ChLinkGear.h
 include/chrono/physics/ChLinkLinActuator.h
 include/chrono/physics/ChLinkLock.h
 include/chrono/physics/ChLinkMarkers.h
 include/chrono/physics/ChLinkMask.h
-include/chrono/physics/ChLinkMasked.h
 include/chrono/physics/ChLinkMate.h
 include/chrono/physics/ChLinkMotor.h
 include/chrono/physics/ChLinkMotorLinear.h
@@ -495,6 +555,7 @@ include/chrono/serialization/ChArchiveExplorer.h
 include/chrono/serialization/ChArchiveJSON.h
 include/chrono/serialization/ChArchiveXML.h
 include/chrono/solver/ChConstraint.h
+include/chrono/solver/ChConstraintNgeneric.h
 include/chrono/solver/ChConstraintThree.h
 include/chrono/solver/ChConstraintThreeBBShaft.h
 include/chrono/solver/ChConstraintThreeGeneric.h
@@ -538,6 +599,7 @@ include/chrono/timestepper/ChStaticAnalysis.h
 include/chrono/timestepper/ChTimestepper.h
 include/chrono/timestepper/ChTimestepperHHT.h
 include/chrono/timestepper/ChUpdateFlags.h
+include/chrono/utils/ChBenchmark.h
 include/chrono/utils/ChCompositeInertia.h
 include/chrono/utils/ChConvexHull.h
 include/chrono/utils/ChFilters.h
@@ -552,6 +614,51 @@ include/chrono/utils/ChUtilsInputOutput.h
 include/chrono/utils/ChUtilsSamplers.h
 include/chrono/utils/ChUtilsValidation.h
 include/chrono_models/ChApiModels.h
+%%PARALLEL%%include/chrono_parallel/ChApiParallel.h
+%%PARALLEL%%include/chrono_parallel/ChConfigParallel.h
+%%PARALLEL%%include/chrono_parallel/ChCudaDefines.h
+%%PARALLEL%%include/chrono_parallel/ChDataManager.h
+%%PARALLEL%%include/chrono_parallel/ChMeasures.h
+%%PARALLEL%%include/chrono_parallel/ChParallelDefines.h
+%%PARALLEL%%include/chrono_parallel/ChSettings.h
+%%PARALLEL%%include/chrono_parallel/ChTimerParallel.h
+%%PARALLEL%%include/chrono_parallel/collision/ChBroadphaseUtils.h
+%%PARALLEL%%include/chrono_parallel/collision/ChCollision.h
+%%PARALLEL%%include/chrono_parallel/collision/ChCollisionModelParallel.h
+%%PARALLEL%%include/chrono_parallel/collision/ChCollisionSystemBulletParallel.h
+%%PARALLEL%%include/chrono_parallel/collision/ChCollisionSystemParallel.h
+%%PARALLEL%%include/chrono_parallel/collision/ChContactContainerParallel.h
+%%PARALLEL%%include/chrono_parallel/collision/ChDataStructures.h
+%%PARALLEL%%include/chrono_parallel/collision/ChNarrowphaseMPR.h
+%%PARALLEL%%include/chrono_parallel/collision/ChNarrowphaseR.h
+%%PARALLEL%%include/chrono_parallel/collision/ChNarrowphaseRUtils.h
+%%PARALLEL%%include/chrono_parallel/collision/ChNarrowphaseUtils.h
+%%PARALLEL%%include/chrono_parallel/constraints/ChConstraintBilateral.h
+%%PARALLEL%%include/chrono_parallel/constraints/ChConstraintRigidRigid.h
+%%PARALLEL%%include/chrono_parallel/constraints/ChConstraintUtils.h
+%%PARALLEL%%include/chrono_parallel/math/ChParallelMath.h
+%%PARALLEL%%include/chrono_parallel/math/matrix.h
+%%PARALLEL%%include/chrono_parallel/math/other_types.h
+%%PARALLEL%%include/chrono_parallel/math/real.h
+%%PARALLEL%%include/chrono_parallel/math/real2.h
+%%PARALLEL%%include/chrono_parallel/math/real3.h
+%%PARALLEL%%include/chrono_parallel/math/real4.h
+%%PARALLEL%%include/chrono_parallel/math/real_double.h
+%%PARALLEL%%include/chrono_parallel/math/real_single.h
+%%PARALLEL%%include/chrono_parallel/math/simd_avx.h
+%%PARALLEL%%include/chrono_parallel/math/simd_non.h
+%%PARALLEL%%include/chrono_parallel/math/simd_sse.h
+%%PARALLEL%%include/chrono_parallel/math/sse.h
+%%PARALLEL%%include/chrono_parallel/math/svd.h
+%%PARALLEL%%include/chrono_parallel/math/utility.h
+%%PARALLEL%%include/chrono_parallel/physics/Ch3DOFContainer.h
+%%PARALLEL%%include/chrono_parallel/physics/ChFluidKernels.h
+%%PARALLEL%%include/chrono_parallel/physics/ChMPMSettings.h
+%%PARALLEL%%include/chrono_parallel/physics/ChSystemParallel.h
+%%PARALLEL%%include/chrono_parallel/physics/MPMUtils.h
+%%PARALLEL%%include/chrono_parallel/solver/ChIterativeSolverParallel.h
+%%PARALLEL%%include/chrono_parallel/solver/ChSolverParallel.h
+%%PARALLEL%%include/chrono_parallel/solver/ChSystemDescriptorParallel.h
 include/chrono_thirdparty/Easy_BMP/EasyBMP.h
 include/chrono_thirdparty/Easy_BMP/EasyBMP_BMP.h
 include/chrono_thirdparty/Easy_BMP/EasyBMP_DataStructures.h
@@ -684,6 +791,7 @@ include/chrono_thirdparty/tinyobjloader/tiny_obj_loade
 include/chrono_thirdparty/yafel/DualNumber.hpp
 lib/cmake/ChronoConfig.cmake
 lib/libChronoEngine.so
+%%PARALLEL%%lib/libChronoEngine_parallel.so
 %%DEMOS%%%%DATADIR%%/bin/demo_CH_EulerAngles
 %%DEMOS%%%%DATADIR%%/bin/demo_CH_archive
 %%DEMOS%%%%DATADIR%%/bin/demo_CH_buildsystem
@@ -770,9 +878,20 @@ lib/libChronoEngine.so
 %%DATADIR%%/data/forklift_arm.obj
 %%DATADIR%%/data/forklift_body.obj
 %%DATADIR%%/data/forklift_forks.obj
+%%DATADIR%%/data/fsi/input_json/demo_FSI_Compressibility.json
+%%DATADIR%%/data/fsi/input_json/demo_FSI_CylinderDrop.json
+%%DATADIR%%/data/fsi/input_json/demo_FSI_DamBreak.json
+%%DATADIR%%/data/fsi/input_json/demo_FSI_Flexible_Shell.json
+%%DATADIR%%/data/fsi/input_json/demo_FSI_Poiseuille_flow.json
+%%DATADIR%%/data/fsi/input_json/test_FSI_Compressibility.json
+%%DATADIR%%/data/fsi/input_json/test_FSI_CylinderDrop.json
+%%DATADIR%%/data/fsi/input_json/test_FSI_DamBreak.json
+%%DATADIR%%/data/fsi/input_json/test_FSI_Flexible_Shell.json
+%%DATADIR%%/data/fsi/input_json/test_FSI_Poiseuille_flow.json
 %%DATADIR%%/data/greenwhite.png
 %%DATADIR%%/data/load_system_matrices.m
 %%DATADIR%%/data/logo_chronoengine_alpha.png
+%%DATADIR%%/data/logo_pychrono_alpha.png
 %%DATADIR%%/data/mpi/demo_domains_config.mpi
 %%DATADIR%%/data/mpi/demo_lcp_schwarz_config.mpi
 %%DATADIR%%/data/mpi/demo_mpibasic_config.mpi
@@ -1000,11 +1119,12 @@ lib/libChronoEngine.so
 %%DATADIR%%/data/vehicle/M113/track_shoe/M113_TrackShoeBandBushing.json
 %%DATADIR%%/data/vehicle/M113/track_shoe/M113_TrackShoeDoublePin.json
 %%DATADIR%%/data/vehicle/M113/track_shoe/M113_TrackShoeSinglePin.json
-%%DATADIR%%/data/vehicle/M113/vehicle/M113_Vehicle.json
 %%DATADIR%%/data/vehicle/M113/vehicle/M113_Vehicle_BandANCF.json
 %%DATADIR%%/data/vehicle/M113/vehicle/M113_Vehicle_BandBushing.json
-%%DATADIR%%/data/vehicle/M113/vehicle/M113_Vehicle_box.json
-%%DATADIR%%/data/vehicle/M113/vehicle/M113_Vehicle_mesh.json
+%%DATADIR%%/data/vehicle/M113/vehicle/M113_Vehicle_DoublePin.json
+%%DATADIR%%/data/vehicle/M113/vehicle/M113_Vehicle_SinglePin.json
+%%DATADIR%%/data/vehicle/M113/vehicle/M113_Vehicle_SinglePin_box.json
+%%DATADIR%%/data/vehicle/M113/vehicle/M113_Vehicle_SinglePin_mesh.json
 %%DATADIR%%/data/vehicle/MAN_5t/MAN_5t_chassis.mtl
 %%DATADIR%%/data/vehicle/MAN_5t/MAN_5t_chassis.obj
 %%DATADIR%%/data/vehicle/MAN_5t/MAN_5t_wheel_L.obj
@@ -1045,6 +1165,7 @@ lib/libChronoEngine.so
 %%DATADIR%%/data/vehicle/generic/driver/SteeringControllerXT.json
 %%DATADIR%%/data/vehicle/generic/driver/SteeringController_ISO_double_lane_change.json
 %%DATADIR%%/data/vehicle/generic/powertrain/ShaftsPowertrain.json
+%%DATADIR%%/data/vehicle/generic/powertrain/SimpleCVTPowertrain.json
 %%DATADIR%%/data/vehicle/generic/powertrain/SimplePowertrain.json
 %%DATADIR%%/data/vehicle/generic/steering/PitmanArm.json
 %%DATADIR%%/data/vehicle/generic/steering/RackPinion.json
@@ -1058,6 +1179,7 @@ lib/libChronoEngine.so
 %%DATADIR%%/data/vehicle/generic/tire/FialaTire.json
 %%DATADIR%%/data/vehicle/generic/tire/LugreTire.json
 %%DATADIR%%/data/vehicle/generic/tire/RigidTire.json
+%%DATADIR%%/data/vehicle/generic/tire/generic_tire_coarse.obj
 %%DATADIR%%/data/vehicle/generic/vehicle/Vehicle_DoubleWishbones.json
 %%DATADIR%%/data/vehicle/generic/vehicle/Vehicle_DoubleWishbones_ARB.json
 %%DATADIR%%/data/vehicle/generic/vehicle/Vehicle_MacPhersonStruts.json
@@ -1101,6 +1223,7 @@ lib/libChronoEngine.so
 %%DATADIR%%/data/vehicle/hmmwv/lugged_wheel.obj
 %%DATADIR%%/data/vehicle/hmmwv/lugged_wheel_section.obj
 %%DATADIR%%/data/vehicle/hmmwv/pactest.tir
+%%DATADIR%%/data/vehicle/hmmwv/powertrain/HMMWV_SimpleCVTPowertrain.json
 %%DATADIR%%/data/vehicle/hmmwv/powertrain/HMMWV_SimplePowertrain.json
 %%DATADIR%%/data/vehicle/hmmwv/powertrain/engine.txt
 %%DATADIR%%/data/vehicle/hmmwv/powertrain/tc.txt
@@ -1121,12 +1244,14 @@ lib/libChronoEngine.so
 %%DATADIR%%/data/vehicle/hmmwv/tire/HMMWV_ANCFTire.json
 %%DATADIR%%/data/vehicle/hmmwv/tire/HMMWV_ANCFTire_Lumped.json
 %%DATADIR%%/data/vehicle/hmmwv/tire/HMMWV_FEATire.json
+%%DATADIR%%/data/vehicle/hmmwv/tire/HMMWV_Fiala_converted.json
 %%DATADIR%%/data/vehicle/hmmwv/tire/HMMWV_LugreTire.json
 %%DATADIR%%/data/vehicle/hmmwv/tire/HMMWV_ReissnerTire.json
 %%DATADIR%%/data/vehicle/hmmwv/tire/HMMWV_RigidMeshTire.json
 %%DATADIR%%/data/vehicle/hmmwv/tire/HMMWV_RigidMeshTire_Coarse.json
 %%DATADIR%%/data/vehicle/hmmwv/tire/HMMWV_RigidTire.json
 %%DATADIR%%/data/vehicle/hmmwv/tire/HMMWV_TMeasyTire.json
+%%DATADIR%%/data/vehicle/hmmwv/tire/HMMWV_TMeasy_converted.json
 %%DATADIR%%/data/vehicle/hmmwv/tire/HMMWV_lugged_coarse.inp
 %%DATADIR%%/data/vehicle/hmmwv/tire/HMMWV_pacejka.tir
 %%DATADIR%%/data/vehicle/hmmwv/vehicle/HMMWV_Vehicle.json
@@ -1227,6 +1352,7 @@ lib/libChronoEngine.so
 %%DATADIR%%/data/vehicle/uaz/uaz469_chassis.obj
 %%DATADIR%%/data/vehicle/uaz/uazbus_chassis.mtl
 %%DATADIR%%/data/vehicle/uaz/uazbus_chassis.obj
+%%DATADIR%%/data/vehicle/uaz/uazbus_chassis_simple.obj
 %%DATADIR%%/data/vehicle/uaz/uazbus_tire.obj
 %%DATADIR%%/data/vehicle/uaz/vehicle/UAZ469_Vehicle.json
 %%DATADIR%%/data/vehicle/uaz/vehicle/UAZBUS_Vehicle.json


More information about the svn-ports-all mailing list