opensubdiv

OpenSubdiv is a set of open source libraries that implement high performance subdivision surface (subdiv) evaluation on massively parallel CPU and GPU architectures.

Latest version: 3.6.0

Add to xmake.lua

add_requires("opensubdiv 3.6.0")

Learn how to add and link packages with Xmake →

Information

License
Apache-2.0
Recipe updated
2025-07-03T08:38:07.000Z

Platforms

  • linux: i386, x86_64, armv7, armv7s, arm64, mips, mips64, mipsel, mips64el, loong64, riscv64, s390x, ppc, ppc64, ppc64el, sparc64
  • wasm: wasm32, wasm64
  • macosx: x86_64, arm64
  • windows: x86, x64, arm, arm64, arm64ec

Options

cuda
Enable CUDA backend. · Type: boolean · Default: false
glfw
Enable components depending on GLFW. · Type: boolean · Default: true
opencl
Enable OpenCL backend. · Type: boolean · Default: false
openmp
Enable OpenMP backend. · Type: boolean · Default: false
ptex
Enable components depending on Ptex. · Type: boolean · Default: true
tbb
Enable components depending on TBB. · Type: boolean · Default: false

Versions

  • 3.4.4
  • 3.5.0
  • 3.6.0

Dependencies

Install with xrepo

Install the package independently of a project and inspect its available configuration.

install

xrepo install "opensubdiv 3.6.0"

show info

xrepo info "opensubdiv"

Link a library to your target

Declare the requirement, then attach the library to the target that uses it.

xmake.lua

add_requires("opensubdiv 3.6.0")

target("demo")
    set_kind("binary")
    add_files("src/*.cpp")
    add_packages("opensubdiv")

Open a package environment

Open a shell with the environment exported by this package. Use the executable names documented by the package.

enter shell

xrepo env -b "opensubdiv 3.6.0" shell