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

[clang][AIX]Fix -flto-jobs for AIX. #67853

Merged
merged 1 commit into from
Oct 3, 2023

Conversation

Dhanrajbir-Hira
Copy link
Contributor

@Dhanrajbir-Hira Dhanrajbir-Hira commented Sep 29, 2023

Currently using the -flto-jobs=N option passes -bplugin_opt:jobs=N to the AIX linker which is not a valid option. This PR seeks to change this behaviour to instead pass -bplugin_opt:-threads=N to control the level of concurrency during LTO builds.

@llvmbot llvmbot added clang Clang issues not falling into any other category clang:driver 'clang' and 'clang++' user-facing binaries. Not 'clang-cl' labels Sep 29, 2023
@Dhanrajbir-Hira Dhanrajbir-Hira changed the title Fix -flto-jobs for AIX. [clang][AIX]Fix -flto-jobs for AIX. Sep 29, 2023
Copy link
Contributor

@qiongsiwu qiongsiwu left a comment

Choose a reason for hiding this comment

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

LGTM! Thanks!

@qiongsiwu qiongsiwu merged commit 0bb4b24 into llvm:main Oct 3, 2023
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
clang:driver 'clang' and 'clang++' user-facing binaries. Not 'clang-cl' clang Clang issues not falling into any other category
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants