From nobody Thu Oct 24 06:03:28 2024
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 4XYwMP00h1z5b7Sv;
	Thu, 24 Oct 2024 06:03:29 +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 "R11" (verified OK))
	by mx1.freebsd.org (Postfix) with ESMTPS id 4XYwMN6cBzz4S2k;
	Thu, 24 Oct 2024 06:03:28 +0000 (UTC)
	(envelope-from git@FreeBSD.org)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim;
	t=1729749808;
	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=sduQkofu//xs2IBwOue+nLzT0Cni2QfGlRPNYmITM8o=;
	b=Lh0emK6tPM0TpBhbXwaTM8GTtKe4fCnWfjwtWPI1G+/mUjniYIYdOILjpgawuDmuH688aU
	s1YuU9XjNe4uj3KuYygUNCPo5T6YWPTJw7w6NhdqHYV6/XSWs874rgVGwd0gU5xf7Brxii
	r5D57nTk7CJcuP71LZ/+NiwVUQ/1F7jH/KuCHIVUSIVF80ZVNVzyp11nVD6nFzZAP0lIEw
	SeWQIl3RFQLD77gXW1HrvKt7y5IkNfyR4QB+nFmwWL0HF2L8bQ+9v7vWiBUKlhiVJHa5Xy
	yj37xYmM91HJqaHLZcKMYig+YP01rTq6p/BxxX6d91OPAwwCC8E6d8CmDWjl5g==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org;
	s=dkim; t=1729749808;
	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=sduQkofu//xs2IBwOue+nLzT0Cni2QfGlRPNYmITM8o=;
	b=yrIcoQc1GBmm2/xyr4wHe43m1GiB1ow0Zd6lUFudC3sSxyiieagMMMzTf2IsSHmSEwT+xF
	CYjjMqoPSk5dteSvNgoy/SoyX4Q+A/oSPsVfN3fBE/KfCOIUiRXjO994/KifZZJo8MGDiT
	qADo8mWHj1NfKTggMhnDIVYSawz0j+gFpZeNB2lfpFKfoyULglI1WkanbjlsYJUoa0IBJ4
	nAL/3Bjyi0VVHtMQiN9FTBhn0hyvX3NzfLfyR98EzU1wmC+iWDvmlZkG4UbuSt2hxyKAaF
	1jhhOki+sSTvJ8a0JU8sbnDNJMObz6Aav38dqsD1zrVaYq9SQcMB9QpQOoIOqw==
ARC-Authentication-Results: i=1;
	mx1.freebsd.org;
	none
ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1729749808; a=rsa-sha256; cv=none;
	b=iIWNpjcC5iJkFo7ahGIzl2/4NaWZnszo8JleKPQV+XVNX2v4j/xZQGv3yowWgZRUjdlbyl
	+M6znO/KP+FbRmZMnngFJrRKzGcU9awqILK8md19TZWOhwXNOEry6FuPJlphQt1w58jFs1
	aF88HRte8uH93j6DfS0ggZIl2Ykj6S/1kC/2XPDUfpYHA4uaMWfnkUJbVD6ynd865nNZHt
	oULw7TniKa1fAcAxfr1ZFvvlHmHnM8mD0tBuxUBYT1ea6jarOhuQcqALGcVcQZfigtI0dX
	7XCJnYQzWOLRfOu7YkOqMc3NFYa7GqE8rAf5691bFKc0xgFNwNwP3I1ROOdGXw==
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 4XYwMN6CY9zWJy;
	Thu, 24 Oct 2024 06:03:28 +0000 (UTC)
	(envelope-from git@FreeBSD.org)
Received: from gitrepo.freebsd.org ([127.0.1.44])
	by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 49O63SPb058784;
	Thu, 24 Oct 2024 06:03:28 GMT
	(envelope-from git@gitrepo.freebsd.org)
Received: (from git@localhost)
	by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 49O63S2e058781;
	Thu, 24 Oct 2024 06:03:28 GMT
	(envelope-from git)
Date: Thu, 24 Oct 2024 06:03:28 GMT
Message-Id: <202410240603.49O63S2e058781@gitrepo.freebsd.org>
To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org,
        dev-commits-ports-main@FreeBSD.org
From: Yuri Victorovich <yuri@FreeBSD.org>
Subject: git: 2e1a65e8d177 - main - math/libceed: CEED Library:
  Code for Efficient Extensible Discretizations
List-Id: Commits to the main branch of the FreeBSD ports repository <dev-commits-ports-main.freebsd.org>
List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main
List-Help: <mailto:dev-commits-ports-main+help@freebsd.org>
List-Post: <mailto:dev-commits-ports-main@freebsd.org>
List-Subscribe: <mailto:dev-commits-ports-main+subscribe@freebsd.org>
List-Unsubscribe: <mailto:dev-commits-ports-main+unsubscribe@freebsd.org>
X-BeenThere: dev-commits-ports-main@freebsd.org
Sender: owner-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: 2e1a65e8d1774c35da444bdd73204470e303bba0
Auto-Submitted: auto-generated

The branch main has been updated by yuri:

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

commit 2e1a65e8d1774c35da444bdd73204470e303bba0
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2024-10-24 02:16:00 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2024-10-24 06:03:24 +0000

    math/libceed: CEED Library: Code for Efficient Extensible Discretizations
---
 math/Makefile          |  1 +
 math/libceed/Makefile  | 30 ++++++++++++++++++
 math/libceed/distinfo  |  3 ++
 math/libceed/pkg-descr |  3 ++
 math/libceed/pkg-plist | 86 ++++++++++++++++++++++++++++++++++++++++++++++++++
 5 files changed, 123 insertions(+)

diff --git a/math/Makefile b/math/Makefile
index 1bb2cae8b7ab..f24073883517 100644
--- a/math/Makefile
+++ b/math/Makefile
@@ -451,6 +451,7 @@
     SUBDIR += libRmath
     SUBDIR += libbraiding
     SUBDIR += libccd
+    SUBDIR += libceed
     SUBDIR += libcerf
     SUBDIR += libdivide
     SUBDIR += libdivsufsort
diff --git a/math/libceed/Makefile b/math/libceed/Makefile
new file mode 100644
index 000000000000..d0a854162387
--- /dev/null
+++ b/math/libceed/Makefile
@@ -0,0 +1,30 @@
+PORTNAME=	libceed
+DISTVERSIONPREFIX=	v
+DISTVERSION=	0.12.0-763
+DISTVERSIONSUFFIX=	-ge3ae47f6
+CATEGORIES=	math # machine-learning
+
+MAINTAINER=	yuri@FreeBSD.org
+COMMENT=	CEED Library: Code for Efficient Extensible Discretizations
+WWW=		https://libceed.org/en/latest/
+
+LICENSE=	BSD2CLAUSE
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+USES=		fortran gmake python:build,test
+USE_LDCONFIG=	yes
+
+USE_GITHUB=	yes
+GH_ACCOUNT=	CEED
+GH_PROJECT=	libCEED
+
+CFLAGS+=	-fPIC # https://github.com/CEED/libCEED/issues/1706
+
+TEST_TARGET=	test # tests fail, see https://github.com/CEED/libCEED/issues/1705
+
+BINARY_ALIAS=	python3=${PYTHON_CMD}
+
+post-install:
+	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libceed.so
+
+.include <bsd.port.mk>
diff --git a/math/libceed/distinfo b/math/libceed/distinfo
new file mode 100644
index 000000000000..7484df314fb6
--- /dev/null
+++ b/math/libceed/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1729731290
+SHA256 (CEED-libCEED-v0.12.0-763-ge3ae47f6_GH0.tar.gz) = e7137cb55d8505500a6d85c869722a2c39bd8e45abea31bc5f5d5f3e895c6291
+SIZE (CEED-libCEED-v0.12.0-763-ge3ae47f6_GH0.tar.gz) = 3385219
diff --git a/math/libceed/pkg-descr b/math/libceed/pkg-descr
new file mode 100644
index 000000000000..c530134e1532
--- /dev/null
+++ b/math/libceed/pkg-descr
@@ -0,0 +1,3 @@
+libCEED provides fast algebra for element-based discretizations, designed for
+performance portability, run-time flexibility, and clean embedding in higher
+level libraries and applications.
diff --git a/math/libceed/pkg-plist b/math/libceed/pkg-plist
new file mode 100644
index 000000000000..be209e969f0b
--- /dev/null
+++ b/math/libceed/pkg-plist
@@ -0,0 +1,86 @@
+include/ceed.h
+include/ceed/backend.h
+include/ceed/ceed-f32.h
+include/ceed/ceed-f64.h
+include/ceed/ceed.h
+include/ceed/cuda.h
+include/ceed/fortran.h
+include/ceed/hip.h
+include/ceed/jit-source/cuda/cuda-atomic-add-fallback.h
+include/ceed/jit-source/cuda/cuda-gen-templates.h
+include/ceed/jit-source/cuda/cuda-jit.h
+include/ceed/jit-source/cuda/cuda-ref-basis-nontensor-templates.h
+include/ceed/jit-source/cuda/cuda-ref-basis-nontensor.h
+include/ceed/jit-source/cuda/cuda-ref-basis-tensor-at-points.h
+include/ceed/jit-source/cuda/cuda-ref-basis-tensor.h
+include/ceed/jit-source/cuda/cuda-ref-operator-assemble-diagonal.h
+include/ceed/jit-source/cuda/cuda-ref-operator-assemble.h
+include/ceed/jit-source/cuda/cuda-ref-qfunction.h
+include/ceed/jit-source/cuda/cuda-ref-restriction-at-points.h
+include/ceed/jit-source/cuda/cuda-ref-restriction-curl-oriented.h
+include/ceed/jit-source/cuda/cuda-ref-restriction-offset.h
+include/ceed/jit-source/cuda/cuda-ref-restriction-oriented.h
+include/ceed/jit-source/cuda/cuda-ref-restriction-strided.h
+include/ceed/jit-source/cuda/cuda-shared-basis-read-write-templates.h
+include/ceed/jit-source/cuda/cuda-shared-basis-tensor-templates.h
+include/ceed/jit-source/cuda/cuda-shared-basis-tensor.h
+include/ceed/jit-source/cuda/cuda-types.h
+include/ceed/jit-source/gallery/ceed-identity.h
+include/ceed/jit-source/gallery/ceed-mass1dbuild.h
+include/ceed/jit-source/gallery/ceed-mass2dbuild.h
+include/ceed/jit-source/gallery/ceed-mass3dbuild.h
+include/ceed/jit-source/gallery/ceed-massapply.h
+include/ceed/jit-source/gallery/ceed-poisson1dapply.h
+include/ceed/jit-source/gallery/ceed-poisson1dbuild.h
+include/ceed/jit-source/gallery/ceed-poisson2dapply.h
+include/ceed/jit-source/gallery/ceed-poisson2dbuild.h
+include/ceed/jit-source/gallery/ceed-poisson3dapply.h
+include/ceed/jit-source/gallery/ceed-poisson3dbuild.h
+include/ceed/jit-source/gallery/ceed-scale.h
+include/ceed/jit-source/gallery/ceed-vectormassapply.h
+include/ceed/jit-source/gallery/ceed-vectorpoisson1dapply.h
+include/ceed/jit-source/gallery/ceed-vectorpoisson2dapply.h
+include/ceed/jit-source/gallery/ceed-vectorpoisson3dapply.h
+include/ceed/jit-source/hip/hip-gen-templates.h
+include/ceed/jit-source/hip/hip-jit.h
+include/ceed/jit-source/hip/hip-ref-basis-nontensor-templates.h
+include/ceed/jit-source/hip/hip-ref-basis-nontensor.h
+include/ceed/jit-source/hip/hip-ref-basis-tensor-at-points.h
+include/ceed/jit-source/hip/hip-ref-basis-tensor.h
+include/ceed/jit-source/hip/hip-ref-operator-assemble-diagonal.h
+include/ceed/jit-source/hip/hip-ref-operator-assemble.h
+include/ceed/jit-source/hip/hip-ref-qfunction.h
+include/ceed/jit-source/hip/hip-ref-restriction-at-points.h
+include/ceed/jit-source/hip/hip-ref-restriction-curl-oriented.h
+include/ceed/jit-source/hip/hip-ref-restriction-offset.h
+include/ceed/jit-source/hip/hip-ref-restriction-oriented.h
+include/ceed/jit-source/hip/hip-ref-restriction-strided.h
+include/ceed/jit-source/hip/hip-shared-basis-read-write-templates.h
+include/ceed/jit-source/hip/hip-shared-basis-tensor-templates.h
+include/ceed/jit-source/hip/hip-shared-basis-tensor.h
+include/ceed/jit-source/hip/hip-types.h
+include/ceed/jit-source/magma/magma-basis-grad-1d.h
+include/ceed/jit-source/magma/magma-basis-grad-2d.h
+include/ceed/jit-source/magma/magma-basis-grad-3d.h
+include/ceed/jit-source/magma/magma-basis-interp-1d.h
+include/ceed/jit-source/magma/magma-basis-interp-2d.h
+include/ceed/jit-source/magma/magma-basis-interp-3d.h
+include/ceed/jit-source/magma/magma-basis-interp-deriv-nontensor.h
+include/ceed/jit-source/magma/magma-basis-weight-1d.h
+include/ceed/jit-source/magma/magma-basis-weight-2d.h
+include/ceed/jit-source/magma/magma-basis-weight-3d.h
+include/ceed/jit-source/magma/magma-basis-weight-nontensor.h
+include/ceed/jit-source/magma/magma-common-defs.h
+include/ceed/jit-source/magma/magma-common-nontensor.h
+include/ceed/jit-source/magma/magma-common-tensor.h
+include/ceed/jit-source/sycl/sycl-gen-templates.h
+include/ceed/jit-source/sycl/sycl-jit.h
+include/ceed/jit-source/sycl/sycl-ref-qfunction.h
+include/ceed/jit-source/sycl/sycl-shared-basis-read-write-templates.h
+include/ceed/jit-source/sycl/sycl-shared-basis-tensor-templates.h
+include/ceed/jit-source/sycl/sycl-shared-basis-tensor.h
+include/ceed/jit-source/sycl/sycl-types.h
+include/ceed/types.h
+include/ceedf.h
+lib/libceed.so
+libdata/pkgconfig/ceed.pc