forked from SyneRBI/SIRF-SuperBuild
-
Notifications
You must be signed in to change notification settings - Fork 0
/
env_sirf.sh.in
executable file
·34 lines (27 loc) · 1.01 KB
/
env_sirf.sh.in
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
# This file sets environment variables for the CCP SyneRBI software.
# Use it like this
# source /path/to/whereever/env_ccppetmr.sh
# Preferably add this line to your .basrhc, .profile or whatever file is appropriate for your shell
SIRF_PATH=@SIRF_SOURCE_DIR@
export SIRF_PATH
# Where all binaries are installed
SIRF_INSTALL_PATH=@SyneRBI_INSTALL@
export SIRF_INSTALL_PATH
# Where to find shared libraries
# Setting for Linux but doesn't harm elsewhere
LD_LIBRARY_PATH=@SyneRBI_INSTALL@/lib:@SyneRBI_INSTALL@/lib64:$LD_LIBRARY_PATH:@Matlab_extra_ld_path@
export LD_LIBRARY_PATH
# Setting for MacOS but doesn't harm elsewhere
DYLD_FALLBACK_LIBRARY_PATH=@SyneRBI_INSTALL@/lib:$DYLD_FALLBACK_LIBRARY_PATH
export DYLD_FALLBACK_LIBRARY_PATH
##### Environment variables for Python
@ENV_PYTHON_BASH@
##### Environment variables for Matlab
@ENV_MATLAB_BASH@
PATH=@SyneRBI_INSTALL@/bin:$PATH
# Export Gadgetron Home
@ENV_GADGETRON_HOME_SH@
if [ ! -n "$STIR_PATH" ]
then
export STIR_PATH=@STIR_SOURCE_DIR@
fi