-
Notifications
You must be signed in to change notification settings - Fork 46
/
Copy path.bash_profile
executable file
·44 lines (38 loc) · 1.95 KB
/
.bash_profile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
#!/bin/bash
#==============================================================================
# File: ~/.bash_profile
# Author: Nick Laws
#
# Description: Loads for all login shells. Sets path variable and others
# Set up for REopt API development on Mac OS. After defining XPRESSDIR
# and SRC_DIR, copy this file to your $HOME (~) directory:
# cp bash_profile ~/.bash_profile
# Note: the environment variables are not set until a new terminal session
# is opened. And if you already have a ~/.bash_profile defined, add the
# path definitions and exports below to your file.
#==============================================================================
# Source global definitions
if [ -f ~/.bashrc ]; then
source ~/.bashrc
fi
#------------------------------------------------------------------------------
# Define the following based on your file structure
#------------------------------------------------------------------------------
# path to reopt_api/reo/src for SAM SDK C libraries
SRC_DIR="${HOME}/reopt_api/reo/src"
DYLD_LIBRARY_PATH="${SRC_DIR}:${DYLD_LIBRARY_PATH}" # for Mac
#LD_LIBRARY_PATH="${SRC_DIR}:${LD_LIBRARY_PATH}" # for Linux
export DYLD_LIBRARY_PATH # for Mac
# export LD_LIBRARY_PATH # for Linux
#==============================================================================
#------------------------------------------------------------------------------
# You can change the following to add Julia to your system Path
#------------------------------------------------------------------------------
PATH="/usr/lib/julia-1.3.1/bin:${PATH}"
export PATH
#==============================================================================
#------------------------------------------------------------------------------
# Leave the following unchanged
#------------------------------------------------------------------------------
export APP_ENV="local"
#==============================================================================