File tree Expand file tree Collapse file tree 2 files changed +11
-3
lines changed
Expand file tree Collapse file tree 2 files changed +11
-3
lines changed Original file line number Diff line number Diff line change @@ -141,9 +141,14 @@ option(OPENVDB_ENABLE_UNINSTALL "Adds a CMake uninstall target." ON)
141141option (USE_COLORED_OUTPUT "Always produce ANSI-colored output (GNU/Clang only)." OFF )
142142cmake_dependent_option(USE_PKGCONFIG "Use pkg-config to search for dependent libraries." ON "NOT WIN32" OFF )
143143
144- option (USE_EXPLICIT_INSTANTIATION "Use explicit instantiation for all supported classes and methods against a
145- pre-defined list of OpenVDB trees. This makes the core library larger and slower to compile, but speeds up
146- the compilation of all dependent code by bypassing the expensive template instantation." ON )
144+ # Disable this on Windows due to linker OOM issues:
145+ # LNK1248: image size (XXX) exceeds maximum allowable size (FFFFFFFF)
146+ # https://github.com/AcademySoftwareFoundation/openvdb/issues/1718
147+ # https://github.com/AcademySoftwareFoundation/openvdb/issues/1624
148+ cmake_dependent_option(USE_EXPLICIT_INSTANTIATION "Use explicit instantiation for all supported classes
149+ and methods against a pre-defined list of OpenVDB trees. This makes the core library larger and slower
150+ to compile, but speeds up the compilation of all dependent code by bypassing the expensive template
151+ instantation." ON "NOT WIN32" OFF )
147152
148153set (SYSTEM_LIBRARY_PATHS "" CACHE STRING [=[
149154A global list of library paths to additionally use into when searching for dependencies.]=])
Original file line number Diff line number Diff line change 1+ Build:
2+ - USE_EXPLICIT_INSTANTIATION is now disabled on Windows by default due to
3+ OOM linker issues.
You can’t perform that action at this time.
0 commit comments