Skip to content

Conversation

@cxzhong
Copy link
Contributor

@cxzhong cxzhong commented Dec 9, 2025

Added configuration options to enable or disable various SIMD instruction sets in the build process.

📝 Checklist

  • The title is concise and informative.
  • The description explains in detail what this PR is about.
  • I have linked a relevant issue or discussion.
  • I have created tests covering the changes.
  • I have updated the documentation and checked the documentation preview.

⌛ Dependencies

Added configuration options to enable or disable various SIMD instruction sets in the build process.
@cxzhong cxzhong changed the title TEST: building fflas-ffpack with diable arch TEST: building fflas-ffpack with disable arch Dec 9, 2025
Modified the handling of SIMD options in the configuration script to allow for more flexible optimization flags based on SIMD settings.
Removed specific processor optimizations from FFLAS_FFPACK configuration when SAGE_FAT_BINARY is set.
@cxzhong
Copy link
Contributor Author

cxzhong commented Dec 9, 2025

and linbox is also broke

This patch introduces options to disable various SIMD instruction sets and other configure flags in linbox. It modifies configure.ac and adds macros to manage compiler flags based on these options.
@cxzhong cxzhong changed the title TEST: building fflas-ffpack with disable arch TEST: building fflas-ffpack and linbox with disable arch Dec 9, 2025
@github-actions
Copy link

github-actions bot commented Dec 9, 2025

Documentation preview for this PR (built with commit 5978a0b; changes) is ready! 🎉
This preview will update shortly after each push to this PR.

@cxzhong cxzhong closed this Dec 9, 2025
@cxzhong cxzhong deleted the patch-12 branch December 9, 2025 20:20
@cxzhong cxzhong restored the patch-12 branch December 10, 2025 06:57
@cxzhong cxzhong reopened this Dec 10, 2025
@cxzhong
Copy link
Contributor Author

cxzhong commented Dec 10, 2025

Ref passagemath/passagemath#1822

Updated GIVARO_CONFIGURE to disable architecture-specific optimizations when SAGE_FAT_BINARY is set.
@cxzhong cxzhong changed the title TEST: building fflas-ffpack and linbox with disable arch TEST: build givaro, fflas-ffpack and linbox with disable native arch Dec 10, 2025
vbraun pushed a commit to vbraun/sage that referenced this pull request Dec 11, 2025
…e arch in SAGE_FAT_BINARY

<!-- ^ Please provide a concise and informative title. -->
<!-- ^ Don't put issue numbers in the title, do this in the PR
description below. -->
<!-- ^ For example, instead of "Fixes sagemath#12345" use "Introduce new method
to calculate 1 + 2". -->
<!-- v Describe your changes below in detail. -->
<!-- v Why is this change required? What problem does it solve? -->
<!-- v If this PR resolves an open issue, please link to it here. For
example, "Fixes sagemath#12345". -->
Fix sagemath#41000
Fix sagemath#39460
Fix sagemath#41273
Fix sagemath#41066
Test in sagemath#41277
It fixes the docker build and docker runner have different arch.
Refer to passagemath/passagemath#1820

### 📝 Checklist

<!-- Put an `x` in all the boxes that apply. -->

- [ ] The title is concise and informative.
- [ ] The description explains in detail what this PR is about.
- [ ] I have linked a relevant issue or discussion.
- [ ] I have created tests covering the changes.
- [ ] I have updated the documentation and checked the documentation
preview.

### ⌛ Dependencies

<!-- List all open PRs that this PR logically depends on. For example,
-->
<!-- - sagemath#12345: short description why this is a dependency -->
<!-- - sagemath#34567: ... -->

URL: sagemath#41279
Reported by: Chenxin Zhong
Reviewer(s): Dima Pasechnik
@cxzhong cxzhong closed this Dec 12, 2025
@cxzhong cxzhong deleted the patch-12 branch December 12, 2025 08:40
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