Mercurial > hg > orthanc-python
view Resources/Builders/Docker/docker-internal.sh @ 4:e3128420249d
fixing the SDK version
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Fri, 27 Mar 2020 12:22:22 +0100 |
parents | 7ed502b17b8f |
children |
line wrap: on
line source
#!/bin/bash set -ex mkdir /tmp/build cd /tmp/build cmake /source \ -DCMAKE_BUILD_TYPE=$1 \ -DPYTHON_VERSION=3.7 \ -DSTATIC_BUILD=ON \ -DCMAKE_INSTALL_PREFIX=/target make -j`nproc` if [ "$1" == "Release" ]; then strip ./libOrthancPython.so fi make install