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

bwa: add arm64 support #100790

Closed
wants to merge 1 commit into from
Closed

bwa: add arm64 support #100790

wants to merge 1 commit into from

Conversation

alexreg
Copy link
Contributor

@alexreg alexreg commented May 4, 2022

  • Have you followed the guidelines for contributing?
  • Have you ensured that your commits follow the commit style guide?
  • Have you checked that there aren't other open pull requests for the same formula update/change?
  • Have you built your formula locally with brew install --build-from-source <formula>, where <formula> is the name of the formula you're submitting?
  • Is your test running fine brew test <formula>, where <formula> is the name of the formula you're submitting?
  • Does your build pass brew audit --strict <formula> (after doing brew install --build-from-source <formula>)? If this is a new formula, does it pass brew audit --new <formula>?

@BrewTestBot BrewTestBot added deprecated license Formula uses a deprecated SPDX license which should be updated no ARM bottle Formula has no ARM bottle labels May 4, 2022
Formula/bwa.rb Outdated
uses_from_macos "zlib"

def install
inreplace "ksw.c", "<emmintrin.h>", "<sse2neon.h>" if Hardware::CPU.arch == :arm64
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is there any upstream patch for this?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nope, as I think you've just realised. (Thanks for making a note though.) The project is not very actively maintained, although it's mature. Maybe we can make a note of that PR here, merge as-is, and then remove the inreplace once/if the bug-fix gets accepted and a new release made?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeah, if you can submit an upstream PR and add a code comment reference that, that would be great.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There are 2 different upstream PRs, though both bundle corresponding library:

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@cho-m Yep. The first one is out-of-date and didn't work for me. The second is very simple and works fine. (Basically what I do with the inreplace.)

@carlocab carlocab added the CI-no-bottles Merge without publishing bottles label May 5, 2022
Formula/bwa.rb Outdated Show resolved Hide resolved
@alexreg
Copy link
Contributor Author

alexreg commented May 7, 2022

@cho-m Resolved. Should be read for merge now.

@BrewTestBot
Copy link
Member

🤖 A scheduled task has triggered a merge.

everettraven pushed a commit to everettraven/homebrew-core that referenced this pull request May 10, 2022
Closes Homebrew#100790.

Signed-off-by: Sean Molenaar <[email protected]>
Signed-off-by: BrewTestBot <[email protected]>
@github-actions github-actions bot added the outdated PR was locked due to age label Jun 8, 2022
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 8, 2022
@alexreg alexreg deleted the bwa branch July 3, 2022 14:49
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
CI-no-bottles Merge without publishing bottles deprecated license Formula uses a deprecated SPDX license which should be updated no ARM bottle Formula has no ARM bottle outdated PR was locked due to age
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants