mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 19:50:05 +02:00
embree, cleanup (#8268)
This commit is contained in:
@@ -10,7 +10,7 @@ algorithms that best matches the instruction set of your CPU"
|
||||
HOMEPAGE="https://embree.github.io"
|
||||
COPYRIGHT="2013-2021 Intel Corporation"
|
||||
LICENSE="Apache v2"
|
||||
REVISION="2"
|
||||
REVISION="3"
|
||||
SOURCE_URI="https://github.com/embree/embree/archive/v$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="22a527622497e07970e733f753cc9c10b2bd82c3b17964e4f71a5fd2cdfca210"
|
||||
SOURCE_FILENAME="embree-v$portVersion.tar.gz"
|
||||
@@ -64,39 +64,31 @@ defineDebugInfoPackage embree$secondaryArchSuffix \
|
||||
|
||||
BUILD()
|
||||
{
|
||||
mkdir -p haiku_build
|
||||
cd haiku_build
|
||||
|
||||
cmake $cmakeDirArgs \
|
||||
.. \
|
||||
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
|
||||
cmake -Bbuild -S. -DCMAKE_BUILD_TYPE=RelWithDebInfo \
|
||||
$cmakeDirArgs \
|
||||
-DEMBREE_MAX_ISA=DEFAULT \
|
||||
-DEMBREE_TUTORIALS=OFF \
|
||||
-DEMBREE_ISPC_SUPPORT=OFF \
|
||||
-DEMBREE_TASKING_SYSTEM=OFF \
|
||||
-DBUILD_TESTING=ON
|
||||
make $jobArgs
|
||||
make -C build $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
cd haiku_build
|
||||
make install
|
||||
make -C build install
|
||||
|
||||
prepareInstalledDevelLib libembree3
|
||||
|
||||
fixPkgconfig
|
||||
|
||||
# devel package
|
||||
packageEntries devel \
|
||||
$developDir \
|
||||
$libDir/cmake \
|
||||
$docDir \
|
||||
$manDir
|
||||
$documentationDir
|
||||
}
|
||||
|
||||
TEST()
|
||||
{
|
||||
cd haiku_build
|
||||
make test
|
||||
make -C build test
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user