Skip to content

Commit

Permalink
Merge branch 'weta/user/sschmidt/pakUpdate' into 'weta/v1.38.7'
Browse files Browse the repository at this point in the history
append paths in pak instead of setting them

See merge request habitat/platform/oss/materialx!3
  • Loading branch information
SebSchmidtWetaFx committed Oct 3, 2023
2 parents 9d751fb + fecebad commit 241156d
Showing 1 changed file with 7 additions and 14 deletions.
21 changes: 7 additions & 14 deletions habitat.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ habitat: 1.0

Settings:
Name: materialx
InstallIncludesDebug: false
InstallIncludesDebug: true
DefaultVariant: VP21

Variables:
Expand All @@ -18,13 +18,14 @@ materialx_pak:
Type: Weta::OZ::SimplePak
PakNameOverride: materialx
PakVariables:
LD_LIBRARY_PATH: "${INSTALL_PREFIX}/opt/%(WETA_DEFAULT_VFXPLATFORM_ID)s/lib"
PATH: "${INSTALL_PREFIX}/opt/%(WETA_DEFAULT_VFXPLATFORM_ID)s/bin"
PYTHONPATH: "${INSTALL_PREFIX}/opt/%(WETA_DEFAULT_VFXPLATFORM_ID)s/lib/python"
LD_LIBRARY_PATH: !Append "${INSTALL_PREFIX}/opt/%(WETA_DEFAULT_VFXPLATFORM_ID)s/lib"
PATH: !Append "${INSTALL_PREFIX}/opt/%(WETA_DEFAULT_VFXPLATFORM_ID)s/bin"
PYTHONPATH: !Append "${INSTALL_PREFIX}/opt/%(WETA_DEFAULT_VFXPLATFORM_ID)s/lib/python"
Library: materialx
DeveloperVariables:
LIBMATERIALX_LIBPATH: "${INSTALL_PREFIX}/opt/%(WETA_DEFAULT_VFXPLATFORM_ID)s/lib"
LIBMATERIALX_INCLUDES: "${INSTALL_PREFIX}/opt/%(WETA_DEFAULT_VFXPLATFORM_ID)s/include"
CMAKE_PREFIX_PATH: !Append "${INSTALL_PREFIX}/opt/%(WETA_DEFAULT_VFXPLATFORM_ID)s/lib/cmake/MaterialX"
Requires:
python: ">=2.7<3.11"
WetaVFXPlatform: ">=2019<2023"
Expand Down Expand Up @@ -64,44 +65,36 @@ compile_materialx:
OIIO_LOCATION: !Sub "/vol/bob/built/linux64/${BOB_ABI}/ext/OpenImageIO/tags/OpenImageIO-2.2-16.0-weta04"
VP19:
BLDTAG: opt
DBG_EXT: ""
GENDOCS: !If [!Equals [!Sub "${Project:IsDeployment}", "True"], "ON", "OFF"]
VP19DBG:
BLDTAG: dbg
DBG_EXT: ""
GENDOCS: OFF
VP20*:
BOB_ABI: L64
OIIO_LOCATION: !Sub "/vol/bob/built/linux64/${BOB_ABI}/ext/OpenImageIO/tags/OpenImageIO-2.2-16.0-weta04"
VP20py2:
BLDTAG: opt
DBG_EXT: ""
GENDOCS: !If [!Equals [!Sub "${Project:IsDeployment}", "True"], "ON", "OFF"]
VP20py2DBG:
BLDTAG: dbg
DBG_EXT: ""
GENDOCS: OFF
VP21*:
BOB_ABI: L94
OIIO_LOCATION: !Sub "/vol/bob/built/linux64/${BOB_ABI}/ext/OpenImageIO/tags/OpenImageIO-2.2-16.0-weta04"
VP21:
BLDTAG: opt
DBG_EXT: ""
GENDOCS: !If [!Equals [!Sub "${Project:IsDeployment}", "True"], "ON", "OFF"]
VP21DBG:
BLDTAG: dbg
DBG_EXT: ""
GENDOCS: OFF
VP22*:
BOB_ABI: L94
OIIO_LOCATION: !Sub "/vol/bob/built/linux64/${BOB_ABI}/ext/OpenImageIO/tags/OpenImageIO-2.2-16.0-weta04"
VP22:
BLDTAG: opt
DBG_EXT: ""
GENDOCS: !If [!Equals [!Sub "${Project:IsDeployment}", "True"], "ON", "OFF"]
VP22DBG:
BLDTAG: dbg
DBG_EXT: ""
GENDOCS: OFF
ExtraConfigureArgs: !Sub |
-DCMAKE_CXX_STANDARD=${Variant:C++Version}
Expand All @@ -114,13 +107,13 @@ compile_materialx:
-DMATERIALX_BUILD_GEN_MSL=ON
-DMATERIALX_BUILD_GRAPH_EDITOR=OFF
-DMATERIALX_BUILD_DOCS=${GENDOCS}
-DMATERIALX_BUILD_RENDER=OFF
-DMATERIALX_BUILD_RENDER=ON
-DMATERIALX_BUILD_OIIO=OFF
-DMATERIALX_BUILD_TESTS=ON
-DMATERIALX_BUILD_SHARED_LIBS=ON
-DMATERIALX_PYTHON_LTO=OFF
-DMATERIALX_INSTALL_PYTHON=ON
-DMATERIALX_TEST_RENDER=OFF
-DMATERIALX_TEST_RENDER=ON
-DMATERIALX_WARNINGS_AS_ERRORS=OFF
-DMATERIALX_DYNAMIC_ANALYSIS=OFF
-DMATERIALX_OSL_LEGACY_CLOSURES=ON
Expand Down

0 comments on commit 241156d

Please sign in to comment.