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
Mike McQuaid
eec2d609bd
Merge pull request #11630 from samford/remove-nokogiri-from-gemfile
...
Remove nokogiri from Gemfile
2021-06-30 14:41:46 +01:00
Sam Ford
2342dcd90c
Add comment to Gemfile about disallowed gems
2021-06-30 09:11:47 -04:00
Sam Ford
bb463376e8
Remove nokogiri from Gemfile
2021-06-30 09:11:46 -04:00
Mike McQuaid
adf6766f08
Merge pull request #11615 from Homebrew/dependabot/bundler/docs/html-proofer-3.19.2
...
build(deps-dev): bump html-proofer from 3.19.1 to 3.19.2 in /docs
2021-06-30 13:21:43 +01:00
Mike McQuaid
18a418778d
Merge pull request #11613 from Homebrew/dependabot/bundler/docs/dnsruby-1.61.7
...
build(deps): bump dnsruby from 1.61.6 to 1.61.7 in /docs
2021-06-30 13:19:38 +01:00
Mike McQuaid
467c8b2326
Merge pull request #11614 from Homebrew/dependabot/bundler/docs/faraday-1.4.3
...
build(deps): bump faraday from 1.4.2 to 1.4.3 in /docs
2021-06-30 13:17:13 +01:00
Mike McQuaid
6516e19c05
Merge pull request #11616 from Homebrew/dependabot/bundler/docs/activesupport-6.0.4
...
build(deps): bump activesupport from 6.0.3.7 to 6.0.4 in /docs
2021-06-30 13:09:44 +01:00
Alexander Bayandin
8e7dfe29bd
Merge pull request #11620 from bayandin/bayandin-patch-1
...
Acceptable-Formulae: add a quote from Veracode report
2021-06-30 13:06:50 +01:00
dependabot[bot]
e0bcc1b0fd
build(deps): bump activesupport from 6.0.3.7 to 6.0.4 in /docs
...
Bumps [activesupport](https://github.com/rails/rails ) from 6.0.3.7 to 6.0.4.
- [Release notes](https://github.com/rails/rails/releases )
- [Changelog](https://github.com/rails/rails/blob/v6.1.4/activesupport/CHANGELOG.md )
- [Commits](https://github.com/rails/rails/compare/v6.0.3.7...v6.0.4 )
---
updated-dependencies:
- dependency-name: activesupport
dependency-type: indirect
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-06-30 11:51:34 +00:00
dependabot[bot]
be3af2682d
build(deps-dev): bump html-proofer from 3.19.1 to 3.19.2 in /docs
...
Bumps [html-proofer](https://github.com/gjtorikian/html-proofer ) from 3.19.1 to 3.19.2.
- [Release notes](https://github.com/gjtorikian/html-proofer/releases )
- [Commits](https://github.com/gjtorikian/html-proofer/compare/v3.19.1...v3.19.2 )
---
updated-dependencies:
- dependency-name: html-proofer
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-06-30 11:51:29 +00:00
dependabot[bot]
d1a1d246b8
build(deps): bump faraday from 1.4.2 to 1.4.3 in /docs
...
Bumps [faraday](https://github.com/lostisland/faraday ) from 1.4.2 to 1.4.3.
- [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.2...v1.4.3 )
---
updated-dependencies:
- dependency-name: faraday
dependency-type: indirect
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-06-30 11:51:29 +00:00
dependabot[bot]
a1f2f6c7cd
build(deps): bump dnsruby from 1.61.6 to 1.61.7 in /docs
...
Bumps [dnsruby](https://github.com/alexdalitz/dnsruby ) from 1.61.6 to 1.61.7.
- [Release notes](https://github.com/alexdalitz/dnsruby/releases )
- [Changelog](https://github.com/alexdalitz/dnsruby/blob/master/RELEASE_NOTES.md )
- [Commits](https://github.com/alexdalitz/dnsruby/compare/v1.61.6...v1.61.7 )
---
updated-dependencies:
- dependency-name: dnsruby
dependency-type: indirect
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-06-30 11:51:27 +00:00
Nanda H Krishna
45b2b549ff
Merge pull request #11631 from Homebrew/update-man-completions
...
Update maintainers, manpage and completions.
2021-06-30 14:38:03 +05:30
BrewTestBot
d7022f1f11
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-06-30 08:43:23 +00:00
Mike McQuaid
0cd08fefd0
Merge pull request #11624 from Homebrew/tweak_buildpulse
...
Fix BuildPulse handling
2021-06-30 09:40:46 +01:00
Mike McQuaid
d490e2a9a7
Fix BuildPulse handling
...
- be more verbose with output to be clear when we're using/submitting to
BuildPulse
- remove the duplicate BuildPulse submission step
2021-06-30 09:20:56 +01:00
Mike McQuaid
1680ddb267
utils/repology: temporarily disable functionality.
...
Doesn't work with system `curl` currently.
2021-06-30 09:20:56 +01:00
Sam Ford
b3d95b89e4
Merge pull request #11610 from samford/replace-nokogiri-with-rexml-part-two
...
Replace Nokogiri with REXML
2021-06-29 20:51:48 -04:00
Mike McQuaid
5a5db3ab96
Merge pull request #11239 from MikeMcQuaid/audit_core_bottle_disabled_unneeded
...
formula_auditor: don't allow `bottle :unneeded` in core.
2021-06-29 13:23:17 +01:00
Mike McQuaid
1e8f6d79ff
Merge pull request #11598 from Homebrew/buildpulse-retry
...
Tweak BuildPulse/`rspec-retry` logic
2021-06-29 13:14:53 +01:00
Alexander Bayandin
7513c9f3b1
Acceptable-Formulae: quote from Veracode report
2021-06-29 12:54:32 +01:00
Mike McQuaid
a4c2e0e1b3
Tweak BuildPulse/rspec-retry logic
...
BuildPulse is trying to find flaky tests for us but, given the previous
model of using `rspec-retry`, it would rarely find them. Instead, let's
try to always rerun `brew tests` multiple times, report to BuildPulse
each time (by moving the reporting logic into `brew tests`) and disable
`rspec-retry` when using BuildPulse.
While we're here, let's enable `rspec-retry` locally so we don't have
flaky tests biting maintainers/contributors there.
2021-06-29 12:43:47 +01:00
Mike McQuaid
0eb9b62c2d
formula_auditor: don't allow bottle :unneeded in core.
...
Now we have `all:` bottles and Bintray is going away for `mirror`s:
let's bottle everything in Homebrew/homebrew-core.
2021-06-29 12:42:30 +01:00
Carlo Cabrera
04532cb621
Merge pull request #11611 from carlocab/venv-system-site-packages
...
language/python: create venvs with access to system site packages
2021-06-28 19:37:11 -07:00
Sam Ford
3ffa2e68c0
Merge pull request #11557 from cho-m/sparkle-check-min-version
...
livecheck/strategy/sparkle: check minimumSystemVersion for compatibility
2021-06-28 17:30:35 -04:00
Sam Ford
87564b6ccb
Sparkle: Use OS::Mac::Version#prerelease?
2021-06-28 16:54:53 -04:00
Sam Ford
4433f4a985
Sparkle: Update minimumSystemVersion condition
2021-06-28 15:48:35 -04:00
Michael Cho
823dc28c21
livecheck/strategy/sparkle: check minimumSystemVersion for compatibility
2021-06-28 15:39:19 -04:00
Sam Ford
d305f7218f
Merge pull request #11599 from samford/replace-nokogiri-with-rexml
...
Sparkle: Replace Nokogiri with REXML
2021-06-28 12:18:17 -04:00
Mike McQuaid
8f765c2c02
Merge pull request #11602 from Homebrew/dependabot/bundler/Library/Homebrew/rubocop-rails-2.11.1
...
build(deps): bump rubocop-rails from 2.11.0 to 2.11.1 in /Library/Homebrew
2021-06-28 16:41:02 +01:00
Mike McQuaid
51cfd73622
Merge pull request #11601 from Homebrew/dependabot/bundler/Library/Homebrew/activesupport-6.1.4
...
build(deps): bump activesupport from 6.1.3.2 to 6.1.4 in /Library/Homebrew
2021-06-28 13:59:08 +01:00
BrewTestBot
cede4a4bd3
Update RBI files for activesupport.
2021-06-28 12:09:30 +00:00
BrewTestBot
6fec624136
brew vendor-gems: commit updates.
2021-06-28 12:07:29 +00:00
Mike McQuaid
9583ecbfc0
Merge pull request #11609 from n-thumann/fix_duplicate_search_result
...
Fix duplicate formulae in search results
2021-06-28 13:04:18 +01:00
Mike McQuaid
6d88b38670
Merge pull request #11612 from Homebrew/dawidd6-patch-1
...
brew: pass GITHUB_ACTIONS_HOMEBREW_MACOS_SELF_HOSTED
2021-06-28 13:03:23 +01:00
BrewTestBot
a9059239f8
Update RBI files for rubocop-rails.
2021-06-28 12:00:25 +00:00
BrewTestBot
0ffaa51e5a
brew vendor-gems: commit updates.
2021-06-28 11:58:32 +00:00
Mike McQuaid
7c663b3684
Merge pull request #11588 from cho-m/cask-docs-fix-urls
...
docs: fix cask doc urls to use docs.brew.sh
2021-06-28 12:55:18 +01:00
dependabot[bot]
b2e2c3972c
build(deps): bump activesupport in /Library/Homebrew
...
Bumps [activesupport](https://github.com/rails/rails ) from 6.1.3.2 to 6.1.4.
- [Release notes](https://github.com/rails/rails/releases )
- [Changelog](https://github.com/rails/rails/blob/v6.1.4/activesupport/CHANGELOG.md )
- [Commits](https://github.com/rails/rails/compare/v6.1.3.2...v6.1.4 )
---
updated-dependencies:
- dependency-name: activesupport
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-06-28 11:53:55 +00:00
dependabot[bot]
51ae9bf148
build(deps): bump rubocop-rails in /Library/Homebrew
...
Bumps [rubocop-rails](https://github.com/rubocop/rubocop-rails ) from 2.11.0 to 2.11.1.
- [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.0...v2.11.1 )
---
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-06-28 11:53:45 +00:00
Dawid Dziurla
ce436791c9
brew: pass GITHUB_ACTIONS_HOMEBREW_MACOS_SELF_HOSTED
2021-06-28 10:50:08 +02:00
Carlo Cabrera
3d3b9874f9
language/python: create venvs with access to system site packages
...
A user may wish to use two use two brew-installed Python packages
together. For example, one might want to `import numpy` when using
`jupyterlab` or `ptpython`.
Currently, the only ways to do this I'm aware of is with some hacking of
`PYTHONPATH` or the creation of `.pth` files in a formula's prefix.
A better solution is to allow the virtualenvs that `brew` creates to
have access to system site-packages by default, so that `import numpy`
inside `ptpython` or `jupyterlab` just works.
Partially resolves Homebrew/homebrew-core#76950 .
2021-06-28 03:20:03 +01:00
Sam Ford
7835bcd10b
UnversionedCaskChecker: Replace Nokogiri with REXML
2021-06-27 18:29:57 -04:00
Sam Ford
282c71d275
BundleVersion: Replace Nokogiri with REXML
2021-06-27 18:29:56 -04:00
nthumann
da347ca1aa
Fix duplicate formulae in search results
2021-06-28 00:22:55 +02:00
Dawid Dziurla
aa14e48f4e
Merge pull request #11605 from dawidd6/simulate-force-linux-prefix
...
default_prefix: set macOS default prefix on Linux if simulating it
2021-06-27 17:42:45 +02:00
Dawid Dziurla
02a4670ed1
default_prefix: set macOS default prefix on Linux if simulating it
2021-06-26 15:45:51 +02:00
Sam Ford
2c4a7ae2cb
Sparkle: Replace Nokogiri with REXML
2021-06-25 17:45:25 -04:00
Nanda H Krishna
196ec61a3a
Merge pull request #11604 from Homebrew/update-man-completions
...
Update maintainers, manpage and completions.
2021-06-26 02:04:01 +05:30