Skip to content
Snippets Groups Projects
Commit ab886edd authored by Orgis, Dr. Thomas's avatar Orgis, Dr. Thomas
Browse files

lsmtool und Beginn ohne LDFLAGS

parent 7de41374
Branches
No related tags found
No related merge requests found
...@@ -34,7 +34,7 @@ export CXXFLAGS="-D_GLIB_USE_CXX_ABI=1 -DBOOST_NO_CXX11_SCOPED_ENUMS -march=nati ...@@ -34,7 +34,7 @@ export CXXFLAGS="-D_GLIB_USE_CXX_ABI=1 -DBOOST_NO_CXX11_SCOPED_ENUMS -march=nati
# Trying to ensure openblas_openmp here, but that needs to be fixed # Trying to ensure openblas_openmp here, but that needs to be fixed
# in the packages, recognizing that a dependency is already using # in the packages, recognizing that a dependency is already using
# openblas and then not trying to use a different one:-/ # openblas and then not trying to use a different one:-/
export LDFLAGS="-lgsl -lcblas -lopenblas_openmp -Wl,--as-needed" #export LDFLAGS="-lgsl -lcblas -lopenblas_openmp -Wl,--as-needed"
# Ensure that we know what include search path variable is really used. # Ensure that we know what include search path variable is really used.
# Only leave CPATH set. # Only leave CPATH set.
...@@ -490,20 +490,31 @@ else ...@@ -490,20 +490,31 @@ else
echo pyBDSF already installed. echo pyBDSF already installed.
fi || exit 1 fi || exit 1
exit # Did not get to lsmtool yet. prefix=$INSTALLDIR/lsmtool &&
lsmlib=$prefix/lib/python$PYTHON_VERSION/site-packages &&
if [ ! -d $INSTALLDIR/lsmtool ]; then export PYTHONPATH=$lsmlib:$PYTHONPATH &&
if [ ! -e $prefix/.done ]; then
echo Installing LSMTool. echo Installing LSMTool.
# #
# Install LSMTool. # Install LSMTool.
# #
mkdir -p $INSTALLDIR/lsmtool/lib/python$PYTHON_VERSION/site-packages mkdir -p $prefix &&
export PYTHONPATH=$INSTALLDIR/lsmtool/lib/python$PYTHON_VERSION/site-packages:$PYTHONPATH cd $prefix &&
cd $INSTALLDIR/lsmtool && git clone https://github.com/darafferty/LSMTool.git lsmtool rm -rf build bin lib presrc &&
cd $INSTALLDIR/lsmtool/lsmtool && python setup.py install --prefix=$INSTALLDIR/lsmtool if test -e src; then
echo "Using existing sources."
else
git clone https://github.com/darafferty/LSMTool.git presrc &&
mv presrc src
fi &&
mkdir -p $lsmlib &&
cd src &&
python setup.py install --prefix=$prefix &&
echo "Done with LSMTool." &&
touch $prefix/.done
else else
echo LSMTool already installed. echo LSMTool already installed.
fi fi || exit 1
############################### ###############################
# Finish up the installation. # # Finish up the installation. #
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment