-
-
Notifications
You must be signed in to change notification settings - Fork 12.2k
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
flint 3.1.3 #166490
flint 3.1.3 #166490
Conversation
Can you make disabling ARB a different PR? That should solve the issue I believe |
6d00995
to
9fec260
Compare
89cf498
to
56a2ee6
Compare
#166574 has been merged, so no longer issues with arb, but I still do not know how to address
|
@SMillerDev, thanks for the suggestion, I have also incorporated @albinahlback suggestion, but I still do not know how to address:
|
cc @caarlos0 for thoughts. |
wrong cc maybe? I know nothing about flint or the underlying issue |
The underlying issue is the warning:
|
I figured it out; one needs to add flint to |
ae8d289
to
fff22f6
Compare
I am honestly confused about the error message,
as FLINT uses cpuid, see: https://github.com/flintlib/flint/blob/main/config/config.guess#L797 |
034e728
to
e699748
Compare
FLINT has changed repo to https://github.com/flintlib/flint This also now has releases, and the current version is 3.1.3 Setting livecheck to use github_latest Co-authored-by: Sean Molenaar <SMillerDev@users.noreply.github.com>
I think I fixed everything now, and this is ready to review |
uses_from_macos "m4" => :build | ||
|
||
def install | ||
# to build against NTL |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
NTL doesn't appear anywhere else in the formula now, is this correct?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes. We have a header-only interface.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
and the NTL interface header is a C++ header
args << "--enable-arch=#{Hardware.oldest_cpu}" | ||
elsif Hardware::CPU.avx2? | ||
# TODO: enable avx512 support | ||
args << "--enable-avx2" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Flint doesn't use BLAS yet, right? If it did, Apple's Accelerate framework has SIMD vector operations that replace avx: https://developer.apple.com/documentation/accelerate/simd
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We do use it in multiplication for the nmod_mat
and fmpz_mat
modules.
Edit: BLAS, that is.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
BLAS is optional; we could compile against it and add it as a dependency.
@albinahlback and @fredrik-johansson, is this something that we want?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks; great work!
🤖 An automated task has requested bottles to be published to this PR. |
|
Probably should open issue upstream for CI workflow relating to release tarballs to make sure The problem looks like reverse is happening so
https://github.com/flintlib/flint/blob/main/.github/workflows/release.yml#L88-L93 - name: "Bootstrap"
run: |
./bootstrap.sh
- name: "Create source archive"
run: dev/make_dist.sh ${FLINT_VERSION} https://github.com/flintlib/flint/blob/main/dev/make_dist.sh#L39-L40 # update VERSION file
printf $flint_version > VERSION |
I have submitted two PRs to fix the problem upstream: flintlib/flint#1993 and flintlib/flint#1994 (which FLINT releases if 3.1.4 will exist) |
Thanks! Feel free to open a PR that backports those patches to the current version of the formula. |
HOMEBREW_NO_INSTALL_FROM_API=1 brew install --build-from-source <formula>
, where<formula>
is the name of the formula you're submitting?brew test <formula>
, where<formula>
is the name of the formula you're submitting?brew audit --strict <formula>
(after doingHOMEBREW_NO_INSTALL_FROM_API=1 brew install --build-from-source <formula>
)? If this is a new formula, does it passbrew audit --new <formula>
?I'm not sure what you would like me to do about:
depends on #166574