Skip to content

Commit

Permalink
Wrapper : Set up RenderMan paths
Browse files Browse the repository at this point in the history
We'll need to do the same in the Windows wrapper, but I'll do that later when enabling testing in CI.
  • Loading branch information
johnhaddon committed Feb 11, 2025
1 parent e330565 commit 25f3562
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions bin/gaffer
Original file line number Diff line number Diff line change
Expand Up @@ -318,6 +318,25 @@ if [[ -n $ONNX_ROOT ]] ; then

fi

# Set up RenderMan
##########################################################################

if [[ -n $RMANTREE ]] ; then

if [[ `uname` = "Linux" ]] ; then
appendToPath "$RMANTREE/lib" LD_LIBRARY_PATH
else
appendToPath "$RMANTREE/lib" DYLD_LIBRARY_PATH
fi

appendToPath "$RMANTREE/bin" PATH
appendToPath "$RMANTREE/bin" PYTHONPATH
appendToPath "$RMANTREE/lib/plugins" RMAN_RIXPLUGINPATH
appendToPath "$GAFFER_ROOT/renderManPlugins" RMAN_DISPLAYS_PATH
appendToPath "$RMANTREE/lib/shaders" OSL_SHADER_PATHS

fi

# Set up 3rd Party extensions
##########################################################################

Expand Down

0 comments on commit 25f3562

Please sign in to comment.