Mercurial > hg > orthanc-stone
comparison Samples/WebAssembly/docker-internal.sh @ 1493:c9bdf73a8817
fix docker-internal.sh for CIS
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 25 Jun 2020 14:08:10 +0200 |
parents | 4b5ec9ea268e |
children | 5a3ef478deb6 |
comparison
equal
deleted
inserted
replaced
1492:4b5ec9ea268e | 1493:c9bdf73a8817 |
---|---|
10 cd /tmp/ | 10 cd /tmp/ |
11 hg clone https://hg.orthanc-server.com/orthanc/ | 11 hg clone https://hg.orthanc-server.com/orthanc/ |
12 | 12 |
13 # Make a copy of the source code in a writeable folder, because of | 13 # Make a copy of the source code in a writeable folder, because of |
14 # "DownloadPackage.cmake" that writes to the "ThirdPartyDownloads" | 14 # "DownloadPackage.cmake" that writes to the "ThirdPartyDownloads" |
15 # folder next to the "CMakeLists.txt" | 15 # folder next to the "CMakeLists.txt". We don't use "hg archive", but |
16 # "hg clone", as the "/source" folder might be created by a more | |
17 # recent version of Mercurial, triggering the error "repository | |
18 # requires features unknown to this Mercurial: sparserevlog!" | |
19 # (cf. https://www.mercurial-scm.org/wiki/MissingRequirement). | |
16 cd /source | 20 cd /source |
17 hg archive /tmp/source-writeable | 21 hg clone /source /tmp/source-writeable |
18 | 22 |
19 mkdir /tmp/build | 23 mkdir /tmp/build |
20 cd /tmp/build | 24 cd /tmp/build |
21 | 25 |
22 cmake /tmp/source-writeable/Samples/WebAssembly \ | 26 cmake /tmp/source-writeable/Samples/WebAssembly \ |