mirror of
https://github.com/bensuperpc/dockcross.git
synced 2024-11-09 20:57:26 +01:00
d4e7c0aff2
This is a different toolchain following how wasi-sdk defines the platform triple and how builds are configured -- everything should be built with the flags defined in the toolchain file. We build from web-wasi:latest, and that is built first.
12 lines
271 B
Docker
12 lines
271 B
Docker
ARG ORG=dockcross
|
|
FROM ${ORG}/web-wasi:latest
|
|
|
|
LABEL maintainer="Matt McCormick matt.mccormick@kitware.com"
|
|
|
|
ENV CROSS_TRIPLE=wasm32-wasi-threads
|
|
|
|
COPY Toolchain.cmake ${CROSS_ROOT}/
|
|
ENV CMAKE_TOOLCHAIN_FILE ${CROSS_ROOT}/Toolchain.cmake
|
|
|
|
#include "common.label-and-env"
|