Skip to the text
KDOS
Menu
kdos.dev KDOS from Scratch KDOS 0.2 · 4dd4a10 · 2026-11-30 Contents Index

196.4. opensubdiv-3.7.0

Pixar's OpenSubdiv: subdivision surface evaluation on the CPU and in GLSL — Blender's Subdivision modifier

3.7.0-1 · Pixar · 0.4 SBU · 6.9 MiB, 92 files · 42_graphics, 20 of 189 · ports/core/3d/opensubdiv

Homepage: https://graphics.pixar.com/opensubdiv/

Depends on: cmake, ninja, onetbb, libglvnd, mesa.

Required by (1): blender.

Sources: opensubdiv-3.7.0.tar.gz (38.8 MiB). Every step kpkg takes applies to this port.

Install: script/chroot/exec.sh bash -c 'source script/phases/42_graphics/phase.env && kpkg install opensubdiv'

build.sh:

mkdir build && cd build
cmake .. -G Ninja -DCMAKE_POLICY_VERSION_MINIMUM=3.5 \
	-DCMAKE_BUILD_TYPE=Release \
	-DCMAKE_INSTALL_PREFIX=/usr \
	-DCMAKE_INSTALL_LIBDIR=lib \
	-DCMAKE_LIBDIR_BASE=lib \
	-DCMAKE_SKIP_INSTALL_RPATH=ON \
	-DBUILD_SHARED_LIBS=ON \
	-DNO_LIB=OFF \
	-DNO_EXAMPLES=ON \
	-DNO_TUTORIALS=ON \
	-DNO_REGRESSION=ON \
	-DNO_TESTS=ON \
	-DNO_GLTESTS=ON \
	-DNO_DOC=ON \
	-DNO_PTEX=ON \
	-DNO_OMP=ON \
	-DNO_TBB=OFF \
	-DNO_CUDA=ON \
	-DNO_OPENCL=ON \
	-DNO_CLEW=ON \
	-DNO_OPENGL=OFF \
	-DNO_METAL=ON \
	-DNO_DX=ON \
	-DNO_GLEW=ON \
	-DNO_GLFW=ON \
	-DNO_GLFW_X11=ON
ninja
DESTDIR=$PKG ninja install

Libraries: libosdCPU.a, libosdCPU.so, libosdGPU.a, libosdGPU.so.

Directories: /usr/include/opensubdiv, /usr/lib/cmake/OpenSubdiv, /usr/share/licenses/opensubdiv.