Re: git: a439278b39e8 - main - science/anari: new port, ANARI Cross-Platform 3D Rendering Engine API

Daniel Engberg <[email protected]>
Newsgroups gmane.os.freebsd.devel.cvs.ports
Message-ID <[email protected]>
On 2026-08-15 21:58, Thierry Thomas wrote:
> The branch main has been updated by thierry:
>
> URL: https://cgit.FreeBSD.org/ports/commit/?id=a439278b39e8e9d7f09d1a8390a957fe937a6016
>
> commit a439278b39e8e9d7f09d1a8390a957fe937a6016
> Author:     Thierry Thomas <[email protected]>
> AuthorDate: 2026-08-15 16:02:08 +0000
> Commit:     Thierry Thomas <[email protected]>
> CommitDate: 2026-08-15 19:58:03 +0000
>
>      science/anari: new port, ANARI Cross-Platform 3D Rendering Engine API
> ---
>   science/Makefile                                   |   1 +
>   science/anari/Makefile                             |  47 ++++++
>   science/anari/distinfo                             |   5 +
>   .../patch-cmake_anari__sdk__fetch__project.cmake   |  21 +++
>   .../files/patch-examples_simple_anariTutorial.c    |  12 ++
>   .../patch-examples_simple_anariTutorialDebug.c     |  12 ++
>   science/anari/pkg-descr                            |   8 +
>   science/anari/pkg-plist                            | 183 +++++++++++++++++++++
>   8 files changed, 289 insertions(+)
>
> diff --git a/science/Makefile b/science/Makefile
> index ef2f84e5c9ed..aa9cd8510412 100644
> --- a/science/Makefile
> +++ b/science/Makefile
> @@ -25,6 +25,7 @@
>       SUBDIR += agrum
>       SUBDIR += aircraft-datcom
>       SUBDIR += amrex
> +    SUBDIR += anari
>       SUBDIR += antioch
>       SUBDIR += apbs
>       SUBDIR += arbor
> diff --git a/science/anari/Makefile b/science/anari/Makefile
> new file mode 100644
> index 000000000000..0d286ba7469a
> --- /dev/null
> +++ b/science/anari/Makefile
> @@ -0,0 +1,47 @@
> +PORTNAME=	ANARI
> +DISTVERSIONPREFIX=	v
> +DISTVERSION=	0.16.0
> +CATEGORIES=	science devel graphics
> +MASTER_SITES=	https://github.com/KhronosGroup/ANARI-SDK/archive/refs/tags/:anari \
> +		https://github.com/RenderKit/embree/archive/refs/tags/:embree
Hi,

This should use USE_GITHUB rather than MASTER_SITE which the framework 
already tells you about.
It also builds unit tests by default which is wasteful.

===== env: DEVELOPER_MODE=yes DEVELOPER=1 STRICT_DEPENDS=yes USER=nobody 
UID=65534 GID=65534
/!\ ANARI-SDK-0.16.0: Makefile warnings, please consider fixing /!\

MASTER_SITES contains
https://github.com/KhronosGroup/ANARI-SDK/archive/refs/tags/:anari
https://github.com/RenderKit/embree/archive/refs/tags/:embree, please use
USE_GITHUB instead.

Best regards,
Daniel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.