Revision 745bee4ed1580dc96789a7b7e7607bb38c0e6bc8 authored by Konrad Werys on 16 August 2019, 10:11:41 UTC, committed by Konrad Werys on 16 August 2019, 10:11:41 UTC
1 parent c96fbf0
downloadITK_linux_osx.sh
#!/bin/bash
# TODO: download itk binaries from https://github.com/MRKonrad/build-itk. Problem:
# /usr/bin/ld: /home/travis/build/MRKonrad/ITK_install/lib/libitksys-4.13.a(SystemTools.cxx.o): unrecognized relocation (0x2a) in section `.text'
# /usr/bin/ld: final link failed: Bad value
mysystem=$(uname)
export mysystem
if [ "${mysystem}" == "Darwin" ]
then
export mysystem="osx";
fi
if [ "${mysystem}" == "Linux" ]
then
export mysystem="linux";
fi
echo ${mysystem}
cd ../..
#mkdir ITK_install
#cd ITK_install
#curl -L -O https://github.com/MRKonrad/build-itk/releases/download/itk_v4.13.2/itk_v4.13.2_${mysystem}_g++_CXX98.zip
#unzip -a -q itk_v4.13.2_${mysystem}_g++_CXX98.zip
#rm itk_v4.13.2_${mysystem}_g++_CXX98.zip
curl -L -O http://mrkonrad.github.io/MRKonrad/files/ITK_built/ITK413_${mysystem}_install.zip
unzip -a -q ITK413_${mysystem}_install.zip
rm ITK413_${mysystem}_install.zip
echo "ITK binaries downloaded"
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...