From nobody Wed Oct 19 01:21:38 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 4MsXxt2GyFz4gLJF; Wed, 19 Oct 2022 01:21:38 +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 4MsXxt1sSBz3THb; Wed, 19 Oct 2022 01:21:38 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1666142498; 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=9f5Ti2WF4MVuUCHk7LImbwP/um3ZmCbi3/lTyToI3ug=; b=YNplyDNy4eVxukbH8Id/Cqb8EkehMGQGp5RlMoFgxrByNmPtmncydnwt/3GmOcln75KJQw PQDMj/44zkHiqSOXeKiKT3OZ1D+eNDfPt2TgcWsH05Nh5looGzV/PTGCpsBVNCmL7es24Q Cs2GvCAy0hIoQiKjXlNPzgNKRbUgr9eyXzfHErf3DVYxJkycwqZ3Ccp0sFxaBDLHHJ2ySl wX3Ve7waxNOI8t/PcJX2igRNPGWdvJyCoh/V9mF0jpNRGR2Q7L8T0RTouqftuMGa9Lqpcw OO4gr+eiSH5nMV61ox2J3BO6wrfueODSZGDY7KNP9DZNxCVApoLxROOOaEz8KQ== 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 4MsXxt0z3zzMVs; Wed, 19 Oct 2022 01:21:38 +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 29J1Lcmn036770; Wed, 19 Oct 2022 01:21:38 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 29J1LcdC036769; Wed, 19 Oct 2022 01:21:38 GMT (envelope-from git) Date: Wed, 19 Oct 2022 01:21:38 GMT Message-Id: <202210190121.29J1LcdC036769@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: 07d9aad8767e - main - devel/readerwriterqueue: New port: Fast single-producer, single-consumer lock-free queue for C++ 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: 07d9aad8767e1ef51bc0a0ae038387d3995f49fa Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1666142498; 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=9f5Ti2WF4MVuUCHk7LImbwP/um3ZmCbi3/lTyToI3ug=; b=AHQ8S/kVY3LfNd5BM+u4/+9divUhD1LfQ8hA2xUPzxs5MTJdpIYP5MLHSlRKe4wQOb69kW nq7ZfzSzZAKb0bIDS6c0o6pxmxq6J1Hcze7LfacL1MrHKTFCQEVCXPqGxBMoGvszrbIp3E e3f5uBoQl26aNB3N+6GdokBjvS2O/9Jqz4ArmhWMMGTzgtfNZ1Evv+BNR2Hf6x6GLZG9It ZCRr6OKag0L7HPHMnBkhS1YgEUlkksRqXyIrG6rZ4AtpJCWUNQG7jndLFSqG49BviAtpgY 0QRL54jGJ2FWEOPWGb2lRRPx6tXTHF2IRKlGYhMZ3iq63HXvmF4qBusiPNWS2g== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1666142498; a=rsa-sha256; cv=none; b=FUDZTGmcAAbVzsK7Y6/3LRG5qa6+UtmT2B21f2xn7rN1oZXkGv4CGa3rUsUygDAUpNz2GQ oKQ54HL0H1UH212JN/Qwt5QJd2QVp3reGmBAh0WkCJibvshcEV3vdQSAtFkUK9ELzobRs7 Tzr4yqDKKXiZhx/zKvnUZ2tUooQoaigAPKW9LX6p4JOj3wGhGeFAw2e77vF1y6GAcnyFHX NsUSIhpI6Nhd2SK1yzwWkV/qfr89Wy/TOQiHvD3tYHNRNfzeU2yEGEOLrMVNBGn7BRUr3z vh7vo3EyWEuGMU+aBsZaNnHCg7BoqpC8+BbEuCB7aDZImhQ6NxbxL8kGQ5ESjA== 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=07d9aad8767e1ef51bc0a0ae038387d3995f49fa commit 07d9aad8767e1ef51bc0a0ae038387d3995f49fa Author: Yuri Victorovich AuthorDate: 2022-10-19 01:20:55 +0000 Commit: Yuri Victorovich CommitDate: 2022-10-19 01:21:33 +0000 devel/readerwriterqueue: New port: Fast single-producer, single-consumer lock-free queue for C++ --- devel/Makefile | 1 + devel/readerwriterqueue/Makefile | 26 ++++++++++++++++++++++++++ devel/readerwriterqueue/distinfo | 3 +++ devel/readerwriterqueue/pkg-descr | 5 +++++ 4 files changed, 35 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index d72eb230e350..64f86b7a9775 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -5705,6 +5705,7 @@ SUBDIR += rcs57 SUBDIR += re2 SUBDIR += re2c + SUBDIR += readerwriterqueue SUBDIR += readline SUBDIR += rebar SUBDIR += rebar3 diff --git a/devel/readerwriterqueue/Makefile b/devel/readerwriterqueue/Makefile new file mode 100644 index 000000000000..d06bd4ca2a94 --- /dev/null +++ b/devel/readerwriterqueue/Makefile @@ -0,0 +1,26 @@ +PORTNAME= readerwriterqueue +DISTVERSIONPREFIX= v +DISTVERSION= 1.0.6 +CATEGORIES= devel + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Fast single-producer, single-consumer lock-free queue for C++ +WWW= https://github.com/cameron314/readerwriterqueue + +LICENSE= BSD2CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE.md + +USES= cmake +USE_LDCONFIG= yes + +USE_GITHUB= yes +GH_ACCOUNT= cameron314 + +NO_ARCH= yes + +PLIST_FILES= include/readerwriterqueue/LICENSE.md \ + include/readerwriterqueue/atomicops.h \ + include/readerwriterqueue/readerwritercircularbuffer.h \ + include/readerwriterqueue/readerwriterqueue.h + +.include diff --git a/devel/readerwriterqueue/distinfo b/devel/readerwriterqueue/distinfo new file mode 100644 index 000000000000..2642314b20b5 --- /dev/null +++ b/devel/readerwriterqueue/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1666141537 +SHA256 (cameron314-readerwriterqueue-v1.0.6_GH0.tar.gz) = fc68f55bbd49a8b646462695e1777fb8f2c0b4f342d5e6574135211312ba56c1 +SIZE (cameron314-readerwriterqueue-v1.0.6_GH0.tar.gz) = 41219 diff --git a/devel/readerwriterqueue/pkg-descr b/devel/readerwriterqueue/pkg-descr new file mode 100644 index 000000000000..c2bf2f89431c --- /dev/null +++ b/devel/readerwriterqueue/pkg-descr @@ -0,0 +1,5 @@ +readerwriterqueue is a lock-free queue for C++. + +It only supports a two-thread use case (one consuming, and one producing). The +threads can't switch roles, though you could use this queue completely from a +single thread if you wish.