LLVM_MAX_SLOT=9
LLVM_MAX_SLOT=11
--
HOMEPAGE="http://opensource.imageworks.com/?p=osl"
HOMEPAGE="http://opensource.imageworks.com/?p=osl https://github.com/imageworks/OpenShadingLanguage"
KEYWORDS="amd64 ~x86"
KEYWORDS="~amd64 ~x86"
<sys-devel/clang-10:=
<sys-devel/clang-12:=
sys-libs/zlib:=
sys-libs/zlib
DEPEND="${RDEPEND}"
DEPEND="
${RDEPEND}
dev-python/pybind11
"
PATCHES=(
PATCHES=()
"${FILESDIR}/${PN}-1.10.5-fix-install-shaders.patch"
)
CMAKE_REMOVE_MODULES_LIST=()
-DCMAKE_CXX_STANDARD=14
-DENABLERTTI=OFF
-DLLVM_STATIC=ON
-DLLVM_STATIC=OFF
-DLLVM_ROOT="$(get_llvm_prefix ${LLVM_MAX_SLOT})"
-DOSL_SHADER_INSTALL_DIR="${EPREFIX}/usr/include/${PN^^}/shaders"
-DOSL_PTX_INSTALL_DIR="${EPREFIX}/usr/include/${PN^^}/ptx"