Skip to content

Commit 779873a

Browse files
committed
Use -j $(nproc)
Implements build time speed up as suggested in #7
1 parent a93899c commit 779873a

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

ChangeLog.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ AWS Lambda change log
33

44
## ?.?.? / ????-??-??
55

6+
* Speed up build by using `-j $(nproc)` flag for `make`, see #7 - @thekid
67
* Enabled *bcmath* extension - @thekid
78

89
## 2.0.0 / 2021-08-29

src/main/php/xp/lambda/Dockerfile.runtime

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ RUN cd php-src-php-${php_version} && ./buildconf --force && ./configure \
3232
--disable-xml \
3333
--disable-xmlreader \
3434
--disable-xmlwriter && \
35-
make all install
35+
make -j $(nproc) all install
3636

3737
# Create XP Bootstrap
3838
RUN curl -L https://baltocdn.com/xp-framework/xp-runners/distribution/downloads/e/entrypoint/xp-run-${xp_version}.sh \

0 commit comments

Comments
 (0)