Francois-Xavier Coudert
b02acb37c0
Remove warning on ARM
2020-12-24 14:15:03 +01:00
Jonathan Chang
095798be40
hardware: optimize Big Sur bottles for Ivy Bridge
2020-12-23 00:00:01 +11:00
Rylan Polster
af6be13e7c
test: don't try to use Xcode SDK for build requirement
2020-12-21 09:25:29 -05:00
Mike McQuaid
74fb058c7e
More deprecations
...
More deprecations, disabling and removal for Homebrew 2.7.0.
2020-12-18 14:17:37 +00:00
Mike McQuaid
010ae37420
Merge pull request #9403 from MikeMcQuaid/deprecate-cask-requirements
...
Deprecate cask requirements.
2020-12-18 12:15:35 +00:00
Nick Morgan
77e063d4a6
Fixing xcode-select --switch command line option
2020-12-16 21:33:20 -05:00
Mike McQuaid
87dd13aea6
Deprecate cask requirements.
...
This probably has to wait until 2.7.0 now and will require a bunch of
formula changes/deprecations but we should probably start moving in this
direction given we're not installing any of these on our CI any more.
2020-12-15 14:19:45 +00:00
Mike McQuaid
8bf6ec5739
Merge pull request #9464 from MikeMcQuaid/arch_version_handling
...
MacOS::Version architecture handling
2020-12-09 12:45:16 +00:00
Mike McQuaid
6467fbadee
MacOS::Version: add (and use) architecture.
2020-12-09 11:55:27 +00:00
Maxim Belkin
ddfd499c20
Merge pull request #9465 from MikeMcQuaid/ruby-version
...
Fix macOS Ruby version handling
2020-12-08 14:42:12 -06:00
Mike McQuaid
9b4a7856ac
Revert "RbConfig: fix broken MacOS SDK paths"
...
This reverts commit 11445e0f3edf29ee64081c5a05b5257d9b5ccdd9.
2020-12-08 17:14:00 +00:00
Seeker
a0c0c4ea2a
Merge pull request #9439 from SeekingMeaning/os-specifiable
...
extend: add on_os (for on_macos/on_linux)
2020-12-08 08:38:03 -08:00
Jonathan Chang
1b6fb8f460
ENV/shared: widen type
2020-12-08 20:54:10 +11:00
Seeker
a2af19360b
extend: add on_os (for on_macos/on_linux)
2020-12-07 10:36:51 -08:00
Misty De Meo
11445e0f3e
RbConfig: fix broken MacOS SDK paths
2020-12-07 10:33:56 -08:00
Jonathan Chang
8b206dfa33
git_extensions: move commit_message from utils/git
2020-12-06 14:33:23 +11:00
Jonathan Chang
92d3eda914
git_extensions: move origin_branch from utils/git
2020-12-06 14:33:23 +11:00
Jonathan Chang
75be0ca4d0
git_repository: add type signatures and comments
2020-12-06 14:33:23 +11:00
Markus Reiter
9649ef975c
Only install default cask tap automatically on macOS.
2020-12-05 03:39:01 +01:00
Claudia
564e21c382
Update CPU families from current machine.h
2020-12-04 16:21:02 +01:00
Claudia
2a197af076
Add CPU family for Apple’s M1 SoC
...
According to reports, XNU’s CPU family identifier previously used for
the Westmere family (which Homebrew mislabels as the Arrandale family)
is now being reused for one of Apple’s M1 SoC models.
Resolve the conflict by splitting the list of CPU families and adding a
microarchitecture check.
Sources for the values:
- https://github.com/Homebrew/brew/issues/7857#issuecomment-728739049
- https://en.wikipedia.org/wiki/Comparison_of_ARMv8-A_cores
- Direct messages
2020-12-04 16:20:53 +01:00
Mike McQuaid
9216d8abe6
rubocop-rails: make fixes.
2020-12-02 10:43:04 +00:00
Mike McQuaid
1d5e354cc2
Merge pull request #9347 from maxim-belkin/amd_cpus
...
Identify AMD CPUs on Linux
2020-12-01 12:47:26 +00:00
Mike McQuaid
2f0babe86f
Merge pull request #9325 from maxim-belkin/cpu-flags
...
cpu.rb: drop field name and a colon from flags
2020-12-01 12:44:56 +00:00
Maxim Belkin
6eb49907f0
cpu.rb: apply Mike's suggestions
...
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
2020-11-30 16:18:19 -06:00
Maxim Belkin
97c9a952d3
Recognize AMD CPUs on Linux
2020-11-30 16:18:19 -06:00
Maxim Belkin
8738ad324e
cpu.rb: clean up the list of CPU instructions
...
Co-authored-by: Shaun Jackman <sjackman@gmail.com>
Co-authored-by: Markus Reiter <me@reitermark.us>
2020-11-30 16:17:00 -06:00
Markus Reiter
7d9758a05e
Fix RuboCop offenses.
2020-11-30 22:50:15 +01:00
Markus Reiter
6e20d27582
Remove some unneeded require
s.
2020-11-30 00:49:14 +01:00
Markus Reiter
580d915cb4
Add type signatures for Pathname
extensions.
2020-11-29 21:23:55 +01:00
Markus Reiter
5be4c9b5e0
Upgrade typed
sigils.
2020-11-25 17:04:19 +01:00
Mike McQuaid
9bd312bab2
Merge pull request #9267 from reitermarkus/macos-version-11.1
...
Handle macOS versions >= 11.1 correctly.
2020-11-25 14:36:01 +00:00
Mike McQuaid
f364f0c841
Merge remote-tracking branch 'origin/master' into deprecate-cask-commands
2020-11-25 09:39:00 +00:00
Mike McQuaid
d496f5c121
Deprecations for Homebrew 2.6.0
...
Do the usual deprecate/disable dance for the Homebrew 2.6.0 release.
Not to be merged until the next release will definitely be 2.6.0.
2020-11-24 16:44:02 +00:00
Markus Reiter
469bd59392
Merge pull request #9253 from reitermarkus/env-types
...
Add types for `ENV` extensions.
2020-11-24 09:16:26 +01:00
Markus Reiter
8598b1186a
Handle macOS versions >= 11.1 correctly.
2020-11-23 13:46:15 +01:00
Markus Reiter
0424940496
Add types for ENV
extensions.
2020-11-23 02:06:37 +01:00
Felix Bünemann
f16163c144
Better check for Rosetta 2
...
This uses the syctl.proc_translated sysctl, which is the Apple
documented way to check for Rosetta 2 environment.
2020-11-22 00:43:03 +01:00
Markus Reiter
3c2ec1c60f
Deprecate remaining cask commands.
2020-11-21 19:56:12 +01:00
Mike McQuaid
3c4d12a5d5
extend/os/mac/diagnostic: add more Xcode/CLT update instructions.
...
Addresses issue mentioned in #9215 .
2020-11-20 13:30:00 +00:00
Jonathan Chang
5a97c08ab3
java: only disable java version ranges on Big Sur
2020-11-20 13:57:11 +11:00
Mike McQuaid
35db40fe25
Disable Java requirement versions on Big Sur
...
It would be possible to work around this but I'm not convinced it's
worth it given https://github.com/Homebrew/homebrew-core/issues/63290
Fixes #9194
2020-11-19 14:03:57 +00:00
Mike McQuaid
74264b8582
Big Sur cleanup
...
Remove `HOMEBREW_BIG_SUR_TESTING` variable as it is no longer needed.
2020-11-18 10:15:53 +00:00
Markus Reiter
f87c9c5dc4
Fix tests failing locally.
2020-11-18 05:54:42 +01:00
Markus Reiter
0184e271d8
Fix RuboCop offenses.
2020-11-17 11:09:55 +01:00
Rylan Polster
dda0dc72a7
format note comments
2020-11-16 02:02:52 +01:00
Markus Reiter
da9289eff0
Add more type signatures.
2020-11-13 12:26:36 +01:00
Mike McQuaid
5afff3f3aa
Handle macOS Homebrew on ARM
...
- Output `brew doctor` and `brew install` messages noting this configuration is (currently) unsupported and encourage use of Rosetta instead
- Output Rosetta 2 usage in `brew config` on ARM (whether in Rosetta 2 or not)
- Check the architecture of (newly installed) dependencies and ensure they are using the correct architecture.
- Don't allow installing macOS Intel Homebrew in macOS ARM Homebrew default prefix (and vice versa
- Actually write out the architecture of dependencies to the tab rather than generating and throwing them away
- Set and document the expected default prefix for macOS Intel Homebrew, macOS ARM Homebrew (`/opt/homebrew`) and Homebrew on Linux
While we're here:
- Don't say Big Sur is a prerelease version but still make it clear we
don't support it (yet).
- Don't reference non-existent IRC channel
2020-11-12 17:06:47 +00:00
Jonathan Chang
cc3345577f
unpack_strategy/zip: widen type of super call
2020-11-11 00:13:28 +11:00
Jonathan Chang
215a84e328
rubocop: fix Style/DocumentDynamicEvalDefinition
2020-11-10 23:28:31 +11:00