Mercurial > hg > orthanc-python
annotate 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 |
rev | line source |
---|---|
0 | 1 #!/bin/bash |
2 set -ex | |
3 | |
4 mkdir /tmp/build | |
5 cd /tmp/build | |
6 | |
7 cmake /source \ | |
8 -DCMAKE_BUILD_TYPE=$1 \ | |
9 -DPYTHON_VERSION=3.7 \ | |
10 -DSTATIC_BUILD=ON \ | |
11 -DCMAKE_INSTALL_PREFIX=/target | |
12 | |
13 make -j`nproc` | |
14 | |
15 if [ "$1" == "Release" ]; then | |
16 strip ./libOrthancPython.so | |
17 fi | |
18 | |
19 make install |