Created
September 29, 2019 08:25
-
-
Save spchamp/b59a74a0dcc7007a86baa0d3ad51889c to your computer and use it in GitHub Desktop.
Snippet - use ninja-build in pkgsrc www/webkit-gtk
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
BUILD_DEPENDS+= ninja-build-[0-9]*:../../devel/ninja-build | |
CMAKE_ARGS+= -GNinja | |
do-build: | |
cd ${WRKSRC} && ninja |
Use MAKE_ENV, INSTALL_ENV
BUILD_DEPENDS+= ninja-build-[0-9]*:../../devel/ninja-build
CMAKE_ARGS+= -GNinja
do-build:
@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ninja ${MAKE_JOBS:D-j ${MAKE_JOBS}}
do-install:
@cd ${WRKSRC} && ${SETENV} ${INSTALL_ENV} ninja install
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Limit build parallelization per
MAKE_JOBS