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

libgit2-glib: m1-support add in rpath to build on Apple Silicon #80314

Merged
merged 1 commit into from
Jul 1, 2021

Conversation

areese
Copy link
Contributor

@areese areese commented Jun 30, 2021

  • 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 Jun 30, 2021
@nandahkrishna nandahkrishna added the CI-force-arm [DEPRECATED] Don't pass --skip-unbottled-arm to brew test-bot. label Jul 1, 2021
@carlocab
Copy link
Member

carlocab commented Jul 1, 2021

Let's wait for feedback from upstream on your patch.

url "https://gitlab.gnome.org/GNOME/libgit2-glib/-/commit/e5e61a523508851daa6e54333c2747b7807496fb.diff"
sha256 "6b311f239a872b102a018b1ed14a72fdad18ca4e2c47de3c2b6b2e9e9b66a69d"
end

def install
mkdir "build" do
Copy link
Member

@carlocab carlocab Jul 1, 2021

Choose a reason for hiding this comment

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

I also wonder if we can do without the patch by doing

ENV.append "LDFLAGS", "-Wl,-rpath,#{rpath}"

Though I do know meson is a bit weird about rpath LDFLAGS.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I’ll try that
I know meson was pretty interesting to figure out

Copy link
Contributor Author

Choose a reason for hiding this comment

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

ok that worked, lemme push with that instead it seems preferable.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@carlocab changed to this method

@areese
Copy link
Contributor Author

areese commented Jul 1, 2021

This was opened upstream as https://gitlab.gnome.org/GNOME/libgit2-glib/-/merge_requests/29 to always pass rpath in meson but that might not be correct
@carlocab carlocab merged commit 4d31ef1 into Homebrew:master Jul 1, 2021
@areese areese deleted the m1-support/libgit2-glib branch July 6, 2021 15:22
@github-actions github-actions bot added the outdated PR was locked due to age label Aug 6, 2021
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 6, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
CI-force-arm [DEPRECATED] Don't pass --skip-unbottled-arm to brew test-bot. 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.

None yet

4 participants