From nobody Fri May 20 20:08:40 2022 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id EAFFC1B322DC; Fri, 20 May 2022 20:08:40 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4L4d8S656Gz3hVZ; Fri, 20 May 2022 20:08:40 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1653077320; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=snWB2mx0fspQG+2MA2uSxLm/39Q3G3rmiCwKls/Z/vo=; b=SNQLzFt1xftzCxaLPXVPlzA7MuH/gU91iaAtBDhDj6PiFEnWP/T9IYNlWN91C3l8Vfb5fY c59+YznV9w5Ojtp0bCITNaBmf5SzQbMT8lLiDB2k6GvxL2Ra1+j5tpBbf3p7pNqO8iZjnJ 8xjtgnOhhPTAOWTE2U44fYblU0wAg9h44dzuzEC7k6lAMRAitsTpJnhZWkbgsmgvG0fBNj GC6LtINjwQrX3q5MCHa94eb+9xKJRxSXOZVuOeoQlyiIQsbWvHv3FpDNwWg6VF2rxNOsa0 MeeEjhoB8NTpPk98X72lnC85WA6WGh3KQjMn0u3TBv6QnLT0WJd2pDYJuLQJGg== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id B011218DD7; Fri, 20 May 2022 20:08:40 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 24KK8eev075483; Fri, 20 May 2022 20:08:40 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 24KK8ewq075482; Fri, 20 May 2022 20:08:40 GMT (envelope-from git) Date: Fri, 20 May 2022 20:08:40 GMT Message-Id: <202205202008.24KK8ewq075482@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Yuri Victorovich Subject: git: d1ba638adb7d - main - math/moab: Update 5.2.1 -> 5.3.1 List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: yuri X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: d1ba638adb7df0daa566390706929336aebe211b Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1653077320; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=snWB2mx0fspQG+2MA2uSxLm/39Q3G3rmiCwKls/Z/vo=; b=C+P7fdEyzb2TT/9pJeHu40kn41UV1WKEeYJCOlp/To7DS/nHjzOTUB91ovi1YbvqVDwsMc z4+PRf3qs6RWvjO7LiReuxc/AhRzXIsSEZIBv3LiG8Q5qKniBCFOkbWp8gk547Tydc9Vf5 b7q7qNsd+ANVG74Ufizq7HwO8kKMpuwz8r7D8MSTl4PusCueQAk42DmO1ZmySzFJ4YDKYJ ZuDZgVQjW+DQRBfnXNsxd+3p/zhRBLQFFTYB7VXmFa6601TXpT7wHz+VYBP8nL/k8HPLaq ZBUHmFVV9vCqzT0A1eOaIe3yi9Eb3ReS4lPo6Lursbujcq7x61PPkjx/GGazbQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1653077320; a=rsa-sha256; cv=none; b=ZHt5FtrzDjeGBZpbkJsk5KOxllC69qxmAeBXxstibe6PJEZyTNmqZhKrCzUY4QZXDLuRCm UB6eLNw9u0IvtSej1r20NBlyzw1MmWD5NTfUq6AyDQof+PCqPx4DGaMbm9Y+V2TYd+kQIE yvSbkg6uFtymsiC0u2vuLnAH+6i6hEeFXaQOABp5Z6K9ucUqF3oXphsszFHaAzt92Ax/pK X77JGMscWSt9Yb1cQFgGvhr/QZNVxDA+otDOOprTQRuO80+0zmn5pt9RAYrieTA+czcO2N e3eNCQEdF1zr+gIhC1B1dFqHsH6VUbtTnm2je15H4Uca7hjr4sVDuWT6rOM1Gw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=d1ba638adb7df0daa566390706929336aebe211b commit d1ba638adb7df0daa566390706929336aebe211b Author: Yuri Victorovich AuthorDate: 2022-05-20 19:52:53 +0000 Commit: Yuri Victorovich CommitDate: 2022-05-20 20:08:36 +0000 math/moab: Update 5.2.1 -> 5.3.1 --- math/moab/Makefile | 19 ++++++++----- math/moab/distinfo | 6 ++--- math/moab/files/patch-CMakeLists.txt | 43 ++++++++++++++++++++++++++++++ math/moab/files/patch-src_io_WriteNCDF.cpp | 20 +++++++------- math/moab/pkg-plist | 15 ++++++++--- 5 files changed, 82 insertions(+), 21 deletions(-) diff --git a/math/moab/Makefile b/math/moab/Makefile index e19c83e9f646..bce64266e692 100644 --- a/math/moab/Makefile +++ b/math/moab/Makefile @@ -1,6 +1,5 @@ PORTNAME= moab -DISTVERSION= 5.2.1 -PORTREVISION= 3 +DISTVERSION= 5.3.1 CATEGORIES= math MASTER_SITES= https://bitbucket.org/${BB_ACCOUNT}/${BB_PROJECT}/get/${BB_COMMIT}.tar.gz?dummy=/ @@ -14,23 +13,31 @@ LIB_DEPENDS= libhdf5.so:science/hdf5 \ libnetcdf.so:science/netcdf \ libopenblas.so:math/openblas -USES= cmake:noninja compiler:c++11-lang eigen:3 fortran +USES= cmake compiler:c++11-lang eigen:3 fortran USE_LDCONFIG= yes CMAKE_ARGS= -DBLAS_LIBRARIES:STRING=${LOCALBASE}/lib/libopenblas.so \ - -DLAPACK_LIBRARIES:STRING=${LOCALBASE}/lib/libopenblas.so + -DLAPACK_LIBRARIES:STRING=${LOCALBASE}/lib/libopenblas.so \ + -DFREEBSD_STAGEDIR:STRING=${STAGEDIR} BB_ACCOUNT= fathomteam BB_PROJECT= ${PORTNAME} -BB_COMMIT= 7bde9dfb84a8 +BB_COMMIT= 65880ffe833d WRKSRC= ${WRKDIR}/${BB_ACCOUNT}-${BB_PROJECT}-${BB_COMMIT} OPTIONS_DEFINE= MPI -OPTIONS_DEFAULT= MPI +OPTIONS_DEFAULT= #MPI OPTIONS_SUB= yes MPI_CMAKE_BOOL= ENABLE_MPI MPI_LIB_DEPENDS= libmpi.so:net/openmpi +MPI_BROKEN= Build fails, see https://bitbucket.org/fathomteam/moab/issues/158/531-fails-to-build-with-openmpi-undefined + +post-install: + # docs are just readmes + @${RM} -r ${STAGEDIR}${DOCSDIR} + # examples are installed into a wrong location, maybe fix them later? + @${RM} -r ${STAGEDIR}${PREFIX}/share/examples .include diff --git a/math/moab/distinfo b/math/moab/distinfo index 39744e75e6d8..31a92c3013aa 100644 --- a/math/moab/distinfo +++ b/math/moab/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1602803796 -SHA256 (moab-5.2.1.tar.gz) = e5f5b3dfb49e5182c69cadd67caf33708a9d54f9e97f21b641325f56e90f9939 -SIZE (moab-5.2.1.tar.gz) = 14226554 +TIMESTAMP = 1653069812 +SHA256 (moab-5.3.1.tar.gz) = 4471b7b0124b47dba8bd83891d8a595fc403e41ffa0da731a3330cf1eed47026 +SIZE (moab-5.3.1.tar.gz) = 17561771 diff --git a/math/moab/files/patch-CMakeLists.txt b/math/moab/files/patch-CMakeLists.txt new file mode 100644 index 000000000000..32dc03a0a7bc --- /dev/null +++ b/math/moab/files/patch-CMakeLists.txt @@ -0,0 +1,43 @@ +- workaround for https://bitbucket.org/fathomteam/moab/issues/148/530-cmake-error-at-cmake_installcmake-68 + +--- CMakeLists.txt.orig 2021-11-12 00:54:52 UTC ++++ CMakeLists.txt +@@ -618,7 +618,7 @@ endif(CLANG_TIDY_EXE) + CONFIGURE_FILE(config/MOABConfig.cmake.h.in "${PROJECT_BINARY_DIR}/src/moab/MOABConfig.h" @ONLY) + + CONFIGURE_FILE(config/MOABConfig.cmake.cmake "${PROJECT_BINARY_DIR}/MOABConfig.cmake" @ONLY) +-CONFIGURE_FILE(moab.make.cmake "${PROJECT_BINARY_DIR}/lib/moab.make" @ONLY) ++CONFIGURE_FILE(moab.make.cmake "lib/moab.make" @ONLY) + if ( MOAB_HAVE_FBIGEOM ) + CONFIGURE_FILE(itaps/fbigeom/FBiGeom-Defs.inc.in "${PROJECT_BINARY_DIR}/lib/FBiGeom-Defs.inc" @ONLY) + install( +@@ -636,23 +636,24 @@ if ( MOAB_HAVE_IMESH ) + endif ( MOAB_HAVE_IMESH ) + INSTALL( + FILES "${PROJECT_BINARY_DIR}/lib/moab.make" +- DESTINATION ${CMAKE_INSTALL_LIBDIR} ++ DESTINATION lib + ) ++message(STATUS "YURI DESTDIR=${FREEBSD_STAGEDIR}") + INSTALL( + CODE +- "file(APPEND ${CMAKE_INSTALL_FULL_LIBDIR}/moab.make MOAB_LIBDIR=${CMAKE_INSTALL_FULL_LIBDIR}\\n )" ++ "file(APPEND ${FREEBSD_STAGEDIR}${CMAKE_INSTALL_FULL_LIBDIR}/moab.make MOAB_LIBDIR=${CMAKE_INSTALL_FULL_LIBDIR}\\n )" + ) + INSTALL( + CODE +- "file(APPEND ${CMAKE_INSTALL_FULL_LIBDIR}/moab.make MOAB_INCLUDES=-I${CMAKE_INSTALL_FULL_INCLUDEDIR}\\n )" ++ "file(APPEND ${FREEBSD_STAGEDIR}${CMAKE_INSTALL_FULL_LIBDIR}/moab.make MOAB_INCLUDES=-I${CMAKE_INSTALL_FULL_INCLUDEDIR}\\n )" + ) + INSTALL( + FILES "${PROJECT_BINARY_DIR}/MOABConfig.cmake" +- DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/MOAB/ ++ DESTINATION lib/cmake/MOAB/ + ) + INSTALL( + FILES "${PROJECT_SOURCE_DIR}/config/ResolveCompilerPaths.cmake" +- DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/MOAB ++ DESTINATION lib/cmake/MOAB + ) + + ADD_CUSTOM_TARGET( diff --git a/math/moab/files/patch-src_io_WriteNCDF.cpp b/math/moab/files/patch-src_io_WriteNCDF.cpp index 8c91cad073bb..bba6c59dcfd1 100644 --- a/math/moab/files/patch-src_io_WriteNCDF.cpp +++ b/math/moab/files/patch-src_io_WriteNCDF.cpp @@ -1,13 +1,15 @@ ---- src/io/WriteNCDF.cpp.orig 2018-11-23 06:26:09 UTC +- workaround for https://bitbucket.org/fathomteam/moab/issues/157/please-do-not-convert-null-to-char-this + +--- src/io/WriteNCDF.cpp.orig 2021-11-12 00:54:52 UTC +++ src/io/WriteNCDF.cpp -@@ -161,8 +161,8 @@ void WriteNCDF::time_and_date(char* time - strftime(date_string, TIME_STR_LEN, "%m/%d/%Y", local_time); +@@ -160,8 +160,8 @@ void WriteNCDF::time_and_date( char* time_string, char + strftime( date_string, TIME_STR_LEN, "%m/%d/%Y", local_time ); - // Terminate with NULL character -- time_string[10] = (char)NULL; -- date_string[10] = (char)NULL; -+ time_string[10] = (char)0; -+ date_string[10] = (char)0; + // Terminate with NULL character +- time_string[10] = (char)NULL; +- date_string[10] = (char)NULL; ++ time_string[10] = (char)0; ++ date_string[10] = (char)0; } - ErrorCode WriteNCDF::write_file(const char *exodus_file_name, + ErrorCode WriteNCDF::write_file( const char* exodus_file_name, const bool overwrite, const FileOptions& opts, diff --git a/math/moab/pkg-plist b/math/moab/pkg-plist index 8c20faa3342b..820d40b77a4d 100644 --- a/math/moab/pkg-plist +++ b/math/moab/pkg-plist @@ -4,6 +4,7 @@ bin/mbdepth bin/mbgsets bin/mbhonodes bin/mbmem +bin/mbmerge bin/mbquality bin/mbsize bin/mbskin @@ -11,6 +12,7 @@ bin/mbslavepart bin/mbsurfplot bin/mbtagprop bin/mbumr +bin/spheredecomp %%MPI%%include/Coupler.hpp %%MPI%%include/ElemUtil.hpp include/MBCN.h @@ -38,6 +40,8 @@ include/moab/CartVect.hpp include/moab/Compiler.hpp include/moab/Core.hpp include/moab/CpuTimer.hpp +include/moab/DiscreteGeometry/DGMSolver.hpp +include/moab/DiscreteGeometry/HiReconstruction.hpp include/moab/DualTool.hpp include/moab/ElemEvaluator.hpp include/moab/EntityHandle.hpp @@ -76,10 +80,10 @@ include/moab/NestedRefine.hpp include/moab/NestedRefineTemplates.hpp include/moab/OrientedBox.hpp include/moab/OrientedBoxTreeTool.hpp -include/moab/ParCommGraph.hpp %%MPI%%include/moab/ParallelComm.hpp %%MPI%%include/moab/ParallelData.hpp %%MPI%%include/moab/ParallelMergeMesh.hpp +include/moab/PartitionerBase.hpp %%MPI%%include/moab/ProcConfig.hpp include/moab/ProgOptions.hpp include/moab/Range.hpp @@ -105,6 +109,7 @@ include/moab/WriteUtilIface.hpp include/moab/WriterIface.hpp %%MPI%%include/moab/gs.hpp include/moab/iMOAB.h +include/moab/imoab_protos.h include/moab/mhdf_public.h include/moab/point_locater/element_maps/linear_hex_map.hpp include/moab/point_locater/element_maps/linear_tet_map.hpp @@ -118,6 +123,8 @@ include/moab/point_locater/tree/common_tree.hpp include/moab/point_locater/tree/element_tree.hpp include/moab/verdict.h include/moab/verdict/VerdictWrapper.hpp +include/moab/win32_config.h +include/moab_export.h %%MPI%%include/moab_mpi.h %%MPI%%include/moab_mpi_config.h lib/cmake/MOAB/MOABConfig.cmake @@ -127,9 +134,11 @@ lib/cmake/MOAB/ResolveCompilerPaths.cmake lib/iMesh-Defs.inc lib/libMOAB.so lib/libMOAB.so.5 -lib/libMOAB.so.5.1.0 +lib/libMOAB.so.5.3.1 lib/libiMesh.so lib/libiMesh.so.5 -lib/libiMesh.so.5.1.0 +lib/libiMesh.so.5.3.1 %%MPI%%lib/libmbcoupler.so lib/moab.make +libdata/pkgconfig/MOAB.pc +share/man/man1/mbconvert.1.gz