Mercurial > hg > orthanc-gdcm
changeset 24:4b01aa43c3ee
fix holy build box
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 01 Jul 2020 16:51:51 +0200 |
parents | cc86d2e56053 |
children | 3486a98e9cc4 |
files | Resources/holy-build-box-internal.sh |
diffstat | 1 files changed, 11 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/Resources/holy-build-box-internal.sh Wed Jul 01 16:23:43 2020 +0200 +++ b/Resources/holy-build-box-internal.sh Wed Jul 01 16:51:51 2020 +0200 @@ -1,6 +1,15 @@ #!/bin/bash set -e +# Holy Build Box doesn't contain "hg", there's no "pip" or +# "easy_install" in Python 2.6 (the version of Holy Build Box) and +# we're running as a standard user. So we have to install Mercurial +# from source. +MERCURIAL=mercurial-5.4.1 +cd /tmp +curl https://www.mercurial-scm.org/release/${MERCURIAL}.tar.gz > ${MERCURIAL}.tar.gz +tar xvf ${MERCURIAL}.tar.gz + # Activate Holy Build Box environment. source /hbb_exe/activate @@ -19,6 +28,8 @@ unset LD_LIBRARY_PATH unset LIBRARY_PATH +export PATH=${PATH}:/tmp/${MERCURIAL}/ + mkdir /tmp/source-writeable cp -r /source/CMakeLists.txt /tmp/source-writeable/ @@ -27,8 +38,6 @@ cmake /tmp/source-writeable \ -DCMAKE_BUILD_TYPE=$1 -DSTATIC_BUILD=ON \ - -DORTHANC_FRAMEWORK_SOURCE=web \ - -DORTHANC_FRAMEWORK_VERSION=1.7.0 \ -DCMAKE_INSTALL_PREFIX=/target make -j`nproc`