Skip to content

fix shared and tests prereqs#3902

Merged
martin-frbg merged 1 commit intoOpenMathLib:developfrom
haampie:fix/parallel-build
Feb 8, 2023
Merged

fix shared and tests prereqs#3902
martin-frbg merged 1 commit intoOpenMathLib:developfrom
haampie:fix/parallel-build

Conversation

@haampie
Copy link
Copy Markdown
Contributor

@haampie haampie commented Feb 8, 2023

Closes #3899

Generally make shared did not work.

In the past make -j... libs netlib shared worked probably by accident, my working
hypothesis is GNU make didn't parallelize over command line targets before v4.4.
In v4.4 it is consistently an error.

Maybe it's worth using GNU make 4.4 in CI with the --shuffle=random feature
enabled, in case you want to catch make races in the future; it dumps the random
seed on build errors for reproducibility (although parallel builds make it not
entirely reproducible)

@martin-frbg martin-frbg added this to the 0.3.22 milestone Feb 8, 2023
@martin-frbg martin-frbg merged commit 3dec11c into OpenMathLib:develop Feb 8, 2023
@haampie haampie deleted the fix/parallel-build branch February 8, 2023 15:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

parallel build with gnu make 4.4 fails

2 participants