ospray: add recipe

Intel OSPRay is an open source, scalable, and portable ray
tracing engine for high-performance, high-fidelity visualization
on Intel Architecture CPUs.

The purpose of OSPRay is to provide an open, powerful, and easy-to-use
rendering library that allows one to easily build applications that
use ray tracing based rendering for interactive applications
(including both surface- and volume-based visualizations). OSPRay
is completely CPU-based, and runs on anything from laptops, to
workstations, to compute nodes in HPC systems.

https://www.ospray.org/

Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
This commit is contained in:
Naveen Saini 2021-07-07 13:26:12 +08:00 committed by Anuj Mittal
parent fde5a8b3e1
commit e10bdd43d4
2 changed files with 58 additions and 0 deletions

View File

@ -0,0 +1,28 @@
From 09e6b6615d9a16e9555eff9d569356e32bd26aa4 Mon Sep 17 00:00:00 2001
From: benradel <86351445+benradel@users.noreply.github.com>
Date: Wed, 23 Jun 2021 11:56:03 +0200
Subject: [PATCH] Fix GCC11 Compile Error in benchmark_register.h
Fix GCC11 compilation error due to missing header "limits" in benchmark_register.h
Upstream-Status: Submitted [https://github.com/ospray/ospray/pull/484/files]
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
---
apps/common/external/benchmark/src/benchmark_register.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/apps/common/external/benchmark/src/benchmark_register.h b/apps/common/external/benchmark/src/benchmark_register.h
index 61377d742..8f1bb7795 100644
--- a/apps/common/external/benchmark/src/benchmark_register.h
+++ b/apps/common/external/benchmark/src/benchmark_register.h
@@ -2,6 +2,7 @@
#define BENCHMARK_REGISTER_H
#include <vector>
+#include <limits>
#include "check.h"
--
2.32.0

View File

@ -0,0 +1,30 @@
SUMMARY = "Intel OSPray, Ray Tracing based Rendering Engine"
DESCRIPTION = "Intel OSPRay is an open source, scalable, and portable ray \
tracing engine for high-performance, high-fidelity visualization on \
Intel Architecture CPUs."
HOMEPAGE = "https://www.ospray.org/"
LICENSE = "Apache-2.0 & BSD-3-Clause & MIT & Zlib"
LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=1dece7821bf3fd70fe1309eaa37d52a2 \
file://third-party-programs.txt;md5=456d31cabdb289fd00768487c902e9e9"
inherit pkgconfig cmake
S = "${WORKDIR}/git"
SRC_URI = "git://github.com/ospray/ospray.git;protocol=https \
file://0001-Fix-GCC11-Compile-Error-in-benchmark_register.h.patch \
"
SRCREV = "6462fd89e9bd0b4692db01199f3a8651664d5496"
COMPATIBLE_HOST = '(x86_64).*-linux'
DEPENDS = "rkcommon ispc-native openvkl embree"
EXTRA_OECMAKE += " \
-DISPC_EXECUTABLE=${STAGING_BINDIR_NATIVE}/ispc \
"
PACKAGES =+ "${PN}-apps"
FILES_${PN}-apps = "\
${bindir} \
"