Build the extension in parallel#189
Open
estebanzimanyi wants to merge 2 commits into
Open
Conversation
Adds the SIZEOF_LONG_LONG emission to the rendered pg_config.h so the DuckDB-Wasm (wasm32-emscripten / ILP32) build of MEOS no longer fails the pg_bitutils integer-width check.
The ci-tools makefile runs cmake --build with no -j under the default Unix Makefiles generator, so the extension compiles on a single core. Export CMAKE_BUILD_PARALLEL_LEVEL (defaulting to nproc) so cmake --build uses all available cores in CI and local builds; an externally-set value takes precedence.
5381f4c to
28adbea
Compare
fa2de57 to
17588c0
Compare
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The ci-tools makefile runs
cmake --buildwith no-junder the default Unix Makefiles generator, so the extension compiles on a single core (~13 min of a ~17 min CI leg, with the other cores idle). ExportCMAKE_BUILD_PARALLEL_LEVEL(defaulting tonproc) socmake --builduses all available cores in CI and local builds; an externally-set value takes precedence.