git: e69383fd37ac - main - graphics/openvkl: New port: Intel Open Volume Kernel Library for graphics applications

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Wed, 24 Nov 2021 17:51:52 UTC
The branch main has been updated by yuri:

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

commit e69383fd37acd23953848fce98887900826b6ed6
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2021-11-24 17:50:30 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2021-11-24 17:51:49 +0000

    graphics/openvkl: New port: Intel Open Volume Kernel Library for graphics applications
---
 graphics/Makefile          |  1 +
 graphics/openvkl/Makefile  | 36 ++++++++++++++++++++++++++++
 graphics/openvkl/distinfo  |  3 +++
 graphics/openvkl/pkg-descr | 11 +++++++++
 graphics/openvkl/pkg-plist | 59 ++++++++++++++++++++++++++++++++++++++++++++++
 5 files changed, 110 insertions(+)

diff --git a/graphics/Makefile b/graphics/Makefile
index 5bb899bce1ca..3097c62980e6 100644
--- a/graphics/Makefile
+++ b/graphics/Makefile
@@ -604,6 +604,7 @@
     SUBDIR += openrm
     SUBDIR += openshadinglanguage
     SUBDIR += opensubdiv
+    SUBDIR += openvkl
     SUBDIR += optar
     SUBDIR += optipng
     SUBDIR += osg
diff --git a/graphics/openvkl/Makefile b/graphics/openvkl/Makefile
new file mode 100644
index 000000000000..296776a2302b
--- /dev/null
+++ b/graphics/openvkl/Makefile
@@ -0,0 +1,36 @@
+PORTNAME=	openvkl
+DISTVERSIONPREFIX=	v
+DISTVERSION=	1.1.0
+CATEGORIES=	graphics devel
+
+MAINTAINER=	yuri@FreeBSD.org
+COMMENT=	Intel Open Volume Kernel Library for graphics applications
+
+LICENSE=	APACHE20
+LICENSE_FILE=	${WRKSRC}/LICENSE.txt
+
+BUILD_DEPENDS=	ispc:devel/ispc
+LIB_DEPENDS=	libembree3.so:graphics/embree \
+		libglfw.so:graphics/glfw \
+		librkcommon.so:devel/rkcommon \
+		libtbbmalloc.so:devel/onetbb
+
+USES=		cmake:testing gl
+USE_GITHUB=	yes
+USE_GL=		gl
+USE_LDCONFIG=	yes
+
+CMAKE_OFF=	BUILD_TESTING
+CMAKE_TESTING_ON=	BUILD_TESTING
+
+OPTIONS_DEFINE=		DOCS VDB
+OPTIONS_DEFAULT=	VDB
+
+VDB_DESC=		Build with OpenVDB
+VDB_CMAKE_ON=		-DOpenVDB_ROOT=${LOCALBASE}
+VDB_LIB_DEPENDS=	libboost_system.so:devel/boost-libs \
+			libopenvdb.so:misc/openvdb
+
+PORTDOCS=	*
+
+.include <bsd.port.mk>
diff --git a/graphics/openvkl/distinfo b/graphics/openvkl/distinfo
new file mode 100644
index 000000000000..a7c7dcc41768
--- /dev/null
+++ b/graphics/openvkl/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1637725961
+SHA256 (openvkl-openvkl-v1.1.0_GH0.tar.gz) = d193c75a2c57acd764649215b244c432694a0169da374a9d769a81b02a9132e9
+SIZE (openvkl-openvkl-v1.1.0_GH0.tar.gz) = 2925346
diff --git a/graphics/openvkl/pkg-descr b/graphics/openvkl/pkg-descr
new file mode 100644
index 000000000000..0aa7109d5ce5
--- /dev/null
+++ b/graphics/openvkl/pkg-descr
@@ -0,0 +1,11 @@
+Intel Open Volume Kernel Library (Intel Open VKL) is a collection of
+high-performance volume computation kernels, developed at Intel. The target
+users of Open VKL are graphics application engineers who want to improve the
+performance of their volume rendering applications by leveraging Open VKL's
+performance-optimized kernels, which include volume traversal and sampling
+functionality for a variety of volumetric data formats. The kernels are
+optimized for the latest Intel processors with support for SSE, AVX, AVX2,
+and AVX-512 instructions, and for ARM processors with support for NEON
+instructions.
+
+WWW: https://github.com/openvkl/openvkl
diff --git a/graphics/openvkl/pkg-plist b/graphics/openvkl/pkg-plist
new file mode 100644
index 000000000000..bae5fb85b3bc
--- /dev/null
+++ b/graphics/openvkl/pkg-plist
@@ -0,0 +1,59 @@
+bin/vklExamples
+bin/vklTutorial
+bin/vklTutorialISPC
+include/openvkl/VKLBackgroundUndefined.h
+include/openvkl/VKLDataType.h
+include/openvkl/VKLError.h
+include/openvkl/VKLFilter.h
+include/openvkl/VKLFormat.h
+include/openvkl/VKLLogLevel.h
+include/openvkl/VKLTemporalFormat.h
+include/openvkl/common.h
+include/openvkl/common.isph
+include/openvkl/data.h
+include/openvkl/device.h
+include/openvkl/device.isph
+include/openvkl/ispc_cpp_interop.h
+include/openvkl/iterator.h
+include/openvkl/iterator.isph
+include/openvkl/max_iterator_size.h
+include/openvkl/module.h
+include/openvkl/observer.h
+include/openvkl/openvkl.h
+include/openvkl/openvkl.isph
+include/openvkl/parameters.h
+include/openvkl/sampler.h
+include/openvkl/sampler.isph
+include/openvkl/types.h
+include/openvkl/utility/temporal_compression/douglas_peucker.h
+include/openvkl/utility/usda/usda.h
+include/openvkl/utility/vdb/InnerNodes.h
+include/openvkl/utility/vdb/OpenVdbGrid.h
+include/openvkl/utility/vdb/VdbVolumeBuffers.h
+include/openvkl/vdb.h
+include/openvkl/vdb/topology.h
+include/openvkl/vdb/topology_1.h
+include/openvkl/vdb/topology_2.h
+include/openvkl/vdb/topology_3.h
+include/openvkl/version.h
+include/openvkl/volume.h
+include/openvkl/volume.isph
+lib/cmake/openvkl-1.1.0/openvklConfig.cmake
+lib/cmake/openvkl-1.1.0/openvklConfigVersion.cmake
+lib/cmake/openvkl-1.1.0/openvkl_Exports-%%CMAKE_BUILD_TYPE%%.cmake
+lib/cmake/openvkl-1.1.0/openvkl_Exports.cmake
+lib/libopenvkl.so
+lib/libopenvkl.so.1
+lib/libopenvkl.so.1.1.0
+lib/libopenvkl_module_cpu_device.so
+lib/libopenvkl_module_cpu_device.so.1
+lib/libopenvkl_module_cpu_device.so.1.1.0
+lib/libopenvkl_module_cpu_device_16.so
+lib/libopenvkl_module_cpu_device_16.so.1
+lib/libopenvkl_module_cpu_device_16.so.1.1.0
+lib/libopenvkl_module_cpu_device_4.so
+lib/libopenvkl_module_cpu_device_4.so.1
+lib/libopenvkl_module_cpu_device_4.so.1.1.0
+lib/libopenvkl_module_cpu_device_8.so
+lib/libopenvkl_module_cpu_device_8.so.1
+lib/libopenvkl_module_cpu_device_8.so.1.1.0