Conversation
Builds Pixar's OpenUSD core libraries and their pxr Python bindings for riscv64, the same configuration upstream publishes as the usd-core wheel: build_usd.py with imaging, MaterialX, examples and tutorials off, so nothing in the wheel touches OpenGL, Vulkan, Metal or X11 - every GPU find_package in cmake/defaults/Packages.cmake sits inside if (PXR_BUILD_IMAGING). There is no usd-core sdist on PyPI, so the workflow builds from the v26.08 tag the way upstream's pypi.yml does, including its dummy-libpython workaround for the manylinux image. The Python bindings need no external Boost: since 24.11 USD vendors its own Boost.Python fork at pxr/external/boost/python, and PXR_USE_BOOST_PYTHON is gone from 26.08 entirely. TBB 2020.3.1 - the only dependency build_usd.py compiles for a core build - needs no help on riscv64: its makefiles fall back to uname -m for the arch name and to lin64 for the export list, and tbb_machine.h picks machine/gcc_generic.h from GCC's builtin atomics. One patch is required, for pxr/base/arch: defines.h stops the build outright with "Unsupported architecture. x86_64 or ARM64 required.", and once that is past, math.h and stackTrace.cpp have the same shape of x86/ARM-only gate.
luhenry
added a commit
that referenced
this pull request
Sep 21, 2026
… build, vendored pxr_boost::python, one arch patch
Contributor
|
luhenry
added a commit
that referenced
this pull request
Sep 21, 2026
luhenry
marked this pull request as ready for review
September 21, 2026 07:32
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
usd-core26.8Compiles OpenUSD's core C++ libraries and their
pxrPython bindings — imaging, MaterialX, examples and tutorials off, so no OpenGL, Vulkan, Metal or X11 is involved. Upstream publishes no riscv64 wheel.Mirrors upstream's
pypi.ymlLinux job, including its dummy-libpythonworkaround andbuild_scripts/pypi/{setup.py,updatePluginfos.py}.Differs from upstream
v26.08tag rather than a branch — there is nousd-coresdist on PyPI.build_usd.pyin the riscv64 manylinux image directly, not upstream'smanylinux_2_28_x86_64Dockerfile.Matrix: cp312/cp313/cp314 — upstream ships cp39-cp314 and no free-threaded wheel, and the vendored
pxr_boost::pythonbindings never declarePy_mod_gil.Testing
pxrsubmodule to exercise the monolithic library.License: Wheel bundles TBB 2020.3.1 (Apache-2.0); upstream ships no licence text for it, so the build adds it.
Patches
0001-Support-riscv64-in-pxr-base-arch.patch—Upstream-Status: To upstream, needs a PR against PixarAnimationStudios/OpenUSD. Without itpxr/base/arch/defines.hfails every translation unit with#error "Unsupported architecture. x86_64 or ARM64 required.", andarch/math.handarch/stackTrace.cppcarry the same x86/ARM-only gates. riscv64-only.Built on cp312, cp313 and cp314; 3 passed, 31
pxrmodules imported.