Skip to content

Instantly share code, notes, and snippets.

@TresSims
Last active September 8, 2021 22:36
Show Gist options
  • Save TresSims/38d8b65b3c7e92c2b608712f281a9b77 to your computer and use it in GitHub Desktop.
Save TresSims/38d8b65b3c7e92c2b608712f281a9b77 to your computer and use it in GitHub Desktop.
Setup the Houdini environment for FISH.
#
# Environment setup script for Houdini
#
# copy this script into the houdini directory and run it with
# ./houdini_setup_fish to set environment variables
# version
if test ! -d houdini/ || test ! -d dsolib/ || test ! -d bin/
echo "You should run this script from the Houdini installation directory."
echo "Not running this script from the houdini installation directory will"
echo "cause headaches"
else
set -U HFS $PWD
set -U H $HFS
set -U HB $H/bin
set -U HDSO $H/dsolib
set -U HH $H/houdini
set -U HHC $HH/config
set -U HHP $HH/python3.7libs
set -U HT $H/toolkit
set -U HSB $HH/sbin
set -U TEMP /tmp
#
# Look for java.
#
# We only need to set LD_LIBRARY_PATH if the environment also uses it. This
# makes sure HDSO is always searched first. Houdini binariews are built with
# DT_RUNPATH set so it only gets used after LD_LIBRARY_PATH.
if set -q LD_LIBRARY_PATH
set -U LD_LIBRARY_PATH $HDSO $LS_LIBRARY_PATH
end
set -U fish_user_paths $HB $HSB $fish_user_paths
set -U HOUDINI_MAJOR_RELEASE 18
set -U HOUDINI_MINOR_RELEASE 5
set -U HOUDINI_BUILD_VERSION 633
set -U HOUDIN_VERSION $HOUDINI_MAJOR_RELEASE.$HOUDINI_MINOR_RELEASE.$HOUDINI_BUILD_VERSION
set -U HOUDINI_BUILD_KERNEL 3.10.0-957.1.3.EL7.X86_64
set -U HOUDINI_BUILD_PLATFORM "Red Hat Enterprise Linux Workstation release 7.6 (Maipo)"
set -U HOUDINI_BUILD_COMPILER 6.3.1
set -U HOUDINI_BUILD_LIBC glibc 2.17
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment