From nobody Wed Nov 23 08:29:39 2022 X-Original-To: dev-commits-ports-main@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 4NHDnb3xX0z4j4pq; Wed, 23 Nov 2022 08:29:39 +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 4NHDnb32vhz47YY; Wed, 23 Nov 2022 08:29:39 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1669192179; 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=kama3N20iYVu8860eQga0aaqhEN4lJDmV6icw4clals=; b=J9e2P9fDub1f5dyWXNfjxC+dafLdlqJCHZzcvcvcNIF/tfikicmYIW3gZktycETtyA7EWM XvS3HNVaIJcs5xrapmNkrsoYnVPbe5yaVSwQKIalMvnp8tmZX8j2B3dlvIHdZORS9yPgx+ PMB/FVmDZNs9HLqI4NN0ILMPLDAS0EaCAhoa5Xpz5fdXLWttsFk94VsJ/GAanserqShmYU 76pSGH8TeJzeBTlfrZpXEdKLf9rnb3CIr6HULK/Ho4vvijKAmRvnFOTipK6QnVn/Lb/s/b CYwR0fqV5U7RehtBfFPaE/oXYgubooeBUuJSlHZRcZYytZqqZR0AjVESCliRiQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1669192179; 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=kama3N20iYVu8860eQga0aaqhEN4lJDmV6icw4clals=; b=HIEQDnZhkV5L651QhEbB5I7Z9PG3Hb/Je8pRJNd8Fb0KR4jX7alHSE5Nf++CWUmtZQhO7M YpipcMkJGQK3JQTn3hjEMhR9e6ZoJ1dUUTM2/RZ09a0y/LgTkiMtU0YBD85xzW6dZDpPHa hf1HeTGTYH5LR+6DR9U5WDY2wpuwjIeub/ox1Q+YuZySQnZKZ1wE5Svd+RaKtSCKV96AhA GarTUU48isrBlfqVCpEzmSBt+3ii/wftgXgLEyli2mNO2zDMddra8mbJ9Xn5JXmXJadncM 1kfKo6IhFS+NdfD+VVACjwWoftJ1wVvYwxwnqvjfnMz0maKfnxkSImUiickQAQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1669192179; a=rsa-sha256; cv=none; b=riCAEy8XYf5Fc3vuNWQv0yednuOPkjKbGINLmeKBYpCkBrANXDl2euvXvhVfdijuaTypH4 aiBzyIo0AxnWMBwzgSVyp8JAve9NLus5HllNrIfM+J+kYXDMEpUGH7w2MAA1DpeHPxIfrX 08rC+5lZ+lybVPaPSLuefXguKRSQtl7LLGoAQQXOGgg6cahVP6EJtJhk7ICFxE1RhKQ55F Xm4Xa5N3yi/ViyQEnI7NYo03MIy2WBlW3YayD2Ca3jrXoKADqGIpWJ9p13UVyTaok8deCA ptVDcjOdf8zhVljs1DJblTIDXKGpap/2hFfCqGU/eFyG6j2g+S++fe5fWySqHw== 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 4NHDnb26cNzFtT; Wed, 23 Nov 2022 08:29:39 +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 2AN8Td1e002901; Wed, 23 Nov 2022 08:29:39 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 2AN8TdBb002900; Wed, 23 Nov 2022 08:29:39 GMT (envelope-from git) Date: Wed, 23 Nov 2022 08:29:39 GMT Message-Id: <202211230829.2AN8TdBb002900@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: db4ca9fd32f0 - main - devel/babelflow: New port: Embedded Domain Specific Language to describe task graph abstraction List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@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: db4ca9fd32f003669f4be2616631f4c4484d050d Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=db4ca9fd32f003669f4be2616631f4c4484d050d commit db4ca9fd32f003669f4be2616631f4c4484d050d Author: Yuri Victorovich AuthorDate: 2022-11-22 15:29:51 +0000 Commit: Yuri Victorovich CommitDate: 2022-11-23 08:29:36 +0000 devel/babelflow: New port: Embedded Domain Specific Language to describe task graph abstraction --- devel/Makefile | 1 + devel/babelflow/Makefile | 35 ++++++++++++++++++++++++++++++ devel/babelflow/distinfo | 3 +++ devel/babelflow/files/patch-CMakeLists.txt | 13 +++++++++++ devel/babelflow/pkg-descr | 3 +++ devel/babelflow/pkg-plist | 32 +++++++++++++++++++++++++++ 6 files changed, 87 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index 5be02bf3c3cb..de1f4b3a15ac 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -251,6 +251,7 @@ SUBDIR += axmldec SUBDIR += ayatana-ido SUBDIR += b2 + SUBDIR += babelflow SUBDIR += babeltrace SUBDIR += bam SUBDIR += bashdb diff --git a/devel/babelflow/Makefile b/devel/babelflow/Makefile new file mode 100644 index 000000000000..1198e9b3efe8 --- /dev/null +++ b/devel/babelflow/Makefile @@ -0,0 +1,35 @@ +PORTNAME= babelflow +DISTVERSIONPREFIX= v +DISTVERSION= 1.1.0 +CATEGORIES= devel + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Embedded Domain Specific Language to describe task graph abstraction +WWW= https://github.com/sci-visus/BabelFlow + +LICENSE= BSD3CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE + +USES= cmake compiler:c++11-lang +USE_LDCONFIG= yes + +USE_GITHUB= yes +GH_ACCOUNT= sci-visus +GH_PROJECT= BabelFlow + +CMAKE_ARGS= -DRUNTIME_TYPE:STRING="MPI" + +OPTIONS_SINGLE= MPI +OPTIONS_SINGLE_MPI= MPICH OPENMPI +OPTIONS_SINGLE_MPI= MPICH OPENMPI +OPTIONS_DEFINE= EXAMPLES +OPTIONS_DEFAULT= EXAMPLES MPICH +OPTIONS_SUB= yes + +EXAMPLES_CMAKE_BOOL= BUILD_EXAMPLES + +MPICH_USES= mpi:mpich + +OPENMPI_USES= mpi:openmpi + +.include diff --git a/devel/babelflow/distinfo b/devel/babelflow/distinfo new file mode 100644 index 000000000000..2feea50a4bbf --- /dev/null +++ b/devel/babelflow/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1669156886 +SHA256 (sci-visus-BabelFlow-v1.1.0_GH0.tar.gz) = 6436b0e6b2f57fbe0cb9127dc9e7f513167de89de2a8c145055434013714989f +SIZE (sci-visus-BabelFlow-v1.1.0_GH0.tar.gz) = 436517 diff --git a/devel/babelflow/files/patch-CMakeLists.txt b/devel/babelflow/files/patch-CMakeLists.txt new file mode 100644 index 000000000000..e20464f10eae --- /dev/null +++ b/devel/babelflow/files/patch-CMakeLists.txt @@ -0,0 +1,13 @@ +--- CMakeLists.txt.orig 2022-11-22 22:42:05 UTC ++++ CMakeLists.txt +@@ -101,7 +101,9 @@ endif() + + add_subdirectory(src) + +-add_subdirectory(examples) ++if (BUILD_EXAMPLES) ++ add_subdirectory(examples) ++endif() + + install(EXPORT BabelFlow NAMESPACE BabelFlow:: DESTINATION lib/cmake) + install(FILES BabelFlowConfig.cmake DESTINATION lib/cmake) diff --git a/devel/babelflow/pkg-descr b/devel/babelflow/pkg-descr new file mode 100644 index 000000000000..7e2ae5ec0511 --- /dev/null +++ b/devel/babelflow/pkg-descr @@ -0,0 +1,3 @@ +BabelFlow is an Embedded Domain Specific Language to describe algorithms using +a task graph abstraction which allows them to be executed on top of one of +several available runtime systems. diff --git a/devel/babelflow/pkg-plist b/devel/babelflow/pkg-plist new file mode 100644 index 000000000000..a7b3191fff15 --- /dev/null +++ b/devel/babelflow/pkg-plist @@ -0,0 +1,32 @@ +%%EXAMPLES%%bin/broadcast +%%EXAMPLES%%bin/radixk +%%EXAMPLES%%bin/reduceall +%%EXAMPLES%%bin/reduction +include/BabelFlow/ComposableTaskGraph.h +include/BabelFlow/ComposableTaskMap.h +include/BabelFlow/Definitions.h +include/BabelFlow/HierarchicalTask.h +include/BabelFlow/HierarchicalTaskGraph.h +include/BabelFlow/ModTaskMap.hpp +include/BabelFlow/ModuloMap.h +include/BabelFlow/MultiGraphConnector.h +include/BabelFlow/Payload.h +include/BabelFlow/PreProcessInputTaskGraph.hpp +include/BabelFlow/RelayTask.h +include/BabelFlow/Task.h +include/BabelFlow/TaskGraph.h +include/BabelFlow/TaskGraphConnector.h +include/BabelFlow/TypeDefinitions.h +include/BabelFlow/mpi/Controller.h +include/BabelFlow/reduce/BinarySwap.h +include/BabelFlow/reduce/BinarySwapTaskMap.h +include/BabelFlow/reduce/KWayReduction.h +include/BabelFlow/reduce/KWayReductionTaskMap.h +include/BabelFlow/reduce/RadixKExchange.h +include/BabelFlow/reduce/RadixKExchangeTaskMap.h +include/BabelFlow/reduce/SingleTaskGraph.h +lib/cmake/BabelFlow-%%CMAKE_BUILD_TYPE%%.cmake +lib/cmake/BabelFlow.cmake +lib/cmake/BabelFlowConfig.cmake +lib/libbabelflow.so +lib/libbabelflow_mpi.so