Skip to content

Commit

Permalink
Pass MAKEFLAGS to docker make command
Browse files Browse the repository at this point in the history
Reduces build time by 1/3 or so.
  • Loading branch information
aswaterman committed Oct 12, 2023
1 parent b81a1a8 commit 26defb3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ all: $(TARGETS)
# Build with preinstalled docker container; first install it with:
# docker pull riscvintl/riscv-docs-base-container-image:latest
docker:
cd .. && docker run -it -v .:/build riscvintl/riscv-docs-base-container-image:latest /bin/sh -c 'cd ./build; make'
cd .. && docker run -it -v .:/build riscvintl/riscv-docs-base-container-image:latest /bin/sh -c 'cd ./build; make $(MAKEFLAGS)'

# Asciidoctor options
ASCIIDOCTOR_OPTS := -a compress \
Expand Down

0 comments on commit 26defb3

Please sign in to comment.