Skip to content

Commit

Permalink
make sure we deploy debug and opt propperly
Browse files Browse the repository at this point in the history
add cmake prefix path
enable RENDERER

Signed-off-by: Seb Schmidt <[email protected]>
  • Loading branch information
SebSchmidtWetaFx committed Oct 3, 2023
1 parent c3dbbb8 commit fecebad
Showing 1 changed file with 4 additions and 11 deletions.
15 changes: 4 additions & 11 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 @@ -25,6 +25,7 @@ materialx_pak:
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 fecebad

Please sign in to comment.