Skip to content

llvm: enable pgo for non-i686 GCC environments #24884

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

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ognevny
Copy link
Collaborator

@ognevny ognevny commented Jul 18, 2025

locally built successfully. I'll try with #22778 later and update this comment. enabling PGO for GCC envs requires _clangprefix'ed dependencies to be used + lld for a build.

fixes #24881

update: this doesn't work in my PR due to lld crash...
update2: hello world compiles with gcc+lld and clang+lld

@ognevny ognevny marked this pull request as draft July 18, 2025 16:56
@ognevny
Copy link
Collaborator Author

ognevny commented Jul 18, 2025

anyone feel free to change this PR or create a new one

@mati865
Copy link
Collaborator

mati865 commented Jul 19, 2025

On CI it fails with:

/d/_/B/PKGBUILD: line 244: /ucrt64/bin/llvm-profdata: No such file or directory

@ognevny
Copy link
Collaborator Author

ognevny commented Jul 19, 2025

On CI it fails with:

/d/_/B/PKGBUILD: line 244: /ucrt64/bin/llvm-profdata: No such file or directory

ahh, typo. llvm-tools should be installed

@ognevny
Copy link
Collaborator Author

ognevny commented Jul 19, 2025

timeout...

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.

[suggestion] optimize LLVM with PGO for GCC environments
2 participants