embree: add recipe

Intel(R) Embree is a collection of high-performance ray tracing kernels,
developed at Intel. The target users of Intel(R) Embree are graphics
application engineers who want to improve the performance of their
photo-realistic rendering application by leveraging Embree's
performance-optimized ray tracing kernels.
The kernels are optimized for the latest Intel(R) processors with
support for SSE, AVX, AVX2, and AVX-512 instructions.

https://github.com/embree/embree

Added syrah license file
https://github.com/boulos/syrah/blob/master/LICENSE

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-06-24 13:53:59 +08:00 committed by Anuj Mittal
parent e56859c901
commit 62d59c728d
2 changed files with 65 additions and 0 deletions

32
custom-licenses/syrah Normal file
View File

@ -0,0 +1,32 @@
Copyright (c) 2009, Stanford University, and authors listed below.
All rights reserved.
Original authors:
Solomon Boulos
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
Redistributions of source code must retain the above copyright notice,
this list of conditions and the following disclaimer.
Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
Neither the name of Stanford University nor the names of its
contributors may be used to endorse or promote products derived from
this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

View File

@ -0,0 +1,33 @@
SUMMARY = "Collection of high-performance ray tracing kernels"
DESCRIPTION = "A collection of high-performance ray tracing kernels \
intended to graphics application engineers that want to improve the \
performance of their application."
HOMEPAGE = "https://github.com/embree/embree"
LICENSE = "Apache-2.0 & syrah"
LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=3b83ef96387f14655fc854ddc3c6bd57 \
file://third-party-programs.txt;md5=86f6028ba2138fe41ac5c121d0a3518e \
file://common/math/transcendental.h;beginline=6;endline=8;md5=73380bb2ab6613b30b8464f114bd0ca8"
inherit pkgconfig cmake
S = "${WORKDIR}/git"
SRC_URI = "git://github.com/embree/embree.git;protocol=https \
"
SRCREV = "7c53133eb21424f7f0ae1e25bf357e358feaf6ab"
COMPATIBLE_HOST = '(x86_64).*-linux'
DEPENDS = "tbb jpeg libpng glfw"
EMBREE-MAX-ISA = "SSE4.2"
EMBREE-MAX-ISA_intel-corei7-64 = "SSE4.2"
EMBREE-MAX-ISA_intel-skylake-64 = "AVX2"
EXTRA_OECMAKE += " \
-DEMBREE_ISPC_SUPPORT=OFF \
-DEMBREE_IGNORE_CMAKE_CXX_FLAGS=OFF \
-DEMBREE_MAX_ISA=${EMBREE-MAX-ISA} \
-DEMBREE_TUTORIALS=OFF \
"