Repository navigation
Build system improvements backported from Debian - #6180
Conversation
|
Thanks for submitting this pull request! The maintainers of this repository would appreciate if you could update the CHANGELOG.md based on your changes. |
|
Hi @roehling can you provide the logs for a cmake build with these new options enabled? I ran into some cmake errors when trying to build with these new options (Ubuntu 22.04): Cannot use the deb embree package: Error during cmake Generate step for cutlass: |
|
It looks like the embree failure is a packaging error that has been fixed in Debian bookworm and later, namely |
|
FYI the stdgpu package with CUDA support is available in Debian unstable now: |
Motivation and Context
These are changes to the build system which have been applied for the Debian packaging. The pull request intends to minimize divergence between upstream and Debian.
Checklist:
python util/check_style.py --applyto apply Open3D code styleto my code.
updated accordingly.
results (e.g. screenshots or numbers) here.
Description
This PR combines multiple patches:
Add option USE_SYSTEM_EMBREEmakes it possible to build Open3D using the system-installed Embree libraryAdd option USE_SYSTEM_STDGPUdoes the same for stdgpuAdd option USE_SYSTEM_CUTLASSdoes the same for cutlassAdd workaround for missing TBBConfig.cmakeimproves compatibility with a few older Debian and Ubuntu versions where the system TBB has a broken CMake configuration file.Add option WITH_MINIZIPis a simple way to add theunzip.hheader if the system zlib library does not provide it (OFFby default, used in the Debian build)Add support to set Sphinx build datefacilitates reproducible builds, the build date in the documentation can be set to the release date and is no longer dependent on the actual build time.This change isβ