Skip to content

Commit e01bcc7

Browse files
committed
Update Dockerfile.e2e
Add verbosity in compile step.
1 parent aba21c8 commit e01bcc7

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

Docker/Dockerfile.e2e

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,6 @@ RUN --mount=from=build-lind-boot,source=src/lind-boot/target,destination=src/lin
194194
bash -lc '\
195195
set -euxo pipefail; \
196196
cd /; \
197-
echo "[debug] listing artifacts"; \
198197
find artifacts -maxdepth 4 | sort || true; \
199198
test -d artifacts/include/wasm32-wasi/c++; \
200199
test -f artifacts/lib/wasm32-wasi/libc++.a; \
@@ -203,13 +202,16 @@ RUN --mount=from=build-lind-boot,source=src/lind-boot/target,destination=src/lin
203202
mkdir -p build/sysroot/lib/wasm32-wasi; \
204203
cp -r artifacts/include/wasm32-wasi/c++ build/sysroot/include/wasm32-wasi/; \
205204
cp artifacts/lib/wasm32-wasi/libc++.a artifacts/lib/wasm32-wasi/libc++abi.a build/sysroot/lib/wasm32-wasi/; \
205+
test -f /build/lind-boot; \
206+
chmod 0755 /build/lind-boot; \
207+
ls -l /build/lind-boot; \
206208
rm -f trial/*.wasm; \
207-
scripts/lind_compile_cpp --compile-only trial/hello.cpp; \
209+
scripts/lind_compile_cpp --print-args --print-cmd --compile-only trial/hello.cpp; \
210+
ls -l trial; \
208211
test -f trial/hello.cpp.wasm; \
209212
mkdir -p /libcpp-out; \
210213
cp trial/hello.cpp.wasm /libcpp-out/hello.cpp.wasm; \
211214
printf "%s\n" "LIBCPP_STATUS=pass" > /libcpp-out/libcpp_status \
212215
'
213-
214216
FROM scratch AS libcpp-artifacts
215217
COPY --from=libcpp-test /libcpp-out/ /

0 commit comments

Comments
 (0)