view Resources/Builders/Docker/docker-internal.sh @ 5:5b3dd10cecc3

removed test logs
author Sebastien Jodogne <s.jodogne@gmail.com>
date Sat, 28 Mar 2020 14:16:16 +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