Skip to content

Commit 4b18c04

Browse files
committed
Fix python3.7 fallback in Houdini build pipeline
1 parent 9eb4c0c commit 4b18c04

2 files changed

Lines changed: 10 additions & 3 deletions

File tree

CMakeLists.txt

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,9 +97,12 @@ if("$ENV{AR_DCC_NAME}" STREQUAL "HOUDINI")
9797
elseif(EXISTS "${AR_HOUDINI_ROOT}/python310")
9898
set(AR_PYTHON_LIB python3.10)
9999
set(AR_PYTHON_LIB_NUMBER python310)
100-
else()
100+
elseif(EXISTS "${AR_HOUDINI_ROOT}/python39")
101101
set(AR_PYTHON_LIB python3.9)
102102
set(AR_PYTHON_LIB_NUMBER python39)
103+
else()
104+
set(AR_PYTHON_LIB python3.7)
105+
set(AR_PYTHON_LIB_NUMBER python37)
103106
endif()
104107
else()
105108
if(EXISTS "${AR_HOUDINI_ROOT}/python/bin/python3.11")
@@ -108,9 +111,12 @@ if("$ENV{AR_DCC_NAME}" STREQUAL "HOUDINI")
108111
elseif(EXISTS "${AR_HOUDINI_ROOT}/python/bin/python3.10")
109112
set(AR_PYTHON_LIB python3.10)
110113
set(AR_PYTHON_LIB_NUMBER python310)
111-
else()
114+
elseif(EXISTS "${AR_HOUDINI_ROOT}/python/bin/python3.9")
112115
set(AR_PYTHON_LIB python3.9)
113116
set(AR_PYTHON_LIB_NUMBER python39)
117+
else()
118+
set(AR_PYTHON_LIB python3.7)
119+
set(AR_PYTHON_LIB_NUMBER python37)
114120
endif()
115121
endif()
116122
if (WIN32)

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
| <img src="https://raw.githubusercontent.com/LucaScheller/VFX-UsdAssetResolver/main/tools/UsdAssetResolver_Logo.svg" width="128"> | <h1> OpenUSD Asset Resolver </h1> |
22
|--|--|
33

4-
[![Deploy Documentation to GitHub Pages](https://github.com/LucaScheller/VFX-UsdAssetResolver/actions/workflows/mdbook.yml/badge.svg)](https://github.com/LucaScheller/VFX-UsdAssetResolver/actions/workflows/mdbook.yml) [![Build USD Asset Resolvers against Houdini](https://github.com/LucaScheller/VFX-UsdAssetResolver/actions/workflows/build_houdini.yml/badge.svg)](https://github.com/LucaScheller/VFX-UsdAssetResolver/actions/workflows/build_houdini.yml)
4+
[![Deploy Documentation to GitHub Pages](https://github.com/LucaScheller/VFX-UsdAssetResolver/actions/workflows/mdbook.yml/badge.svg)](https://github.com/LucaScheller/VFX-UsdAssetResolver/actions/workflows/mdbook.yml) [![Build USD Asset Resolvers against Houdini](https://github.com/LucaScheller/VFX-UsdAssetResolver/actions/workflows/build_houdini.yml/badge.svg)](https://github.com/LucaScheller/VFX-UsdAssetResolver/actions/workflows/build_houdini.yml) [![Build USD Asset Resolvers against Maya](https://github.com/LucaScheller/VFX-UsdAssetResolver/actions/workflows/build_maya.yml/badge.svg)](https://github.com/LucaScheller/VFX-UsdAssetResolver/actions/workflows/build_maya.yml)
5+
56

67
This repository holds reference implementations for [Usd](https://openusd.org/release/index.html) [asset resolvers](https://openusd.org/release/glossary.html#usdglossary-assetresolution). The resolvers are compatible with the AR 2.0 standard proposed in the [Asset Resolver 2.0 Specification](https://openusd.org/release/wp_ar2.html). As the Usd documentation offers quite a good overview over the overall asset resolution system, we will not be covering it in this repository's documentation.
78

0 commit comments

Comments
 (0)