From nobody Tue Jul 11 00:30:30 2023 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 4R0MGZ5fgmz3cPrN; Tue, 11 Jul 2023 00:30:30 +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 4R0MGZ5CqFz49mD; Tue, 11 Jul 2023 00:30:30 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1689035430; 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=NkCloziOPIB4arB0gaoUSX+x0y03CMAAYwZwQ4E1afw=; b=xXh6gYHq33Vpbq9N5nthEfoMLLXh2dnmpw+lEs8PPCv29694HKmXOKIM2G25PB0aKQQANu 1P5/LmKkL4VzawgzWQsFknBEouTuZGW37VELrxSkyu7OP6TH1I47M+pFS415rMMc+er5ov dZ0fZtPBfFVWeIz/bNyHTJgerwVnsa071wIy9IRM1W9GFuo/jrY1kbDzypcvctxMxIgoXB jB77QlWWh0/L/2kDU/LgjdtQdq5E0rCU4nurPSUjIzrdsLK9x80trb+ssGv9SM0rINn9Sm dA/Pc88fw4Y5GElC2fnXWxqqn5Jhnm/kgk9f7UCInF2QJR0UMjkXuriHXPl4Dw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1689035430; 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=NkCloziOPIB4arB0gaoUSX+x0y03CMAAYwZwQ4E1afw=; b=maAomw9RvQae6q6gxHn1MyH80GuIUEC00UhItdDbsXP06ZKL2ygfMy4RJQ+XwJw69qWIxK LxbO6Ae7a5kSLOaAzHYPjxUlZFN/kfuFBx+l7hz4ke7u5vsfXtx74cvFaV9WDawvMyBOoR hgIv0dONGYY1se/iXfnWss/ZLKEFRVafd4tAcMWkti0gSLTocuDONnxZexPN4ISX1pjh8T SBVZAt8XXewFqjTcjcSEcCUNWa7wXHzyn+2REKewDoAG9jac5QUivCVaxd/FqphmYjn2ti syICulZyHMJh7uhEzAKaFupaSEt3NxGsSJlu6vN1MyyEvOq3imLDFbu2hlUpaw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1689035430; a=rsa-sha256; cv=none; b=nWDP4BJ6MWHX3oCMftW25/IB3zPS3ztonYgXj5i3xWX2nAoosuLmUpvfPGvkQRAd8BS6NP ghi9i46JVIDQEVhOydwi/F3yrT0rZ0BVTntExCfG1aY4lFgIYaOCRfI+cQfouSLciUlfmU flJY4Ki2LipKAmbzL3BrgNFtuw2Ld5RCzaQETX2I4ghhqvUmuiFdGAvRX1YroWi+kqiBII z+aJh6P/uyXxYwqYk9kCB5ggPupdOOjMdMXXVRsbBhzEHLugCKPOonalARstz7s4FYLqy6 /fDcZhBTtOy/R5+o+nSlVp6V8IqBv79BukGnydUvI24tJ0yxPj6VkyCmAeL8hg== 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 4R0MGZ4C2xz14tv; Tue, 11 Jul 2023 00:30:30 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 36B0UUnb058060; Tue, 11 Jul 2023 00:30:30 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 36B0UUqB058059; Tue, 11 Jul 2023 00:30:30 GMT (envelope-from git) Date: Tue, 11 Jul 2023 00:30:30 GMT Message-Id: <202307110030.36B0UUqB058059@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: d6fe15e0ee7a - main - math/hyperdeal: Finite-element library for partial differential equations 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: d6fe15e0ee7a1d4f6f0b48ac7098ef764cb1cb5f Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=d6fe15e0ee7a1d4f6f0b48ac7098ef764cb1cb5f commit d6fe15e0ee7a1d4f6f0b48ac7098ef764cb1cb5f Author: Yuri Victorovich AuthorDate: 2023-07-11 00:29:58 +0000 Commit: Yuri Victorovich CommitDate: 2023-07-11 00:29:58 +0000 math/hyperdeal: Finite-element library for partial differential equations --- math/Makefile | 1 + math/hyperdeal/Makefile | 35 ++++++++++++++++++++++++++++++ math/hyperdeal/distinfo | 5 +++++ math/hyperdeal/files/patch-CMakeLists.txt | 30 ++++++++++++++++++++++++++ math/hyperdeal/pkg-descr | 7 ++++++ math/hyperdeal/pkg-plist | 36 +++++++++++++++++++++++++++++++ 6 files changed, 114 insertions(+) diff --git a/math/Makefile b/math/Makefile index 55af21bdbc42..56b9de4c691b 100644 --- a/math/Makefile +++ b/math/Makefile @@ -393,6 +393,7 @@ SUBDIR += hs-syfco SUBDIR += hsl SUBDIR += hydrogen + SUBDIR += hyperdeal SUBDIR += ideep SUBDIR += ignition-math SUBDIR += igraph diff --git a/math/hyperdeal/Makefile b/math/hyperdeal/Makefile new file mode 100644 index 000000000000..994fbccec520 --- /dev/null +++ b/math/hyperdeal/Makefile @@ -0,0 +1,35 @@ +PORTNAME= hyperdeal +DISTVERSION= g20230706 +CATEGORIES= math + +PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/ +PATCHFILES= 6552f1e745f2fa03573b005e93104b0663a44c23.patch:-p1 # https://github.com/hyperdeal/hyperdeal/pull/117/commits + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Finite-element library for partial differential equations +WWW= https://github.com/hyperdeal/hyperdeal + +LICENSE= LGPL3 +LICENSE_FILE= ${WRKSRC}/LICENSE.MD + +LIB_DEPENDS= libdeal_II.so:math/deal.ii # many other dependencies are erroneously induced by deal.ii, see https://github.com/dealii/dealii/issues/15714 + +USES= cmake +USE_LDCONFIG= yes +USE_CXXSTD= c++17 # workaround for https://github.com/hyperdeal/hyperdeal/issues/115 + +CXXFLAGS+= -fPIC +CMAKE_ON= BUILD_SHARED_LIBS + +USE_GITHUB= yes +GH_TAGNAME= b73a216 + +do-install: + # headers + cd ${WRKSRC}/include && ${COPYTREE_SHARE} hyper.deal ${STAGEDIR}${PREFIX}/include + ${RM} ${STAGEDIR}${PREFIX}/include/hyper.deal/base/revision.h.in + ${INSTALL_DATA} ${BUILD_WRKSRC}/include/hyper.deal/base/revision.h ${STAGEDIR}${PREFIX}/include/hyper.deal/base + # lib + ${INSTALL_LIB} ${BUILD_WRKSRC}/libhyperdeal.so ${STAGEDIR}${PREFIX}/lib + +.include diff --git a/math/hyperdeal/distinfo b/math/hyperdeal/distinfo new file mode 100644 index 000000000000..58cdd3290c8c --- /dev/null +++ b/math/hyperdeal/distinfo @@ -0,0 +1,5 @@ +TIMESTAMP = 1689003424 +SHA256 (hyperdeal-hyperdeal-g20230706-b73a216_GH0.tar.gz) = d69e55b56e5bdd66b558852aabb01d898fa33b8d2c1520edbf154954b6b0171b +SIZE (hyperdeal-hyperdeal-g20230706-b73a216_GH0.tar.gz) = 274431 +SHA256 (6552f1e745f2fa03573b005e93104b0663a44c23.patch) = ba2826980b64f868fef4c1da451c80ae20901e6a6b61732b97698ac97665022b +SIZE (6552f1e745f2fa03573b005e93104b0663a44c23.patch) = 1350 diff --git a/math/hyperdeal/files/patch-CMakeLists.txt b/math/hyperdeal/files/patch-CMakeLists.txt new file mode 100644 index 000000000000..52899de62711 --- /dev/null +++ b/math/hyperdeal/files/patch-CMakeLists.txt @@ -0,0 +1,30 @@ +--- CMakeLists.txt.orig 2023-07-06 19:59:29 UTC ++++ CMakeLists.txt +@@ -91,7 +91,7 @@ ADD_SUBDIRECTORY(source) + # target the source files + TARGET_LINK_LIBRARIES(hyperdeal obj_base obj_grid) + +-ADD_SUBDIRECTORY(examples) ++#ADD_SUBDIRECTORY(examples) + + + IF(EXISTS ${CMAKE_SOURCE_DIR}/tests/CMakeLists.txt) +@@ -99,13 +99,13 @@ IF(EXISTS ${CMAKE_SOURCE_DIR}/tests/CMakeLists.txt) + ENDIF() + + # documentation +-ADD_SUBDIRECTORY(doc/doxygen) ++#ADD_SUBDIRECTORY(doc/doxygen) + + # performance tests +-ADD_SUBDIRECTORY(performance) ++#ADD_SUBDIRECTORY(performance) + + # tests + enable_testing() + ADD_SUBDIRECTORY(tests) +-ADD_SUBDIRECTORY(examples/advection/tests) +-ADD_SUBDIRECTORY(examples/vlasov_poisson/tests) +\ No newline at end of file ++#ADD_SUBDIRECTORY(examples/advection/tests) ++#ADD_SUBDIRECTORY(examples/vlasov_poisson/tests) diff --git a/math/hyperdeal/pkg-descr b/math/hyperdeal/pkg-descr new file mode 100644 index 000000000000..77562b5d9d44 --- /dev/null +++ b/math/hyperdeal/pkg-descr @@ -0,0 +1,7 @@ +hyper.deal is an efficient, matrix-free finite-element library for solving +partial differential equations in two to six dimensions with high-order +discontinuous Galerkin methods. It builds upon the low-dimensional +finite-element library deal.II to create low-dimensional meshes and to +operate on them individually. We combine these meshes via a tensor product +on the fly and provide new special-purpose highly optimized matrix-free +functions. diff --git a/math/hyperdeal/pkg-plist b/math/hyperdeal/pkg-plist new file mode 100644 index 000000000000..e68a2ad2c153 --- /dev/null +++ b/math/hyperdeal/pkg-plist @@ -0,0 +1,36 @@ +include/hyper.deal/base/config.h +include/hyper.deal/base/dynamic_convergence_table.h +include/hyper.deal/base/memory_consumption.h +include/hyper.deal/base/mpi.h +include/hyper.deal/base/mpi_tags.h +include/hyper.deal/base/revision.h +include/hyper.deal/base/time_integrators.h +include/hyper.deal/base/time_integrators.templates.h +include/hyper.deal/base/time_integrators_parameters.h +include/hyper.deal/base/time_loop.h +include/hyper.deal/base/time_loop_parameters.h +include/hyper.deal/base/timers.h +include/hyper.deal/base/utilities.h +include/hyper.deal/grid/grid_generator.h +include/hyper.deal/matrix_free/dof_info.h +include/hyper.deal/matrix_free/evaluation_kernels.h +include/hyper.deal/matrix_free/face_info.h +include/hyper.deal/matrix_free/fe_evaluation_base.h +include/hyper.deal/matrix_free/fe_evaluation_cell.h +include/hyper.deal/matrix_free/fe_evaluation_cell_inverse.h +include/hyper.deal/matrix_free/fe_evaluation_face.h +include/hyper.deal/matrix_free/id.h +include/hyper.deal/matrix_free/matrix_free.h +include/hyper.deal/matrix_free/matrix_free.templates.h +include/hyper.deal/matrix_free/read_write_operation.h +include/hyper.deal/matrix_free/shape_info.h +include/hyper.deal/matrix_free/tools.h +include/hyper.deal/matrix_free/vector_access_internal.h +include/hyper.deal/matrix_free/vector_partitioner.h +include/hyper.deal/numerics/vector_tools.h +include/hyper.deal/operators/advection/advection_operation.h +include/hyper.deal/operators/advection/advection_operation_parameters.h +include/hyper.deal/operators/advection/boundary_descriptor.h +include/hyper.deal/operators/advection/cfl.h +include/hyper.deal/operators/advection/velocity_field_view.h +lib/libhyperdeal.so