afa3edebab
* Initial python support * Add python testing * Increase timeout for bin tests * cmake-format * Valid build types + testing + formatting + more - Enforce valid build types - Fix to numpy install - Increase testing timeout - Fix to cmake format glob - Fix to backtrace verbose * Disable stripping libraries by default * omnitrace exe updates - new '--print-instructions' option - changed format of instructions in JSON - remove no-save-fpr tests * Default to strip libraries when release build
18 lines
396 B
Bash
18 lines
396 B
Bash
#!/usr/bin/env bash
|
|
|
|
BASEDIR=$(dirname ${BASH_SOURCE[0]})
|
|
BASEDIR=$(cd ${BASEDIR}/../.. && pwd)
|
|
|
|
if [ ! -d "${BASEDIR}" ]; then
|
|
echo "${BASEDIR} does not exist"
|
|
return 1
|
|
fi
|
|
|
|
PATH=${BASEDIR}/bin:${PATH}
|
|
LD_LIBRARY_PATH=${BASEDIR}/@CMAKE_INSTALL_LIBDIR@:${LD_LIBRARY_PATH}
|
|
PYTHONPATH=${BASE_DIR}/@CMAKE_INSTALL_PYTHONDIR@:${PYTHONPATH}
|
|
|
|
export PATH
|
|
export LD_LIBRARY_PATH
|
|
export PYTHONPATH
|