Skip to content

Commit

Permalink
build with 1 cpu
Browse files Browse the repository at this point in the history
  • Loading branch information
d3v-null committed Oct 29, 2024
1 parent 4bcdaf8 commit 8d13966
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,9 @@ ADD . /mwalib
WORKDIR /mwalib

# build python module and examples
RUN maturin build --verbose --features=python && \
RUN cargo build -j1 --verbose --examples --features=examples && \
maturin build -j1 --verbose --features=python && \
python -m pip install $(ls -1 target/wheels/*.whl | tail -n 1) && \
cargo build --verbose --examples --features=examples && \
rm -rf ${CARGO_HOME}/registry
ENV PATH=${PATH}:/mwalib/target/debug/examples/

Expand Down

0 comments on commit 8d13966

Please sign in to comment.