Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
BlenderPhi
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
raas
BlenderPhi
Commits
fa688fbf
Commit
fa688fbf
authored
3 years ago
by
Brecht Van Lommel
Browse files
Options
Downloads
Patches
Plain Diff
Build: improve descriptions and organization of Cycles build options
parent
b0d64841
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
CMakeLists.txt
+30
-24
30 additions, 24 deletions
CMakeLists.txt
with
30 additions
and
24 deletions
CMakeLists.txt
+
30
−
24
View file @
fa688fbf
...
...
@@ -408,39 +408,45 @@ option(WITH_CPU_SIMD "Enable SIMD instruction if they're detected o
mark_as_advanced
(
WITH_CPU_SIMD
)
# Cycles
option
(
WITH_CYCLES
"Enable Cycles Render Engine"
ON
)
option
(
WITH_CYCLES_STANDALONE
"Build Cycles standalone application"
OFF
)
option
(
WITH_CYCLES_STANDALONE_GUI
"Build Cycles standalone with GUI"
OFF
)
option
(
WITH_CYCLES_OSL
"Build Cycles with OSL support"
ON
)
option
(
WITH_CYCLES_EMBREE
"Build Cycles with Embree support"
ON
)
option
(
WITH_CYCLES_CUDA_BINARIES
"Build Cycles CUDA binaries"
OFF
)
option
(
WITH_CYCLES_CUBIN_COMPILER
"Build cubins with nvrtc based compiler instead of nvcc"
OFF
)
option
(
WITH_CYCLES_CUDA_BUILD_SERIAL
"Build cubins one after another (useful on machines with limited RAM)"
OFF
)
mark_as_advanced
(
WITH_CYCLES_CUDA_BUILD_SERIAL
)
set
(
CYCLES_TEST_DEVICES CPU CACHE STRING
"Run regression tests on the specified device types (CPU CUDA OPTIX)"
)
set
(
CYCLES_CUDA_BINARIES_ARCH sm_30 sm_35 sm_37 sm_50 sm_52 sm_60 sm_61 sm_70 sm_75 sm_86 compute_75 CACHE STRING
"CUDA architectures to build binaries for"
)
mark_as_advanced
(
CYCLES_CUDA_BINARIES_ARCH
)
option
(
WITH_CYCLES_HIP_BINARIES
"Build Cycles HIP binaries"
OFF
)
unset
(
PLATFORM_DEFAULT
)
option
(
WITH_CYCLES_LOGGING
"Build Cycles with logging support"
ON
)
option
(
WITH_CYCLES_DEBUG_NAN
"Build Cycles with additional asserts for detecting NaNs and invalid values"
OFF
)
option
(
WITH_CYCLES_NATIVE_ONLY
"Build Cycles with native kernel only (which fits current CPU, use for development only)"
OFF
)
option
(
WITH_CYCLES_KERNEL_ASAN
"Build Cycles kernels with address sanitizer when WITH_COMPILER_ASAN is on, even if it's very slow"
OFF
)
option
(
WITH_CYCLES
"Enable Cycles Render Engine"
ON
)
option
(
WITH_CYCLES_OSL
"Build Cycles with OpenShadingLanguage support"
ON
)
option
(
WITH_CYCLES_EMBREE
"Build Cycles with Embree support"
ON
)
option
(
WITH_CYCLES_LOGGING
"Build Cycles with logging support"
ON
)
option
(
WITH_CYCLES_STANDALONE
"Build Cycles standalone application"
OFF
)
option
(
WITH_CYCLES_STANDALONE_GUI
"Build Cycles standalone with GUI"
OFF
)
option
(
WITH_CYCLES_DEBUG_NAN
"Build Cycles with additional asserts for detecting NaNs and invalid values"
OFF
)
option
(
WITH_CYCLES_NATIVE_ONLY
"Build Cycles with native kernel only (which fits current CPU, use for development only)"
OFF
)
option
(
WITH_CYCLES_KERNEL_ASAN
"Build Cycles kernels with address sanitizer when WITH_COMPILER_ASAN is on, even if it's very slow"
OFF
)
set
(
CYCLES_TEST_DEVICES CPU CACHE STRING
"Run regression tests on the specified device types (CPU CUDA OPTIX HIP)"
)
mark_as_advanced
(
WITH_CYCLES_KERNEL_ASAN
)
mark_as_advanced
(
WITH_CYCLES_CUBIN_COMPILER
)
mark_as_advanced
(
WITH_CYCLES_LOGGING
)
mark_as_advanced
(
WITH_CYCLES_DEBUG_NAN
)
mark_as_advanced
(
WITH_CYCLES_NATIVE_ONLY
)
option
(
WITH_CYCLES_DEVICE_CUDA
"Enable Cycles CUDA compute support"
ON
)
option
(
WITH_CYCLES_DEVICE_OPTIX
"Enable Cycles OptiX support"
ON
)
option
(
WITH_CYCLES_DEVICE_HIP
"Enable Cycles HIP support"
OFF
)
mark_as_advanced
(
WITH_CYCLES_DEVICE_HIP
)
# NVIDIA CUDA & OptiX
option
(
WITH_CYCLES_DEVICE_CUDA
"Enable Cycles NVIDIA CUDA compute support"
ON
)
option
(
WITH_CYCLES_DEVICE_OPTIX
"Enable Cycles NVIDIA OptiX support"
ON
)
mark_as_advanced
(
WITH_CYCLES_DEVICE_CUDA
)
option
(
WITH_CUDA_DYNLOAD
"Dynamically load CUDA libraries at runtime"
ON
)
option
(
WITH_CYCLES_CUDA_BINARIES
"Build Cycles NVIDIA CUDA binaries"
OFF
)
set
(
CYCLES_CUDA_BINARIES_ARCH sm_30 sm_35 sm_37 sm_50 sm_52 sm_60 sm_61 sm_70 sm_75 sm_86 compute_75 CACHE STRING
"CUDA architectures to build binaries for"
)
option
(
WITH_CYCLES_CUBIN_COMPILER
"Build cubins with nvrtc based compiler instead of nvcc"
OFF
)
option
(
WITH_CYCLES_CUDA_BUILD_SERIAL
"Build cubins one after another (useful on machines with limited RAM)"
OFF
)
option
(
WITH_CUDA_DYNLOAD
"Dynamically load CUDA libraries at runtime (for developers, makes cuda-gdb work)"
ON
)
mark_as_advanced
(
CYCLES_CUDA_BINARIES_ARCH
)
mark_as_advanced
(
WITH_CYCLES_CUBIN_COMPILER
)
mark_as_advanced
(
WITH_CYCLES_CUDA_BUILD_SERIAL
)
mark_as_advanced
(
WITH_CUDA_DYNLOAD
)
# AMD HIP
option
(
WITH_CYCLES_DEVICE_HIP
"Enable Cycles AMD HIP support"
OFF
)
option
(
WITH_CYCLES_HIP_BINARIES
"Build Cycles AMD HIP binaries"
OFF
)
set
(
CYCLES_HIP_BINARIES_ARCH gfx1010 gfx1011 gfx1012 gfx1030 gfx1031 gfx1032 gfx1034 CACHE STRING
"AMD HIP architectures to build binaries for"
)
mark_as_advanced
(
WITH_CYCLES_DEVICE_HIP
)
mark_as_advanced
(
CYCLES_HIP_BINARIES_ARCH
)
# Draw Manager
option
(
WITH_DRAW_DEBUG
"Add extra debug capabilities to Draw Manager"
OFF
)
mark_as_advanced
(
WITH_DRAW_DEBUG
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment