Skip to content

openusd v25.08#15

Merged
traversaro merged 28 commits intoconda-forge:mainfrom
regro-cf-autotick-bot:25.08_h2800ff
Dec 1, 2025
Merged

openusd v25.08#15
traversaro merged 28 commits intoconda-forge:mainfrom
regro-cf-autotick-bot:25.08_h2800ff

Conversation

@regro-cf-autotick-bot
Copy link
Contributor

It is very likely that the current package version for this feedstock is out of date.

Checklist before merging this PR:

  • Dependencies have been updated if changed: see upstream
  • Tests have passed
  • Updated license if changed and license_file is packaged

Information about this PR:

  1. Feel free to push to the bot's branch to update this PR if needed.
  2. The bot will almost always only open one PR per version.
  3. The bot will stop issuing PRs if more than 3 version bump PRs generated by the bot are open. If you don't want to package a particular version please close the PR.
  4. If you want these PRs to be merged automatically, make an issue with @conda-forge-admin,please add bot automerge in the title and merge the resulting PR. This command will add our bot automerge feature to your feedstock.
  5. If this PR was opened in error or needs to be updated please add the bot-rerun label to this PR. The bot will close this PR and schedule another one. If you do not have permissions to add this label, you can use the phrase @conda-forge-admin, please rerun bot in a PR comment to have the conda-forge-admin add it for you.

This PR was created by the regro-cf-autotick-bot. The regro-cf-autotick-bot is a service to automatically track the dependency graph, migrate packages, and propose package version updates for conda-forge. Feel free to drop us a line if there are any issues! This PR was generated by https://github.com/regro/cf-scripts/actions/runs/16661321481 - please use this URL for debugging.

@conda-forge-admin
Copy link
Contributor

Hi! This is the friendly automated conda-forge-linting service.

I just wanted to let you know that I linted all conda-recipes in your PR (recipe/recipe.yaml) and found it was in an excellent condition.

@traversaro
Copy link
Contributor

Failure on aarch64:

 │ │ [3340/5624] Building CXX object pxr/exec/vdf/CMakeFiles/vdf.dir/executorDataVector.cpp.o
 │ │ FAILED: [code=1] pxr/exec/vdf/CMakeFiles/vdf.dir/executorDataVector.cpp.o 
 │ │ $BUILD_PREFIX/bin/aarch64-conda-linux-gnu-c++ -DBOOST_NO_CXX98_FUNCTION_BASE -DGLX_GLXEXT_PROTOTYPES -DGL_GLEXT_PROTOTYPES -DMFB_ALT_PACKAGE_NAME=vdf -DMFB_PACKAGE_MODULE=Vdf -DMFB_PACKAGE_NAME=vdf -DPXR_BOOST_PYTHON_NO_PY_SIGNATURES -DPXR_BUILD_LOCATION=usd -DPXR_GL_SUPPORT_ENABLED -DPXR_PLUGIN_BUILD_LOCATION=../plugin/usd -DPXR_X11_SUPPORT_ENABLED -DVDF_EXPORTS=1 -Dvdf_EXPORTS -I$SRC_DIR/build/pxr/exec/vdf -I$SRC_DIR/pxr/exec/vdf -I$SRC_DIR/build/include -isystem $PREFIX/include/python3.9 -Wall -Wformat-security -pthread -Wno-deprecated -Wno-deprecated-declarations -Wno-unused-local-typedefs -Wno-maybe-uninitialized -fmessage-length=0 -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O3 -pipe -isystem $PREFIX/include -fdebug-prefix-map=$SRC_DIR=/usr/local/src/conda/openusd-25.08 -fdebug-prefix-map=$PREFIX=/usr/local/src/conda-prefix -O3 -DNDEBUG -std=c++17 -fPIC -fvisibility=hidden -MD -MT pxr/exec/vdf/CMakeFiles/vdf.dir/executorDataVector.cpp.o -MF pxr/exec/vdf/CMakeFiles/vdf.dir/executorDataVector.cpp.o.d -o pxr/exec/vdf/CMakeFiles/vdf.dir/executorDataVector.cpp.o -c $SRC_DIR/pxr/exec/vdf/executorDataVector.cpp
 │ │ In function 'void pxrInternal_v0_25_8__pxrReserved__::Vdf_ExecutorDataVector_ValgrindMakeDefined(void*, size_t)',
 │ │     inlined from 'uint32_t* pxrInternal_v0_25_8__pxrReserved__::Vdf_ExecutorDataVector::_CreateSegment(size_t)' at $SRC_DIR/pxr/exec/vdf/executorDataVector.cpp:135:47:
 │ │ $SRC_DIR/pxr/exec/vdf/executorDataVector.cpp:39:5: error: impossible constraint in 'asm'
 │ │    39 |     __asm__ volatile(
 │ │       |     ^~~~~~~
 │ │ [3341/5624] Building CXX object pxr/exec/vdf/CMakeFiles/vdf.dir/executorInvalidationData.cpp.o
 │ │ [3342/5624] Building CXX object pxr/exec/vdf/CMakeFiles/vdf.dir/executorErrorLogger.cpp.o
 │ │ ninja: build stopped: subcommand failed.
 │ │ × error Script failed with status 1
 │ │ × error 
 │ │ × error Script execution failed.
 │ │ × error 
 │ │ × error   Work directory: /home/conda/feedstock_root/build_artifacts/bld/rattler-build_openusd_1754036180/work
 │ │ × error   Prefix: /home/conda/feedstock_root/build_artifacts/bld/rattler-build_openusd_1754036180/host_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placeh
 │ │ × error   Build prefix: /home/conda/feedstock_root/build_artifacts/bld/rattler-build_openusd_1754036180/build_env
 │ │ × error 
 │ │ × error To run the script manually, use the following command:
 │ │ × error 
 │ │ × error   cd "/home/conda/feedstock_root/build_artifacts/bld/rattler-build_openusd_1754036180/work" && ./conda_build.sh
 │ │ × error 
 │ │ × error To run commands interactively in the build environment:
 │ │ × error 
 │ │ × error   cd "/home/conda/feedstock_root/build_artifacts/bld/rattler-build_openusd_1754036180/work" && source build_env.sh

@traversaro
Copy link
Contributor

error: impossible constraint in 'asm'

Upstream issue: PixarAnimationStudios/OpenUSD#3711 .

@traversaro
Copy link
Contributor

traversaro commented Aug 1, 2025

I think it is just new code that was added in PixarAnimationStudios/OpenUSD@4b58126 and enabled by default in PixarAnimationStudios/OpenUSD@5fdfda1 . I think it was simply never build on linux aarch64, probably just adding an ifdef to only compile the asm snippet on x86 would fix the problem, done in PixarAnimationStudios/OpenUSD#3764 .

@traversaro
Copy link
Contributor

fyi @oursland you seem to be using openusd, so feel free to check this out.

@traversaro
Copy link
Contributor

A bunch of test failures in macOS:

 │ │ 212/917 Test #212: testVtArrayEditCpp ...............................................***Failed    0.06 sec
 │ │ chdir: /var/folders/vk/nx37ffx50hv5djclhltc26vw0000gn/T/tmpf93c9ao7
 │ │ cmd: ['$PREFIX/tests/testVtArrayEditCpp']
 │ │ dyld[89976]: symbol not found in flat namespace '_PyExc_ValueError'
 │ │ Error: return code 134 doesn't match expected 0 (EXPECTED_RETURN_CODE).
 │ │         Start 213: testTsDerivatives

basically are all cases in which Python libraries are not linked to the tests as intended. We can either explicitly link the tests to the Python library, or just skip them.

@traversaro
Copy link
Contributor

On Windows, a test is failing:

 │ │ 837/932 Test #837: testExecGeomXformable_Perf_Large .................................***Failed   81.09 sec
 │ │ chdir: C:\Users\VSSADM~1\AppData\Local\Temp\tmp_vju2qqq
 │ │ cmd: ['%PREFIX%/Library/tests/testExecGeomXformable_Perf', '--branchingFactor', '5', '--treeDepth', '10']
 │ │ Error: return code 3221226505 doesn't match expected 0 (EXPECTED_RETURN_CODE).

@traversaro
Copy link
Contributor

@conda-forge-admin please rerender

@traversaro
Copy link
Contributor

testExecGeomXformable_Perf_Large

Apparently the test is removed even by upstream CI as it exhaust the memory of the CI runner, see PixarAnimationStudios/OpenUSD@e80e8e1 . So I think it is safe to just skip it.

@traversaro
Copy link
Contributor

@conda-forge-admin please rerender

@regro-cf-autotick-bot regro-cf-autotick-bot mentioned this pull request Oct 24, 2025
3 tasks
@traversaro
Copy link
Contributor

@conda-forge-admin please rerender

@traversaro
Copy link
Contributor

On macOS, there are a bunch of:

2025-11-29T17:15:35.1168630Z  │ │ ImportError: dlopen($PREFIX/lib/python/pxr/UsdImagingGL/_usdImagingGL.so, 0x0002): Symbol not found: __ZTINSt3__117bad_function_callE
2025-11-29T17:15:35.1169960Z  │ │   Referenced from: <255B4902-9DC8-38CA-B96B-8934E66AD5E3> $PREFIX/lib/libusd_hdx.dylib
2025-11-29T17:15:35.1170680Z  │ │   Expected in:     <72CE58E2-592B-3049-9CA2-1D92C11DCBE3> /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
2025-11-29T17:15:35.1172190Z  │ │ Error: return code 1 doesn't match expected 0 (EXPECTED_RETURN_CODE).

those are similar to conda-forge/opencv-feedstock#493, so we can use the same solution.

@traversaro
Copy link
Contributor

@conda-forge-admin please rerender

@traversaro
Copy link
Contributor

@conda-forge-admin please rerender

@traversaro
Copy link
Contributor

traversaro commented Nov 29, 2025

On Windows, we forgot to exclude the testExecGeomXformable_Perf_Large tests as on Linux/macOS, so that is easy to fix.

On macOS, ~14 test fail:

2025-11-29T21:53:37.9139220Z  │ │ Total Test time (real) = 832.51 sec
2025-11-29T21:53:37.9143790Z  │ │ The following tests FAILED:
2025-11-29T21:53:37.9148370Z  │ │ 	204 - testWorkThreadLimitsTBBDefault (Failed)
2025-11-29T21:53:37.9151880Z  │ │ 	205 - testWorkThreadLimitsTBB1 (Failed)
2025-11-29T21:53:37.9154600Z  │ │ 	206 - testWorkThreadLimitsTBB3 (Failed)
2025-11-29T21:53:37.9155220Z  │ │ 	212 - testVtArrayEditCpp (Failed)
2025-11-29T21:53:37.9160510Z  │ │ 	260 - testSdfIntegerCoding (Failed)
2025-11-29T21:53:37.9186040Z  │ │ 	284 - testSdfTextFile (Failed)
2025-11-29T21:53:37.9189900Z  │ │ 	285 - testSdfTextFile_1.1 (Failed)
2025-11-29T21:53:37.9191060Z  │ │ Errors while running CTest
2025-11-29T21:53:37.9192010Z  │ │ 	290 - testSdfZipFile_CPP (Failed)
2025-11-29T21:53:37.9193450Z  │ │ 	776 - testVdfDefaultInitAllocator (Failed)
2025-11-29T21:53:37.9195300Z  │ │ 	783 - testVdfMask (Failed)
2025-11-29T21:53:37.9196180Z  │ │ 	792 - testVdfDynamicTopologicalSorter (Failed)
2025-11-29T21:53:37.9197150Z  │ │ 	804 - testEfTime (Failed)
2025-11-29T21:53:37.9197950Z  │ │ 	805 - testEsfFixedSizePolymorphicHolder (Failed)
2025-11-29T21:53:37.9198760Z  │ │ 	806 - testEsfEditReason (Failed)

almost all with the same error:

2025-11-29T21:51:11.9299560Z  │ │ 776/916 Test #776: testVdfDefaultInitAllocator ......................................***Failed    0.09 sec
2025-11-29T21:51:11.9345190Z  │ │ chdir: /var/folders/3p/0h5j6kv1539gglrgws27xslc0000gn/T/tmp8b0yipcn
2025-11-29T21:51:11.9351050Z  │ │ cmd: ['$PREFIX/tests/testVdfDefaultInitAllocator']
2025-11-29T21:51:11.9358860Z  │ │ dyld[18531]: symbol not found in flat namespace '_PyClassMethod_Type'
2025-11-29T21:51:11.9361210Z  │ │ Error: return code 134 doesn't match expected 0 (EXPECTED_RETURN_CODE).
2025-11-29T21:51:11.9363390Z  │ │         Start 777: testVdfVector
2025-11-29T21:51:12.2098010Z  │ │ 777/916 Test #777: testVdfVector ....................................................   Passed    0.28 sec
2025-11-29T21:51:12.2098870Z  │ │         Start 778: testVdfGrapher
2025-11-29T21:51:12.4701480Z  │ │ 778/916 Test #778: testVdfGrapher ...................................................   Passed    0.26 sec
2025-11-29T21:51:12.4702390Z  │ │         Start 779: testVdfHardToReach
2025-11-29T21:51:12.6313290Z  │ │ 779/916 Test #779: testVdfHardToReach ...............................................   Passed    0.16 sec
2025-11-29T21:51:12.6315390Z  │ │         Start 780: testVdfIndexedWeights
2025-11-29T21:51:12.8068350Z  │ │ 780/916 Test #780: testVdfIndexedWeights ............................................   Passed    0.17 sec
2025-11-29T21:51:12.8069370Z  │ │         Start 781: testVdfIterators
2025-11-29T21:51:12.9744670Z  │ │ 781/916 Test #781: testVdfIterators .................................................   Passed    0.17 sec
2025-11-29T21:51:12.9745870Z  │ │         Start 782: testVdfLinearMap
2025-11-29T21:51:13.0591650Z  │ │ 782/916 Test #782: testVdfLinearMap .................................................   Passed    0.08 sec
2025-11-29T21:51:13.0595040Z  │ │         Start 783: testVdfMask
2025-11-29T21:51:13.1449730Z  │ │ 783/916 Test #783: testVdfMask ......................................................***Failed    0.08 sec
2025-11-29T21:51:13.1467830Z  │ │ chdir: /var/folders/3p/0h5j6kv1539gglrgws27xslc0000gn/T/tmpquejqiz4
2025-11-29T21:51:13.1475080Z  │ │ cmd: ['$PREFIX/tests/testVdfMask']
2025-11-29T21:51:13.1477390Z  │ │ dyld[18620]: symbol not found in flat namespace '__Py_NoneStruct'
2025-11-29T21:51:13.1478850Z  │ │ Error: return code 134 doesn't match expected 0 (EXPECTED_RETURN_CODE).
2025-11-29T21:51:13.1479290Z  │ │         Start 784: testVdfMaskThreading
2025-11-29T21:51:15.4996360Z  │ │ 784/916 Test #784: testVdfMaskThreading .............................................   Passed    2.35 sec
2025-11-29T21:51:15.4998060Z  │ │         Start 785: testVdfReorderConnections
2025-11-29T21:51:15.6875060Z  │ │ 785/916 Test #785: testVdfReorderConnections ........................................   Passed    0.19 sec
2025-11-29T21:51:15.6877140Z  │ │         Start 786: testVdfSpeculation
2025-11-29T21:51:15.8689240Z  │ │ 786/916 Test #786: testVdfSpeculation ...............................................   Passed    0.18 sec
2025-11-29T21:51:15.8692560Z  │ │         Start 787: testVdfTraversal
2025-11-29T21:51:16.0525050Z  │ │ 787/916 Test #787: testVdfTraversal .................................................   Passed    0.18 sec
2025-11-29T21:51:16.0528030Z  │ │         Start 788: testVdfSparseInputPathFinder
2025-11-29T21:51:16.2283330Z  │ │ 788/916 Test #788: testVdfSparseInputPathFinder .....................................   Passed    0.17 sec
2025-11-29T21:51:16.2285050Z  │ │         Start 789: testVdfEdit
2025-11-29T21:51:16.5296580Z  │ │ 789/916 Test #789: testVdfEdit ......................................................   Passed    0.30 sec
2025-11-29T21:51:16.5298060Z  │ │         Start 790: testVdfExecutionTypeRegistry
2025-11-29T21:51:16.7217270Z  │ │ 790/916 Test #790: testVdfExecutionTypeRegistry .....................................   Passed    0.19 sec
2025-11-29T21:51:16.7218480Z  │ │         Start 791: testVdfIsolatedSubnetwork
2025-11-29T21:51:16.9095250Z  │ │ 791/916 Test #791: testVdfIsolatedSubnetwork ........................................   Passed    0.19 sec
2025-11-29T21:51:16.9097440Z  │ │         Start 792: testVdfDynamicTopologicalSorter
2025-11-29T21:51:17.0002400Z  │ │ 792/916 Test #792: testVdfDynamicTopologicalSorter ..................................***Failed    0.09 sec
2025-11-29T21:51:17.0007070Z  │ │ chdir: /var/folders/3p/0h5j6kv1539gglrgws27xslc0000gn/T/tmpthr_8o30
2025-11-29T21:51:17.0027100Z  │ │ cmd: ['$PREFIX/tests/testVdfDynamicTopologicalSorter']
2025-11-29T21:51:17.0030160Z  │ │ dyld[18671]: symbol not found in flat namespace '__Py_NoneStruct'
2025-11-29T21:51:17.0045800Z  │ │ Error: return code 134 doesn't match expected 0 (EXPECTED_RETURN_CODE).
2025-11-29T21:51:17.0048420Z  │ │         Start 793: testVdfParallelExecutorDataVector

I thought to fix this with f083568. but apparently it was not useful.

Disable additional test 'testExecGeomXformable_Perf_Large' due to upstream issues and update the ctest command accordingly.
@traversaro traversaro added the automerge Merge the PR when CI passes label Nov 30, 2025
@traversaro
Copy link
Contributor

Ok, on osx-64 we now have:

 │ 	Error in 'pxrInternal_v0_25_8__pxrReserved__::PlugPlugin::_Load' at line 244 in file /Users/runner/miniforge3/conda-bld/bld/rattler-build_openusd_1764526475/work/pxr/base/plug/plugin.cpp : 'Failed to load plugin 'hdStorm': dlopen($PREFIX/plugin/usd/hdStorm.dylib, 0x0002): tried: '$PREFIX/plugin/usd/hdStorm.dylib' (duplicate LC_RPATH '@loader_path/../../lib'), '/System/Volumes/Preboot/Cryptexes/OS$PREFIX/plugin/usd/hdStorm.dylib' (no such file), '$PREFIX/plugin/usd/hdStorm.dylib' (duplicate LC_RPATH '@loader_path/../../lib') in '$PREFIX/plugin/usd/hdStorm.dylib''

that apparently we already detected in #16 (comment) .

@conda-forge-curator conda-forge-curator bot removed the automerge Merge the PR when CI passes label Nov 30, 2025
@conda-forge-admin
Copy link
Contributor

Hi! This is the friendly conda-forge automerge bot!

Commits were made to this PR after the automerge label was added. For security reasons, I have disabled automerge by removing the automerge label. Please add the automerge label again (or ask a maintainer to do so) if you'd like to enable automerge again!

@traversaro
Copy link
Contributor

Ok, a few more failures. On macOS, the test fail with:

 │ │ 900/901 Test #900: testUsdResolverExample ...........................................***Failed    1.56 sec
 │ │ chdir: /var/folders/3p/0h5j6kv1539gglrgws27xslc0000gn/T/tmp05lqc0mz
 │ │ copying testenv dir: $PREFIX/tests/ctest/testUsdResolverExample
 │ │ cmd: ['$PREFIX/bin/python', '$PREFIX/tests/testUsdResolverExample']
 │ │ Traceback (most recent call last):
 │ │   File "$PREFIX/tests/testUsdResolverExample", line 13, in <module>
 │ │     from pxr import Ar, Plug, Tf, Usd, UsdResolverExample
 │ │   File "$PREFIX/lib/python/pxr/UsdResolverExample/__init__.py", line 8, in <module>
 │ │     Tf.PreparePythonModule()
 │ │   File "$PREFIX/lib/python/pxr/Tf/__init__.py", line 86, in PreparePythonModule
 │ │     module = importlib.import_module(
 │ │              ^^^^^^^^^^^^^^^^^^^^^^^^
 │ │   File "$PREFIX/lib/python3.12/importlib/__init__.py", line 90, in import_module
 │ │     return _bootstrap._gcd_import(name[level:], package, level)
 │ │            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 │ │ ImportError: dlopen($PREFIX/lib/python/pxr/UsdResolverExample/_usdResolverExample.so, 0x0002): Library not loaded: @rpath/usdResolverExample.dylib
 │ │   Referenced from: <04EB54F4-9043-35EE-9B1E-C2337917B905> $PREFIX/lib/python/pxr/UsdResolverExample/_usdResolverExample.so
 │ │   Reason: tried: '$PREFIX/lib/usdResolverExample.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS$PREFIX/lib/usdResolverExample.dylib' (no such file), '$PREFIX/lib/usdResolverExample.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS$PREFIX/lib/usdResolverExample.dylib' (no such file), '$PREFIX/bin/../lib/usdResolverExample.dylib' (no such file), '$PREFIX/bin/../lib/usdResolverExample.dylib' (no such file)
 │ │ Error: return code 1 doesn't match expected 0 (EXPECTED_RETURN_CODE).
 │ │         Start 901: testHdTiny
 │ │ 901/901 Test #901: testHdTiny .......................................................   Passed    1.27 sec

the rpath workaround is affecting also test plugins, that in this case require the rpath to be set as the build system set. Probably we can modify the script to change the rpath after running the tests.

Instead on Windows the failure is:

 │ │ Writing metadata for package
 │ │ × error File "C:\\Users\\VSSADM~1\\AppData\\Local\\Temp\\openusdtRwAGg\\Library\\pxrConfig.cmake" contains the prefix with both forward- and backslashes. This is not supported and can lead to issues.
 │ │ × error   Prefix: "C:\\bld\\bld\\rattler-build_openusd_1764535514\\h_env"

Similar to conda-forge/numpy-feedstock#364 and RoboStack/ros-noetic#557 (comment) .

@traversaro
Copy link
Contributor

Instead on Windows the failure is:

 │ │ Writing metadata for package
 │ │ × error File "C:\\Users\\VSSADM~1\\AppData\\Local\\Temp\\openusdtRwAGg\\Library\\pxrConfig.cmake" contains the prefix with both forward- and backslashes. This is not supported and can lead to issues.
 │ │ × error   Prefix: "C:\\bld\\bld\\rattler-build_openusd_1764535514\\h_env"

Similar to conda-forge/numpy-feedstock#364 and RoboStack/ros-noetic#557 (c

The offending file is:

# - Configuration file for the pxr project
# Defines the following variables:
# PXR_MAJOR_VERSION - Major version number.
# PXR_MINOR_VERSION - Minor version number.
# PXR_PATCH_VERSION - Patch version number.
# PXR_VERSION       - Complete pxr version string.
# PXR_INCLUDE_DIRS  - Root include directory for the installed project.
# PXR_LIBRARIES     - List of all libraries, by target name.
# PXR_foo_LIBRARY   - Absolute path to individual libraries.
# The preprocessor definition PXR_STATIC will be defined if appropriate

get_filename_component(PXR_CMAKE_DIR "${CMAKE_CURRENT_LIST_FILE}" PATH)

set(PXR_MAJOR_VERSION "0")
set(PXR_MINOR_VERSION "25")
set(PXR_PATCH_VERSION "8")
set(PXR_VERSION "2508")

include(CMakeFindDependencyMacro)

# If Python support was enabled for this USD build, find the import
# targets by invoking the appropriate FindPython module. Use the same
# LIBRARY and INCLUDE_DIR settings from the original build if they
# were set. This can be overridden by specifying different values when
# running cmake.
if(ON)
    if (NOT DEFINED Python3_EXECUTABLE)
        if (NOT [[D:\src\openusd-feedstock\output\bld\rattler-build_openusd\h_env\python.exe]] STREQUAL "")
            set(Python3_EXECUTABLE [[D:\src\openusd-feedstock\output\bld\rattler-build_openusd\h_env\python.exe]])
        endif()
    endif()

    if (NOT DEFINED Python3_LIBRARY)
        if (NOT [[]] STREQUAL "")
            set(Python3_LIBRARY [[]])
        endif()
    endif()

    if (NOT DEFINED Python3_INCLUDE_DIR)
        if (NOT [[]] STREQUAL "")
            set(Python3_INCLUDE_DIR [[]])
        endif()
    endif()

    if (NOT DEFINED Python3_VERSION)
        find_dependency(Python3 "3.12" EXACT COMPONENTS Development)
    else()
        find_dependency(Python3 COMPONENTS Development)
    endif()
endif()

if (NOT DEFINED PXR_FIND_TBB_IN_CONFIG)
    set(PXR_FIND_TBB_IN_CONFIG "ON")
endif()
if (PXR_FIND_TBB_IN_CONFIG)
    find_dependency(TBB 2021.13.0 CONFIG)
else()
    add_library(TBB::tbb SHARED IMPORTED)

    macro(_add_property name value)
        if (NOT "${value}" STREQUAL "")
            set_target_properties(TBB::tbb PROPERTIES ${name} "${value}")
        endif()
    endmacro()

    _add_property(INTERFACE_INCLUDE_DIRECTORIES "D:/src/openusd-feedstock/output/bld/rattler-build_openusd/h_env/Library/include")
    _add_property(INTERFACE_COMPILE_DEFINITIONS "$<$<CONFIG:DEBUG>:TBB_USE_DEBUG>")
    _add_property(INTERFACE_LINK_DIRECTORIES "")
    _add_property(IMPORTED_IMPLIB "")
    _add_property(IMPORTED_LOCATION "")
endif()

if (NOT DEFINED PXR_FIND_OPENSUBDIV_IN_CONFIG)
    set(PXR_FIND_OPENSUBDIV_IN_CONFIG "ON")
endif()
if (PXR_FIND_OPENSUBDIV_IN_CONFIG)
    find_dependency(OpenSubdiv 3.6.1 CONFIG)
endif()

# If MaterialX support was enabled for this USD build, try to find the
# associated import targets by invoking the same FindMaterialX.cmake
# module that was used for that build. This can be overridden by
# specifying a different MaterialX_DIR when running cmake.
if(OFF)
    if (NOT DEFINED MaterialX_DIR)
        if (NOT [[]] STREQUAL "")
            set(MaterialX_DIR [[]])
        endif()
    endif()
    find_dependency(MaterialX)
endif()

# Similar to MaterialX above, we are using Imath's cmake package config, so set
# the Imath_DIR accordingly to find the associated import targets which were
# used for this USD build. 
# Note that we only need to do this, when it is determined by Imath is being
# used instead of OpenExr (refer Packages.cmake)
if()
    if (NOT DEFINED Imath_DIR)
        if (NOT [[]] STREQUAL "")
            set(Imath_DIR [[]])
        endif()
    endif()
    find_dependency(Imath)
endif()

# If this build is using a custom work implementation, find the package
# providing that implementation.
if(NOT "" STREQUAL "")
    if (NOT DEFINED )
        if (NOT [[]] STREQUAL "")
            set( [[]])
        endif()
    endif()
    find_dependency()
endif()

include("${PXR_CMAKE_DIR}/cmake/pxrTargets.cmake")
if (TARGET usd_ms)
    set(libs "usd_ms")
else()
    set(libs "boost;python;arch;tf;gf;pegtl;js;trace;work;plug;vt;ts;ar;kind;sdf;sdr;pcp;usd;usdGeom;usdVol;usdMedia;usdShade;usdLux;usdProc;usdRender;usdHydra;usdRi;usdSemantics;usdSkel;usdUI;usdUtils;usdPhysics;vdf;ef;esf;esfUsd;exec;execUsd;execGeom;usdValidation;usdGeomValidators;usdPhysicsValidators;usdShadeValidators;usdSkelValidators;usdUtilsValidators;garch;hf;hio;cameraUtil;pxOsd;geomUtil;glf;hgi;hgiGL;hgiInterop;hd;hdar;hdGp;hdsi;hdSt;hdx;usdImaging;usdImagingGL;usdProcImaging;usdRiPxrImaging;usdSkelImaging;usdVolImaging;usdAppUtils;usdviewq")
endif()
set(PXR_LIBRARIES "")
set(PXR_INCLUDE_DIRS "${PXR_CMAKE_DIR}/include")
string(REPLACE " " ";" libs "${libs}")
foreach(lib ${libs})
    get_target_property(location ${lib} LOCATION)
    set(PXR_${lib}_LIBRARY ${location})
    list(APPEND PXR_LIBRARIES ${lib})
endforeach()
if(NOT ON)
    if(WIN32)
        list(APPEND PXR_LIBRARIES Shlwapi.lib)
        list(APPEND PXR_LIBRARIES Dbghelp.lib)
    endif()
    add_definitions(-DPXR_STATIC)
endif()

the hardcodec prefixes are already ignored by the CMake logic, so probably we can just path that logic out to avoid problems.

@traversaro
Copy link
Contributor

@conda-forge-admin please rerender

@conda-forge-admin
Copy link
Contributor

Hi! This is the friendly automated conda-forge-webservice.

I tried to rerender for you, but it looks like there was nothing to do.

This message was generated by GitHub Actions workflow run https://github.com/conda-forge/conda-forge-webservices/actions/runs/19819847395. Examine the logs at this URL for more detail.

@traversaro traversaro merged commit fee2714 into conda-forge:main Dec 1, 2025
3 of 24 checks passed
@regro-cf-autotick-bot regro-cf-autotick-bot deleted the 25.08_h2800ff branch December 1, 2025 11:02
@regro-cf-autotick-bot regro-cf-autotick-bot mentioned this pull request Dec 1, 2025
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants