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.

Revisions

  1. TresSims revised this gist Sep 8, 2021. 1 changed file with 1 addition and 2 deletions.
    3 changes: 1 addition & 2 deletions houdini_setup_fish
    Original file line number Diff line number Diff line change
    @@ -10,7 +10,6 @@ if test ! -d houdini/ || test ! -d dsolib/ || test ! -d bin/
    echo "Not running this script from the houdini installation directory will"
    echo "cause headaches"
    else
    bash -c source houdini_setup
    set -U HFS $PWD

    set -U H $HFS
    @@ -39,7 +38,7 @@ else

    set -U HOUDINI_MAJOR_RELEASE 18
    set -U HOUDINI_MINOR_RELEASE 5
    set -U HOUDINI_BUILD_VERSION 682
    set -U HOUDINI_BUILD_VERSION 633

    set -U HOUDIN_VERSION $HOUDINI_MAJOR_RELEASE.$HOUDINI_MINOR_RELEASE.$HOUDINI_BUILD_VERSION

  2. TresSims created this gist Sep 3, 2021.
    51 changes: 51 additions & 0 deletions houdini_setup_fish
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,51 @@
    #
    # 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
    bash -c source houdini_setup
    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 682

    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