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

build, deps, tools: avoid excessive LTO #47313

Merged
merged 1 commit into from
Apr 6, 2023

Conversation

rockdrilla
Copy link
Contributor

Don't link intermediate executables with LTO in order to speed up overall build time.

Signed-off-by: Konstantin Demin [email protected]

Don't link intermediate executables with LTO in order to speed up
overall build time.

Signed-off-by: Konstantin Demin <[email protected]>
@nodejs-github-bot
Copy link
Collaborator

Review requested:

  • @nodejs/gyp
  • @nodejs/v8-update

@nodejs-github-bot nodejs-github-bot added build Issues and PRs related to build files or the CI. dependencies Pull requests that update a dependency file. i18n-api Issues and PRs related to the i18n implementation. icu Issues and PRs related to the ICU dependency. needs-ci PRs that need a full CI run. openssl Issues and PRs related to the OpenSSL dependency. tools Issues and PRs related to the tools directory. v8 engine Issues and PRs related to the V8 dependency. labels Mar 30, 2023
Copy link
Member

@bnoordhuis bnoordhuis left a comment

Choose a reason for hiding this comment

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

LGTM. Good catch, thanks.

@richardlau richardlau added the request-ci Add this label to start a Jenkins CI on a PR. label Mar 31, 2023
@github-actions github-actions bot removed the request-ci Add this label to start a Jenkins CI on a PR. label Mar 31, 2023
@nodejs-github-bot
Copy link
Collaborator

@nodejs-github-bot
Copy link
Collaborator

@nodejs-github-bot
Copy link
Collaborator

@rockdrilla
Copy link
Contributor Author

Btw, PGO is also produces the same issues. I'll produce next merge request after this one.

@nodejs-github-bot
Copy link
Collaborator

Copy link
Member

@mhdawson mhdawson left a comment

Choose a reason for hiding this comment

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

LGTM

@nodejs-github-bot
Copy link
Collaborator

@richardlau richardlau added the commit-queue Add this label to land a pull request using GitHub Actions. label Apr 5, 2023
@nodejs-github-bot nodejs-github-bot removed the commit-queue Add this label to land a pull request using GitHub Actions. label Apr 6, 2023
@nodejs-github-bot nodejs-github-bot merged commit c3cd75d into nodejs:main Apr 6, 2023
@nodejs-github-bot
Copy link
Collaborator

Landed in c3cd75d

@rockdrilla rockdrilla deleted the lto branch April 6, 2023 08:32
RafaelGSS pushed a commit that referenced this pull request Apr 13, 2023
Don't link intermediate executables with LTO in order to speed up
overall build time.

Signed-off-by: Konstantin Demin <[email protected]>
PR-URL: #47313
Reviewed-By: Ben Noordhuis <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Michael Dawson <[email protected]>
Reviewed-By: Richard Lau <[email protected]>
danielleadams pushed a commit that referenced this pull request Jul 6, 2023
Don't link intermediate executables with LTO in order to speed up
overall build time.

Signed-off-by: Konstantin Demin <[email protected]>
PR-URL: #47313
Reviewed-By: Ben Noordhuis <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Michael Dawson <[email protected]>
Reviewed-By: Richard Lau <[email protected]>
MoLow pushed a commit to MoLow/node that referenced this pull request Jul 6, 2023
Don't link intermediate executables with LTO in order to speed up
overall build time.

Signed-off-by: Konstantin Demin <[email protected]>
PR-URL: nodejs#47313
Reviewed-By: Ben Noordhuis <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Michael Dawson <[email protected]>
Reviewed-By: Richard Lau <[email protected]>
rockdrilla added a commit to rockdrilla/fork.node that referenced this pull request Aug 8, 2023
condition doesn't apply to this target type

Fixes: nodejs#47313
Signed-off-by: Konstantin Demin <[email protected]>
rockdrilla added a commit to rockdrilla/fork.node that referenced this pull request Aug 8, 2023
Don't link intermediate executables with LTO in order to speed up overall build time.

Fixes: nodejs#47313
Signed-off-by: Konstantin Demin <[email protected]>
rockdrilla added a commit to rockdrilla/fork.node that referenced this pull request Aug 8, 2023
condition doesn't apply to this target type

Fixes: nodejs#47313
Signed-off-by: Konstantin Demin <[email protected]>
rockdrilla added a commit to rockdrilla/fork.node that referenced this pull request Aug 8, 2023
Don't link intermediate executables with LTO in order to speed up overall build time.

Fixes: nodejs#47313
Signed-off-by: Konstantin Demin <[email protected]>
rockdrilla added a commit to rockdrilla/fork.node that referenced this pull request Aug 8, 2023
condition doesn't apply to this target type

Fixes: nodejs#47313
Signed-off-by: Konstantin Demin <[email protected]>
rockdrilla added a commit to rockdrilla/fork.node that referenced this pull request Aug 8, 2023
condition doesn't apply to this target type

Fixes: nodejs#47313
Signed-off-by: Konstantin Demin <[email protected]>
rockdrilla added a commit to rockdrilla/fork.node that referenced this pull request Aug 8, 2023
Don't link intermediate executables with LTO in order to speed up
overall build time.

Fixes: nodejs#47313
Signed-off-by: Konstantin Demin <[email protected]>
rockdrilla added a commit to rockdrilla/fork.node that referenced this pull request Aug 8, 2023
condition doesn't apply to this target type

Fixes: nodejs#47313
Signed-off-by: Konstantin Demin <[email protected]>
rockdrilla added a commit to rockdrilla/fork.node that referenced this pull request Aug 8, 2023
Don't link intermediate executables with LTO in order to speed up
overall build time.

Fixes: nodejs#47313
Signed-off-by: Konstantin Demin <[email protected]>
rockdrilla added a commit to rockdrilla/fork.node that referenced this pull request Aug 8, 2023
condition doesn't apply to this target type

Fixes: nodejs#47313
Signed-off-by: Konstantin Demin <[email protected]>
rockdrilla added a commit to rockdrilla/fork.node that referenced this pull request Aug 8, 2023
Don't link intermediate executables with LTO in order to speed up
overall build time.

Fixes: nodejs#47313
Signed-off-by: Konstantin Demin <[email protected]>
rockdrilla added a commit to rockdrilla/fork.node that referenced this pull request Aug 8, 2023
condition doesn't apply to this target type

Fixes: nodejs#47313
Signed-off-by: Konstantin Demin <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build Issues and PRs related to build files or the CI. dependencies Pull requests that update a dependency file. i18n-api Issues and PRs related to the i18n implementation. icu Issues and PRs related to the ICU dependency. needs-ci PRs that need a full CI run. openssl Issues and PRs related to the OpenSSL dependency. tools Issues and PRs related to the tools directory. v8 engine Issues and PRs related to the V8 dependency.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants