Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Jun 2023 02:36:00 GMT
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: c503a78e9e56 - main - devel/mdspan: New port: Reference implementation of mdspan targeting C++23
Message-ID:  <202306300236.35U2a0Fu095366@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=c503a78e9e563266eb4de2ff84e201f2c2a28066

commit c503a78e9e563266eb4de2ff84e201f2c2a28066
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2023-06-30 00:03:11 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2023-06-30 02:35:55 +0000

    devel/mdspan: New port: Reference implementation of mdspan targeting C++23
---
 devel/Makefile         |  1 +
 devel/mdspan/Makefile  | 23 +++++++++++++++++++++++
 devel/mdspan/distinfo  |  3 +++
 devel/mdspan/pkg-descr |  4 ++++
 devel/mdspan/pkg-plist | 24 ++++++++++++++++++++++++
 5 files changed, 55 insertions(+)

diff --git a/devel/Makefile b/devel/Makefile
index b9ccc66ccd92..55ab11333d27 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -1572,6 +1572,7 @@
     SUBDIR += mcpp
     SUBDIR += mdb
     SUBDIR += mdds
+    SUBDIR += mdspan
     SUBDIR += menhir
     SUBDIR += mercator
     SUBDIR += mercurial
diff --git a/devel/mdspan/Makefile b/devel/mdspan/Makefile
new file mode 100644
index 000000000000..6821f7b68279
--- /dev/null
+++ b/devel/mdspan/Makefile
@@ -0,0 +1,23 @@
+PORTNAME=	mdspan
+DISTVERSIONPREFIX=	${PORTNAME}-
+DISTVERSION=	0.6.0
+CATEGORIES=	devel
+
+MAINTAINER=	yuri@FreeBSD.org
+COMMENT=	Reference implementation of mdspan targeting C++23
+WWW=		https://github.com/kokkos/mdspan
+
+LICENSE=	APACHE20
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+USES=		cmake:testing
+
+USE_GITHUB=	yes
+GH_ACCOUNT=	kokkos
+
+CMAKE_TESTING_ON=	MDSPAN_ENABLE_TESTS
+
+NO_BUILD=	yes
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/devel/mdspan/distinfo b/devel/mdspan/distinfo
new file mode 100644
index 000000000000..2ca91fac4297
--- /dev/null
+++ b/devel/mdspan/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1688083142
+SHA256 (kokkos-mdspan-mdspan-0.6.0_GH0.tar.gz) = 79f94d7f692cbabfbaff6cd0d3434704435c853ee5087b182965fa929a48a592
+SIZE (kokkos-mdspan-mdspan-0.6.0_GH0.tar.gz) = 215304
diff --git a/devel/mdspan/pkg-descr b/devel/mdspan/pkg-descr
new file mode 100644
index 000000000000..1bd9385f5bd3
--- /dev/null
+++ b/devel/mdspan/pkg-descr
@@ -0,0 +1,4 @@
+The ISO-C++ proposal P0009 will add support for non-owning multi-dimensional
+array references to the C++ standard library. This repository aims to provide
+a production-quality implementation of the proposal as written (with a few
+caveats, see below) in preparation for the addition of mdspan to the standard.
diff --git a/devel/mdspan/pkg-plist b/devel/mdspan/pkg-plist
new file mode 100644
index 000000000000..0a54cee93480
--- /dev/null
+++ b/devel/mdspan/pkg-plist
@@ -0,0 +1,24 @@
+include/experimental/__p0009_bits/compressed_pair.hpp
+include/experimental/__p0009_bits/config.hpp
+include/experimental/__p0009_bits/default_accessor.hpp
+include/experimental/__p0009_bits/dynamic_extent.hpp
+include/experimental/__p0009_bits/extents.hpp
+include/experimental/__p0009_bits/full_extent_t.hpp
+include/experimental/__p0009_bits/layout_left.hpp
+include/experimental/__p0009_bits/layout_right.hpp
+include/experimental/__p0009_bits/layout_stride.hpp
+include/experimental/__p0009_bits/macros.hpp
+include/experimental/__p0009_bits/mdspan.hpp
+include/experimental/__p0009_bits/no_unique_address.hpp
+include/experimental/__p0009_bits/trait_backports.hpp
+include/experimental/__p0009_bits/type_list.hpp
+include/experimental/__p1684_bits/mdarray.hpp
+include/experimental/__p2630_bits/strided_slice.hpp
+include/experimental/__p2630_bits/submdspan.hpp
+include/experimental/__p2630_bits/submdspan_extents.hpp
+include/experimental/__p2630_bits/submdspan_mapping.hpp
+include/experimental/mdarray
+include/experimental/mdspan
+lib/cmake/mdspan/mdspanConfig.cmake
+lib/cmake/mdspan/mdspanConfigVersion.cmake
+lib/cmake/mdspan/mdspanTargets.cmake



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202306300236.35U2a0Fu095366>