Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into 11163_ill_calibration_tab
Conflicts: Code/Mantid/MantidQt/CustomInterfaces/CMakeLists.txt Refs #11163
- Loading branch information
Showing
2,352 changed files
with
99,645 additions
and
34,072 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
#!/bin/sh | ||
# | ||
# Launch Mantidplot using any necessary LD_PRELOAD or software collection behaviour | ||
# | ||
# Script is configured by CMake | ||
|
||
# Find out where we are | ||
SCRIPTFILE=$(readlink -f "$0") | ||
INSTALLDIR=$(echo $SCRIPTFILE | sed -r -e 's|^(.*)/(.*)$|\1|g') #.* is greedy and eats up until the final slash | ||
IPYTHON=$(command -v ipython) | ||
|
||
# Define extra libraries and load paths | ||
LOCAL_PRELOAD=`readlink --no-newline --canonicalize-existing @TCMALLOC_LIBRARIES@` | ||
if [ -n "${LD_PRELOAD}" ]; then | ||
LOCAL_PRELOAD=${LOCAL_PRELOAD}:${LD_PRELOAD} | ||
fi | ||
LOCAL_LDPATH=@EXTRA_LDPATH@:${LD_LIBRARY_PATH} | ||
if [ -z "${TCMALLOC_RELEASE_RATE}" ]; then | ||
TCM_RELEASE=10000 | ||
else | ||
TCM_RELEASE=${TCMALLOC_RELEASE_RATE} | ||
fi | ||
|
||
# Define paraview information | ||
PV_PLUGIN_PATH="${INSTALLDIR}/pvplugins/pvplugins" | ||
|
||
# Define extra libraries for python | ||
LOCAL_PYTHONPATH=@WRAPPER_PREFIX@$INSTALLDIR | ||
if [ -n "${PYTHONPATH}" ]; then | ||
LOCAL_PYTHONPATH=${LOCAL_PYTHONPATH}:${PYTHONPATH} | ||
fi | ||
|
||
# Launch | ||
LD_PRELOAD=${LOCAL_PRELOAD} TCMALLOC_RELEASE_RATE=${TCM_RELEASE} \ | ||
LD_LIBRARY_PATH=${LOCAL_LDPATH} QT_API=pyqt \ | ||
PV_PLUGIN_PATH=${PV_PLUGIN_PATH} \ | ||
PYTHONPATH=${LOCAL_PYTHONPATH} \ | ||
${IPYTHON} $*@WRAPPER_POSTFIX@ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.