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

audit_exceptions: add universal_binary_allowlist #81591

Merged
merged 1 commit into from
Jul 21, 2021

Conversation

carlocab
Copy link
Member

  • 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>?

The LLVM formulae build universal binaries for compiler-rt. This is why
these formulae use ENV.permit_arch_flags. Infer vendors its own clang,
and so also has its own compiler-rt.

babel and contentful-cli both install the npm package fsevents,
which installs a universal native module fsevents.node. I suggest
adding them to the allowlist for now so we have a list that keeps track
of them. (It would be nice if JSON files allowed comments though.)

I have changes in mind for brew that will allow us to easily extract
the native slices from these binaries, but I'd like to see it needed by
more formulae before we add it to brew. This list should help us keep
track of the number of formulae that would need this.

This commit unblocks #81556 and #81582.

See Homebrew/brew#11737 for context.

The LLVM formulae build universal binaries for compiler-rt. This is why
these formulae use `ENV.permit_arch_flags`. Infer vendors its own clang,
and so also has its own compiler-rt.

`babel` and `contentful-cli` both install the npm package `fsevents`,
which installs a universal native module `fsevents.node`. I suggest
adding them to the allowlist for now so we have a list that keeps track
of them. (It would be nice if JSON files allowed comments though.)

I have changes in mind for `brew` that will allow us to easily extract
the native slices from these binaries, but I'd like to see it needed by
more formulae before we add it to `brew`. This list should help us keep
track of the number of formulae that would need this.

This commit unblocks Homebrew#81556 and Homebrew#81582.

See Homebrew/brew#11737 for context.
@carlocab carlocab added the CI-syntax-only Change only affects brew syntax, not the install. Only run syntax CI. label Jul 21, 2021
@BrewTestBot BrewTestBot added the automerge-skip `brew pr-automerge` will skip this pull request label Jul 21, 2021
This was referenced Jul 21, 2021
@carlocab carlocab requested a review from a team July 21, 2021 05:02
Copy link
Member

@MikeMcQuaid MikeMcQuaid left a comment

Choose a reason for hiding this comment

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

Makes sense, nice work here!

@carlocab carlocab merged commit 269ad96 into Homebrew:master Jul 21, 2021
@carlocab carlocab deleted the universal-binary-allowlist branch July 21, 2021 10:46
@github-actions github-actions bot added the outdated PR was locked due to age label Aug 20, 2021
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 20, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
automerge-skip `brew pr-automerge` will skip this pull request CI-syntax-only Change only affects brew syntax, not the install. Only run syntax CI. outdated PR was locked due to age
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants