changeset 2083:0c0c228a3a73

trying to fix
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 11 Oct 2023 21:12:08 +0200
parents 3ef91da06636
children 7f70abd4044f 554bc96e7508
files Applications/StoneWebViewer/WebAssembly/docker-build.sh Applications/StoneWebViewer/WebAssembly/docker-internal.sh
diffstat 2 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/Applications/StoneWebViewer/WebAssembly/docker-build.sh	Wed Oct 11 16:38:38 2023 +0200
+++ b/Applications/StoneWebViewer/WebAssembly/docker-build.sh	Wed Oct 11 21:12:08 2023 +0200
@@ -50,6 +50,7 @@
 mkdir -p ${ROOT_DIR}/wasm-binaries
 
 docker run -t ${DOCKER_FLAGS} --rm \
+    --dns=8.8.8.8 \
     --user $(id -u):$(id -g) \
     -e STONE_BRANCH=${STONE_BRANCH} \
     -v ${ROOT_DIR}:/source:ro \
--- a/Applications/StoneWebViewer/WebAssembly/docker-internal.sh	Wed Oct 11 16:38:38 2023 +0200
+++ b/Applications/StoneWebViewer/WebAssembly/docker-internal.sh	Wed Oct 11 21:12:08 2023 +0200
@@ -44,6 +44,7 @@
       -DORTHANC_STONE_INSTALL_PREFIX=/target/StoneWebViewer \
       -DCMAKE_TOOLCHAIN_FILE=${EMSDK}/upstream/emscripten/cmake/Modules/Platform/Emscripten.cmake \
       -DSTATIC_BUILD=ON \
+      -DLIBCLANG=libclang-4.0.so.1 \
       -G Ninja
 
 ninja -j2 install