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

Fix checking of label suffix #2248

Merged
merged 5 commits into from
Mar 6, 2025
Merged

Conversation

albinahlback
Copy link
Collaborator

Also add Zen 5 to list of recognized CPUs.

- Add missing patterns in X86_64_PATTERN from X86_64_ADX_PATTERN

- Add zen5 in X86_64_ADX_PATTERN
@albinahlback albinahlback force-pushed the fix_label branch 2 times, most recently from 0d317ef to 6bd7e01 Compare March 6, 2025 22:26
During bootstrapping, config.guess is always present.
As it is only used for x86_64 and ARM64 in longlong_asm_gnu.h, only
check the suffix when host is either of these architectures.
@albinahlback albinahlback merged commit 277980c into flintlib:main Mar 6, 2025
13 checks passed
@albinahlback albinahlback deleted the fix_label branch March 11, 2025 10:45
albinahlback added a commit to albinahlback/flint that referenced this pull request Mar 11, 2025
* Update X86_64_PATTERN and X86_64_ADX_PATTERN

- Add missing patterns in X86_64_PATTERN from X86_64_ADX_PATTERN

- Add zen5 in X86_64_ADX_PATTERN

* Add Zen 5 recognition in config.(guess|sub)

* Check presence of install-sh instead of config.guess

During bootstrapping, config.guess is always present.

* Conditionally check for LABEL_SUFFIX

As it is only used for x86_64 and ARM64 in longlong_asm_gnu.h, only
check the suffix when host is either of these architectures.

* Set CFLAGS and temporary param_path for Zen 5
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.

1 participant