File tree Expand file tree Collapse file tree 1 file changed +8
-5
lines changed
Expand file tree Collapse file tree 1 file changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -5,22 +5,25 @@ RUN apt install -y \
55 libssl-dev \
66 ninja-build
77
8+ # Hack to avoid rebuilding build CPython every time the code changes
9+ WORKDIR /tmp
10+ COPY bin/install_build_python.sh .
11+ RUN ./install_build_python.sh
12+
813# Clone current tag
914WORKDIR /code
1015RUN git clone \
1116 -b v${FAASM_CPYTHON_VERSION} \
1217 https://github.com/faasm/faasm-cpython
1318
14- # Install the build machine CPython
19+ # Submodules
1520WORKDIR /code/faasm-cpython
16- RUN ./bin/install_build_python.sh
21+ RUN git submodule update --init
1722
1823# Install pyfaasm natively
19- WORKDIR /code/faasm-cpython/pyfaasm
20- RUN pip3 install .
24+ RUN inv pyfaasm.native
2125
2226# Build CPython to wasm
23- WORKDIR /code/faasm-cpython
2427RUN inv cpython
2528
2629# Set up crossenv
You can’t perform that action at this time.
0 commit comments