Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

openssl: run make install with -j$NIX_BUILD_CORES #212918

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions pkgs/development/libraries/openssl/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,12 @@ let

enableParallelBuilding = true;

# openssl3 runs `pod2man` as part of `make install`, which means that the
# installPhase takes longer than the buildPhase without this:
Comment on lines +157 to +158
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are you sure it's not simply reaching a previously unbuilt doc target or thereof in order to reach the install target?

In that case you should rather make the buildPhase explicitly build that target in addition to the regular targets via buildFlags.

preInstall = ''
installFlagsArray+=("-j$NIX_BUILD_CORES")
'';

postInstall =
(if static then ''
# OPENSSLDIR has a reference to self
Expand Down