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

Option to Disable Documentation in Configure Script #8170

Closed
iguessthislldo opened this issue Feb 6, 2019 · 7 comments
Closed

Option to Disable Documentation in Configure Script #8170

iguessthislldo opened this issue Feb 6, 2019 · 7 comments

Comments

@iguessthislldo
Copy link
Contributor

I'm currently doing a build of OpenSSL as part of a build in Travis and I would like to reduce the overall time of the build. I see there is a no-tests option but I noticed that OpenSSL make and make install spends more time dealing with the documentation than the actual libraries. I think that's probably a good thing overall, but I don't need the documentation in this case and I don't see a no-docs or similar option.

@mspncp
Copy link
Contributor

mspncp commented Feb 6, 2019

The install target is actually split into three subtargets:

install: install_sw install_ssldirs install_docs

So try make install_sw, this should save your day ;-)

@iguessthislldo
Copy link
Contributor Author

@mspncp That should take most of the time off the ssl build, thanks!

@mspncp
Copy link
Contributor

mspncp commented Feb 6, 2019

You're welcome. So can this issue be closed?

Side note: If you are building OpenSSL only as third party library and not expecting errors from building it, you might want to consider speeding it up further by doing a parallel build and install (e.g. make -j8 and make -j8 install). Parallel builds used to be not entirely safe, but this was fixed only recently in #7583.

@iguessthislldo
Copy link
Contributor Author

Yes, I'm closing it. Thanks for the tip, but I'm already using -j N. As for the safety warning, I'm using 1.1.1a so I'm assuming I have that fix.

@mspncp
Copy link
Contributor

mspncp commented Feb 6, 2019

I'm using 1.1.1a so I'm assuming I have that fix.

Yes, #7583 was merged to 1.1.1 in commit 201a33f before 1.1.1a was released.

@levitte
Copy link
Member

levitte commented Feb 7, 2019

Parallel builds used to be not entirely safe,

Parallel installs

@mspncp
Copy link
Contributor

mspncp commented Feb 7, 2019

Yeah, that’s what I meant to say. :-)

anthonybilinski added a commit to anthonybilinski/qTox that referenced this issue Mar 4, 2022
Installing docs takes more time than the rest o fthe build combined. Run online install_sw target, as recommended here: openssl/openssl#8170
anthonybilinski added a commit to anthonybilinski/qTox that referenced this issue Mar 4, 2022
Installing docs takes more time than the rest o fthe build combined. Run online install_sw target, as recommended here: openssl/openssl#8170
anthonybilinski added a commit to anthonybilinski/qTox that referenced this issue Mar 4, 2022
Installing docs takes more time than the rest o fthe build combined. Run online install_sw target, as recommended here: openssl/openssl#8170
anthonybilinski added a commit to anthonybilinski/qTox that referenced this issue Mar 5, 2022
Installing docs takes more time than the rest o fthe build combined. Run online install_sw target, as recommended here: openssl/openssl#8170
anthonybilinski added a commit to anthonybilinski/qTox that referenced this issue Mar 8, 2022
Installing docs takes more time than the rest o fthe build combined. Run online install_sw target, as recommended here: openssl/openssl#8170

(cherry picked from commit 2f4c84736787f923d376260bfbf8502cda5917ce)
eregon added a commit to eregon/ruby-build that referenced this issue May 1, 2022
eregon added a commit to rbenv/ruby-build that referenced this issue May 1, 2022
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

No branches or pull requests

3 participants