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

lto-wrapper: warning: using serial compilation #630 #993

Merged
merged 1 commit into from
Dec 16, 2024

Conversation

gesior
Copy link
Contributor

@gesior gesior commented Dec 16, 2024

Description

LTO on Linux runs on 1 CPU core, not all CPU cores.
Linker shows warning and total compilation time is few seconds longer.

Behavior

Actual

LTO runs on 1 core, linker shows warning:

#20 49.99 [100%] Linking CXX executable ../../otclient
#20 58.98 lto-wrapper: warning: using serial compilation of 18 LTRANS jobs
#20 109.7 [100%] Built target otclient

Expected

LTO runs on all cores, no warning.

Fixes

#630

Type of change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)

Test Configuration:

  • Server Version: *
  • Client: *
  • Operating System: Linux

@gesior gesior force-pushed the lto-wrapper-warning branch from 3449f60 to fec8eac Compare December 16, 2024 14:01
@mehah mehah merged commit 77f1b0d into mehah:main Dec 16, 2024
12 checks passed
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.

2 participants