From nobody Mon Mar 27 10:04:22 2023 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 4PlT1g0xRqz4242M; Mon, 27 Mar 2023 10:04:23 +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 4PlT1g0LTrz4QdD; Mon, 27 Mar 2023 10:04:23 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1679911463; 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=8fygZvz05mynmJjVEmy5ISk5nZL8pxlk0dM3k5M0nMs=; b=xZJflPwTjo3WIjqhsm/nUGxwNtcLOUNHGB+IQbb5PMlh13OdoK4hVKOpSGnm/xCVhUjEo5 vQr6JeFxBklGzMbl5KiSCV0COpZQQM1aBWGY3u1cLjl3UK8khgsVK2dUwDVuygEALi3/m2 YY6rf60CpoByrF1vR8hMH5YBinY+qYqnqCj6rbUSzefSDTb51uEz8O8/pyQZgIr+/Ybh6j aPwu8WnSX/QHd6pdOHC4oIYrGgbTc3VAW37BJhIgfWyyaZo2qMTnSHrAGhLYkggiHPGm/c RfdsYiL6b8nmV+YcydVCL9sZpDyAaHULRg2GUk7tPrPjDpekn4xFOhEZ3Xp5Jw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1679911463; 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=8fygZvz05mynmJjVEmy5ISk5nZL8pxlk0dM3k5M0nMs=; b=RmPaT0gv+kWQalMu4gXew9fAyPbJ56c20saDqtJ4XZ/jWe3g0cZvXgmjeGBPXUnuoQqQg/ mgBiDbo2lgM7usqtytL7ahyQUc5s8LwXVaHTPr3fZCnUHX27T90Ff9kmgLDZOJjU1XEJU7 JiXu4EJlZbq+6PD4rtCgmnhwhDlYXy0lWZ5AsixDGgALLHt+9OYD1txXEescflOFiErRA2 piZDJ4tNAdWLtrcXKbjEapOFrXMT29CVVNtmtYL7Q9i+fPV2Jgecmw4yPOLD1GnUBeus/8 pKvds6bLTGIAozGzAMsNbBlF3yIM8eSnn1HeKCvKuwks7Rdn7vfN7WwzH/Q0cQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1679911463; a=rsa-sha256; cv=none; b=RkOI2ruYBiBKaFLBxIaZ80aiI2dEsXRiZiHdjvc8sYFBowenp83/hn8gBJ5vnTkzlOQm7D OF8pHJ1Rkd75aJfqUJzqboWg4rT1AJEKpjikCtZRRflmMWNBdXhRcYj0wZazkBMIXvYGZ8 xl88MrQystS6Q5HfWFH+SJjowe+VFKdoRR4S68F4eplygmrYYmicfmePbJOxY/HmO7m1GJ VSZOMl4dMz70iWoZlxyCkJGWh/o2XpJA3OE8jjjBBccGJRWJ2ZAWyCmySVzdSVS61n1tII c48ekLI/tS4EkSOjsq50+pjdNAk9cCgss/OhuMUqRJuIScF0qwNNrsIjinza4A== 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 4PlT1f6Vw9zHnx; Mon, 27 Mar 2023 10:04:22 +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 32RA4Mde027198; Mon, 27 Mar 2023 10:04:22 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 32RA4MT9027197; Mon, 27 Mar 2023 10:04:22 GMT (envelope-from git) Date: Mon, 27 Mar 2023 10:04:22 GMT Message-Id: <202303271004.32RA4MT9027197@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: =?utf-8?Q?Fernando=20Apestegu=C3=ADa?= Subject: git: 6e66e8aa832e - main - devel/ptl: new port. Lightweight C++11 multithreading tasking system 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: fernape X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 6e66e8aa832e22ec7bf21dd9dea8439023f224e0 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by fernape: URL: https://cgit.FreeBSD.org/ports/commit/?id=6e66e8aa832e22ec7bf21dd9dea8439023f224e0 commit 6e66e8aa832e22ec7bf21dd9dea8439023f224e0 Author: Erik Jensen AuthorDate: 2023-03-26 17:51:25 +0000 Commit: Fernando ApesteguĂ­a CommitDate: 2023-03-27 09:59:28 +0000 devel/ptl: new port. Lightweight C++11 multithreading tasking system Parallel Tasking Library is a needed dependency for the upcoming update of science/geant4. ChangeLog: https://github.com/jrmadsen/PTL PR: 268992 Reported by: erik@tenku.dk --- devel/Makefile | 1 + devel/ptl/Makefile | 25 +++++++++++++++++++++++++ devel/ptl/distinfo | 3 +++ devel/ptl/pkg-descr | 2 ++ devel/ptl/pkg-plist | 35 +++++++++++++++++++++++++++++++++++ 5 files changed, 66 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index 4abfd541fa59..b1e09116d0b6 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -4133,6 +4133,7 @@ SUBDIR += pth-hard SUBDIR += pthreadpool SUBDIR += pthsem + SUBDIR += ptl SUBDIR += ptlib SUBDIR += ptmalloc SUBDIR += ptmalloc2 diff --git a/devel/ptl/Makefile b/devel/ptl/Makefile new file mode 100644 index 000000000000..d2fad40a7871 --- /dev/null +++ b/devel/ptl/Makefile @@ -0,0 +1,25 @@ +PORTNAME= ptl +DISTVERSIONPREFIX= v +DISTVERSION= 2.3.3 +CATEGORIES= devel + +MAINTAINER= erik@tenku.dk +COMMENT= Lightweight C++11 multithreading tasking system +WWW= https://github.com/jrmadsen/PTL + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +LIB_DEPENDS= libtbb.so:devel/onetbb + +USES= cmake compiler:c++11-lang +USE_GITHUB= yes +GH_ACCOUNT= jrmadsen +GH_PROJECT= PTL + +CMAKE_OFF= BUILD_STATIC_LIBS + +PLIST_SUB+= SHLIB_SHVER="${DISTVERSION:R:R}" \ + SHLIB_VER="${DISTVERSION}" + +.include diff --git a/devel/ptl/distinfo b/devel/ptl/distinfo new file mode 100644 index 000000000000..6e149b292a63 --- /dev/null +++ b/devel/ptl/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1672757282 +SHA256 (jrmadsen-PTL-v2.3.3_GH0.tar.gz) = 3275ad8ec2971c89aacb3b922717dc4e774fa4e59fc3f4035053225c802aee52 +SIZE (jrmadsen-PTL-v2.3.3_GH0.tar.gz) = 302890 diff --git a/devel/ptl/pkg-descr b/devel/ptl/pkg-descr new file mode 100644 index 000000000000..95db92a36cb7 --- /dev/null +++ b/devel/ptl/pkg-descr @@ -0,0 +1,2 @@ +Lightweight C++11 multithreading tasking system featuring +thread-pool, task-groups, and lock-free task queue diff --git a/devel/ptl/pkg-plist b/devel/ptl/pkg-plist new file mode 100644 index 000000000000..99a7e95ff158 --- /dev/null +++ b/devel/ptl/pkg-plist @@ -0,0 +1,35 @@ +include/PTL/AutoLock.hh +include/PTL/Backtrace.hh +include/PTL/Config.hh +include/PTL/Globals.hh +include/PTL/JoinFunction.hh +include/PTL/PTL.hh +include/PTL/Singleton.hh +include/PTL/Task.hh +include/PTL/TaskGroup.hh +include/PTL/TaskGroup.icc +include/PTL/TaskManager.hh +include/PTL/TaskRunManager.hh +include/PTL/TBBTaskGroup.hh +include/PTL/ThreadData.hh +include/PTL/Threading.hh +include/PTL/ThreadPool.hh +include/PTL/Timer.hh +include/PTL/Timer.icc +include/PTL/Tuple.hh +include/PTL/Types.hh +include/PTL/UserTaskQueue.hh +include/PTL/UserTaskQueue.icc +include/PTL/Utility.hh +include/PTL/Version.hh +include/PTL/VTask.hh +include/PTL/VUserTaskQueue.hh +lib/cmake/PTL/Modules/FindTBB.cmake +lib/cmake/PTL/PTLConfig.cmake +lib/cmake/PTL/PTLConfigVersion.cmake +lib/cmake/PTL/PTLTargets-release.cmake +lib/cmake/PTL/PTLTargets.cmake +lib/libptl.so +lib/libptl.so.%%SHLIB_SHVER%% +lib/libptl.so.%%SHLIB_VER%% +libdata/pkgconfig/ptl.pc