Commit Graph
28096 Commits
Author SHA1 Message Date
Nanda H Krishna 5ccfbcd1d2 Autocorrect style issues with brew style --fix 2021-07-08 12:36:39 +05:30
BrewTestBot 77d972c67c Update RBI files for rubocop. 2021-07-08 12:36:39 +05:30
BrewTestBot 4fc235bf09 brew vendor-gems: commit updates. 2021-07-08 12:36:37 +05:30
dependabot[bot] 0df5526bb8 build(deps): bump rubocop from 1.17.0 to 1.18.3 in /Library/Homebrew
Bumps [rubocop](https://github.com/rubocop/rubocop) from 1.17.0 to 1.18.3.
- [Release notes](https://github.com/rubocop/rubocop/releases)
- [Changelog](https://github.com/rubocop/rubocop/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop/rubocop/compare/v1.17.0...v1.18.3)

---
updated-dependencies:
- dependency-name: rubocop
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-08 12:34:49 +05:30
Nanda H Krishna 9814c8a569 Merge pull request #11670 from Homebrew/update-man-completions
Update maintainers, manpage and completions.
2021-07-08 12:33:38 +05:30
BrewTestBot ec074b0d58 Update maintainers, manpage and completions.
Autogenerated by the [update-man-completions](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/update-man-completions.yml) workflow.
2021-07-08 00:05:02 +00:00
Nanda H Krishna d5aa9f8c67 Merge pull request #11669 from Homebrew/dependabot/bundler/Library/Homebrew/rubocop-performance-1.11.4
build(deps): bump rubocop-performance from 1.11.3 to 1.11.4 in /Library/Homebrew
2021-07-08 00:12:07 +05:30
BrewTestBot a7da26a291 Update RBI files for rubocop-performance. 2021-07-07 18:08:02 +00:00
BrewTestBot 6ca30b1224 brew vendor-gems: commit updates. 2021-07-07 18:06:03 +00:00
dependabot[bot] 68da6bfba8 build(deps): bump rubocop-performance in /Library/Homebrew
Bumps [rubocop-performance](https://github.com/rubocop/rubocop-performance) from 1.11.3 to 1.11.4.
- [Release notes](https://github.com/rubocop/rubocop-performance/releases)
- [Changelog](https://github.com/rubocop/rubocop-performance/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop/rubocop-performance/compare/v1.11.3...v1.11.4)

---
updated-dependencies:
- dependency-name: rubocop-performance
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-07 18:03:44 +00:00
Carlo Cabrera 7c2a8f64ab Merge pull request #11659 from carlocab/time
formula: add a `time` method for use as the build time
2021-07-07 05:02:16 -07:00
Nanda H Krishna 3cbf7b7e9e Merge pull request #11663 from Homebrew/dependabot/bundler/Library/Homebrew/parlour-6.0.1
build(deps): bump parlour from 6.0.0 to 6.0.1 in /Library/Homebrew
2021-07-07 00:09:00 +05:30
BrewTestBot 2b5342f12d Update RBI files for parlour. 2021-07-06 18:09:06 +00:00
BrewTestBot b27696f169 brew vendor-gems: commit updates. 2021-07-06 18:06:25 +00:00
dependabot[bot] 6d54fa8c8d build(deps): bump parlour from 6.0.0 to 6.0.1 in /Library/Homebrew
Bumps [parlour](https://github.com/AaronC81/parlour) from 6.0.0 to 6.0.1.
- [Release notes](https://github.com/AaronC81/parlour/releases)
- [Changelog](https://github.com/AaronC81/parlour/blob/master/CHANGELOG.md)
- [Commits](https://github.com/AaronC81/parlour/compare/6.0.0...6.0.1)

---
updated-dependencies:
- dependency-name: parlour
  dependency-type: indirect
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-06 18:02:44 +00:00
Carlo Cabrera 10edae9b94 Merge pull request #11644 from carlocab/cpuid-check
formula_cellar_checks: check for `cpuid` instruction when needed
2021-07-06 06:29:27 -07:00
Nanda H Krishna f07c260341 Merge pull request #11660 from Homebrew/update-man-completions
Update maintainers, manpage and completions.
2021-07-06 18:38:25 +05:30
BrewTestBot 0c878d34f0 Update maintainers, manpage and completions.
Autogenerated by the [update-man-completions](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/update-man-completions.yml) workflow.
2021-07-06 12:37:34 +00:00
Dawid Dziurla c59ca0fc54 Merge pull request #11652 from dawidd6/linux-wheezy
dispatch-build-bottle: rename --wheezy to --linux-wheezy
2021-07-06 14:35:16 +02:00
Carlo Cabrera 3776ba9756 formula: add a time method for use as the build time
A number of formulae use a variant of `Time.now` to generate the build
time of the formula. Let's define a method to make sure that:

1. it uses `SOURCE_DATE_EPOCH` whenever available; and,
2. it uses `utc`.

Both should help with build reproducibility.

See Homebrew/homebrew-core#80608.
2021-07-06 12:26:03 +01:00
Carlo Cabrera c20826a872 Merge pull request #11647 from carlocab/python3.10
keg, cmd/--prefix: handle python3.10
2021-07-05 17:02:46 -07:00
Rylan Polster 1eba2255a2 Merge pull request #11655 from Homebrew/dependabot/bundler/Library/Homebrew/mime-types-data-3.2021.0704
build(deps): bump mime-types-data from 3.2021.0225 to 3.2021.0704 in /Library/Homebrew
2021-07-05 17:04:45 -04:00
Rylan Polster 12cac64c9d Merge pull request #11654 from Homebrew/dependabot/bundler/Library/Homebrew/addressable-2.8.0
build(deps): bump addressable from 2.7.0 to 2.8.0 in /Library/Homebrew
2021-07-05 17:03:41 -04:00
Rylan Polster cd6d779d91 Merge pull request #11656 from Homebrew/dependabot/bundler/docs/faraday-1.5.0
build(deps): bump faraday from 1.4.3 to 1.5.0 in /docs
2021-07-05 16:58:54 -04:00
Rylan Polster 2542f9fae9 Merge pull request #11653 from Homebrew/dependabot/bundler/docs/rubyzip-2.3.1
build(deps): bump rubyzip from 2.3.0 to 2.3.1 in /docs
2021-07-05 16:57:55 -04:00
BrewTestBot 30118918f6 Update RBI files for mime-types-data. 2021-07-05 18:08:58 +00:00
BrewTestBot cb1ef7062c Update RBI files for addressable. 2021-07-05 18:07:09 +00:00
BrewTestBot 3665e96954 brew vendor-gems: commit updates. 2021-07-05 18:05:55 +00:00
BrewTestBot 4355f50cfe brew vendor-gems: commit updates. 2021-07-05 18:05:02 +00:00
dependabot[bot] 65be8c4e73 build(deps): bump faraday from 1.4.3 to 1.5.0 in /docs
Bumps [faraday](https://github.com/lostisland/faraday) from 1.4.3 to 1.5.0.
- [Release notes](https://github.com/lostisland/faraday/releases)
- [Changelog](https://github.com/lostisland/faraday/blob/main/CHANGELOG.md)
- [Commits](https://github.com/lostisland/faraday/compare/v1.4.3...v1.5.0)

---
updated-dependencies:
- dependency-name: faraday
  dependency-type: indirect
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-05 18:03:27 +00:00
dependabot[bot] 738590f688 build(deps): bump mime-types-data in /Library/Homebrew
Bumps [mime-types-data](https://github.com/mime-types/mime-types-data) from 3.2021.0225 to 3.2021.0704.
- [Release notes](https://github.com/mime-types/mime-types-data/releases)
- [Changelog](https://github.com/mime-types/mime-types-data/blob/master/History.md)
- [Commits](https://github.com/mime-types/mime-types-data/compare/v3.2021.0225...v3.2021.0704)

---
updated-dependencies:
- dependency-name: mime-types-data
  dependency-type: indirect
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-05 18:02:57 +00:00
dependabot[bot] ce621a1956 build(deps): bump addressable from 2.7.0 to 2.8.0 in /Library/Homebrew
Bumps [addressable](https://github.com/sporkmonger/addressable) from 2.7.0 to 2.8.0.
- [Release notes](https://github.com/sporkmonger/addressable/releases)
- [Changelog](https://github.com/sporkmonger/addressable/blob/main/CHANGELOG.md)
- [Commits](https://github.com/sporkmonger/addressable/compare/addressable-2.7.0...addressable-2.8.0)

---
updated-dependencies:
- dependency-name: addressable
  dependency-type: indirect
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-05 18:02:39 +00:00
dependabot[bot] bbf75051f2 build(deps): bump rubyzip from 2.3.0 to 2.3.1 in /docs
Bumps [rubyzip](https://github.com/rubyzip/rubyzip) from 2.3.0 to 2.3.1.
- [Release notes](https://github.com/rubyzip/rubyzip/releases)
- [Changelog](https://github.com/rubyzip/rubyzip/blob/master/Changelog.md)
- [Commits](https://github.com/rubyzip/rubyzip/compare/v2.3.0...v2.3.1)

---
updated-dependencies:
- dependency-name: rubyzip
  dependency-type: indirect
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-05 18:02:31 +00:00
Carlo CabreraandRylan Polster 5ed4430daf Apply suggestions from code review
Co-authored-by: Rylan Polster <rslpolster@gmail.com>
2021-07-05 10:12:34 -07:00
Carlo Cabrera 63aa192088 Incorporate suggestions from feedback
1. Never install `binutils`. Instead, report an audit failure.
2. Tighten instruction check with a stricter matching strategy.
2021-07-05 17:47:20 +01:00
Dawid Dziurla c676aee842 dispatch-build-bottle: rename --wheezy to --linux-wheezy 2021-07-05 18:24:43 +02:00
Dawid Dziurla 35b15af400 Merge pull request #11650 from Homebrew/dawidd6-patch-1
components_order: allow ignore_missing_libraries in on_os
3.2.1
2021-07-05 06:52:06 +02:00
Dawid Dziurla d50bd605b8 components_order: allow ignore_missing_libraries in on_os 2021-07-04 18:34:03 +02:00
Michka Popoff d3c7eb31f9 Merge pull request #11649 from Homebrew/dawidd6-patch-1
keg_relocate: swap env var
2021-07-04 15:27:12 +02:00
Dawid Dziurla 8d5dc50b68 keg_relocate: swap env var 2021-07-04 15:02:39 +02:00
Carlo Cabrera c59a42b24e formula_cellar_checks: check for cpuid instruction when needed
This implements the second audit discussed in #11608.
2021-07-04 00:31:31 +01:00
Carlo Cabrera d88576a89b keg, cmd/--prefix: handle python3.10 2021-07-03 23:33:09 +01:00
Mike McQuaid 83aa3ff258 Merge pull request #11637 from carlocab/runtime-cpu-allowlist
rubocops/lines: check allowlist for use of `ENV.runtime_cpu_detection`
2021-07-02 13:53:30 +01:00
Nanda H Krishna e20ec394b9 Merge pull request #11638 from Homebrew/dependabot/bundler/Library/Homebrew/rubocop-rails-2.11.2 2021-07-02 01:50:50 +05:30
BrewTestBot 366a901fc9 Update RBI files for rubocop-rails. 2021-07-01 18:09:45 +00:00
BrewTestBot 1f98c60b81 brew vendor-gems: commit updates. 2021-07-01 18:06:57 +00:00
dependabot[bot] 8b12b6d04b build(deps): bump rubocop-rails in /Library/Homebrew
Bumps [rubocop-rails](https://github.com/rubocop/rubocop-rails) from 2.11.1 to 2.11.2.
- [Release notes](https://github.com/rubocop/rubocop-rails/releases)
- [Changelog](https://github.com/rubocop/rubocop-rails/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop/rubocop-rails/compare/v2.11.1...v2.11.2)

---
updated-dependencies:
- dependency-name: rubocop-rails
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-01 18:03:20 +00:00
Carlo Cabrera 92d224f0fc rubocops/lines: check allowlist for use of ENV.runtime_cpu_detection
This is implements the first audit discussed in #11608.
2021-07-01 18:38:54 +01:00
Carlo Cabrera 89aeaffd9f Merge pull request #11608 from carlocab/runtime-arch
superenv: handle formulae with runtime CPU detection
2021-07-01 10:16:42 -07:00
Carlo Cabrera 0404da7ba7 superenv: handle formulae with runtime CPU detection
Some formulae are able to detect the features of the runtime CPU, and
execute code accordingly. This typically entails 1) the detection of
features of the build-time CPU in order to determine the targets that
the compiler can generate code for, and 2) generating code for the
targets that the compiler can support.

Our filtering of optimization flags can cause misdetection of compiler
features, leading to failed builds [1], and miscompilation even when the
build does not fail [2].

Let's try to fix this by allowing formulae to declare
`ENV.runtime_cpu_detection` which skips the filtering of `-march` and
related flags.

I've also skipped the filtering of the optimisation
level, since it seems to me that if upstream maintainers have gone to
the lengths of writing code that detects runtime hardware, they probably
also know better about appropriate `-O` flags to use.

This is a partial list of formulae that should make use of this feature:
1. apache-arrow
2. fftw
3. gromacs
4. open-mpi
5. openblas

Partially resolves Homebrew/homebrew-core#76537.

[1] open-mpi/ompi#8306 and linked issues/PRs
[2] Homebrew/homebrew-core#76537
2021-07-01 16:24:38 +01:00