Skip to content

Commit

Permalink
devel/ptl: new port. Lightweight C++11 multithreading tasking system
Browse files Browse the repository at this point in the history
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
  • Loading branch information
Erik Jensen authored and Fernando Apesteguía committed Mar 27, 2023
1 parent eba6f6e commit 6e66e8a
Show file tree
Hide file tree
Showing 5 changed files with 66 additions and 0 deletions.
1 change: 1 addition & 0 deletions devel/Makefile
Expand Up @@ -4133,6 +4133,7 @@
SUBDIR += pth-hard
SUBDIR += pthreadpool
SUBDIR += pthsem
SUBDIR += ptl
SUBDIR += ptlib
SUBDIR += ptmalloc
SUBDIR += ptmalloc2
Expand Down
25 changes: 25 additions & 0 deletions 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 <bsd.port.mk>
3 changes: 3 additions & 0 deletions 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
2 changes: 2 additions & 0 deletions devel/ptl/pkg-descr
@@ -0,0 +1,2 @@
Lightweight C++11 multithreading tasking system featuring
thread-pool, task-groups, and lock-free task queue
35 changes: 35 additions & 0 deletions 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

0 comments on commit 6e66e8a

Please sign in to comment.