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 12, 2025
1 parent e728570 commit a5791d9
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 a5791d9

Please sign in to comment.