Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

clang: error: unknown argument: '-fvpt' #43

Open
ElDavoo opened this issue Nov 9, 2024 · 1 comment
Open

clang: error: unknown argument: '-fvpt' #43

ElDavoo opened this issue Nov 9, 2024 · 1 comment

Comments

@ElDavoo
Copy link

ElDavoo commented Nov 9, 2024

Looks like using PGO with clang isn't an option.

@vaeth
Copy link
Owner

vaeth commented Nov 9, 2024

This is probably correct. However, 10-flag.sh already contains more than a healthy amount of implicit magic. Adding even more does not sound reasonable. You can probably use whatever mechanism you use to switch between gcc and clang to also not auto-enable PGO (e.g. unset PGO_DIR or export NOPGO=1).

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants