# HG changeset patch # User Sebastien Jodogne # Date 1596541944 -7200 # Node ID 1e84e0663da4a03649ddd9e51ceea026dd8d9bc6 # Parent a263b789b1491d375c96a78fd9fbcb45554e1fd3 don't override the versions from CMakeLists in Holy Build Box diff -r a263b789b149 -r 1e84e0663da4 Resources/holy-build-box-internal.sh --- a/Resources/holy-build-box-internal.sh Tue Aug 04 13:28:07 2020 +0200 +++ b/Resources/holy-build-box-internal.sh Tue Aug 04 13:52:24 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/ @@ -29,8 +40,6 @@ cmake /tmp/source-writeable \ -DCMAKE_BUILD_TYPE=$1 -DSTATIC_BUILD=ON \ - -DORTHANC_FRAMEWORK_SOURCE=web \ - -DORTHANC_FRAMEWORK_VERSION=1.7.2 \ -DCMAKE_INSTALL_PREFIX=/target make -j`nproc`