Bo Anderson
344ab02f18
Merge pull request #10767 from Bo98/audit_deps-force_homebrew_on_linux
...
Allow deps auditing to run on Linux via HOMEBREW_SIMULATE_MACOS_ON_LINUX
2021-03-05 23:46:31 +00:00
Bo Anderson
abb2b26a93
Add HOMEBREW_SIMULATE_MACOS_ON_LINUX
2021-03-05 12:21:45 +00:00
Bo Anderson
7448a6be58
Revert "Revert "uses_from_macos: fix force_homebrew_on_linux behaviour.""
...
This reverts commit 9ad37ddc36c8438db97fdb3e4484d724e06eaffe.
2021-03-05 12:21:45 +00:00
Mike McQuaid
49642e4267
linux/keg_relocate: patchelf dependency is conditional.
...
This is only needed if we're not using `patchelf.rb`.
Partial fix for https://github.com/Homebrew/brew/issues/10784
2021-03-05 11:36:23 +00:00
Bo Anderson
65c03573c6
ENV: fix missing arg for generic OS and correct type sigs
2021-02-26 18:23:48 +00:00
Bo Anderson
fb8b247db3
dev-cmd/unbottled: various improvements
...
* Ignore bottles for older macOS versions
* Ignore disabled formulae
* Ignore formulae which can't build on the chosen macOS
* Improve/fix sort description
2021-02-23 16:27:58 +00:00
Mike McQuaid
c13d7e6723
Fix brew style
2021-02-16 09:25:34 +00:00
Bo Anderson
0f4ccd7625
Merge pull request #10552 from Bo98/sdk-checks
...
os/mac/diagnostic: check SDK version in SDKSettings matches the path
2021-02-11 12:53:05 +00:00
Bo Anderson
fe52b3a402
os/mac/diagnostic: check SDK version matches the path
2021-02-11 01:19:59 +00:00
Michka Popoff
0a292c7041
linux: use preferred_gcc instead of gcc
2021-02-09 21:48:48 +01:00
Michka Popoff
221983dbcf
compilers: prefer gcc 5 on linux
...
Fixes #10170 by preferring gcc@5 on linux
This makes sure ENV.cc and ENV.cxx is correctly set:
If a formula does not explicitely depend on a brewed gcc,
ENV.cc is set to gcc-5 (system gcc-5 or brewed gcc-5) with this change,
even if other gcc versions are installed on the system.
2021-02-08 13:26:50 +01:00
Bo Anderson
ec3e078bcb
os/mac/diagnostic: always require dev tools on Apple Silicon
2021-02-05 12:26:28 +00:00
Carlo Cabrera
5ce6537169
extend/os/mac/language/java: improve readability
2021-02-02 14:42:47 +00:00
Jonathan Chang
d6bba1c493
java: fix java_home on macOS
2021-02-02 18:49:29 +11:00
Mike McQuaid
d6957a3acb
Homebrew 3.0.0 deprecations/disables
2021-01-29 19:50:24 +00:00
EricFromCanada
99ad3350ee
use single quotes around stanza and parameter names
2021-01-26 16:19:47 -05:00
Rylan Polster
64816651d0
Only tap homebrew/cask on CaskUnavailableError in brew install
2021-01-20 12:22:31 -05:00
Rylan Polster
ebba369887
Tap: add untapped_official_taps method
2021-01-20 12:02:24 -05:00
Rylan Polster
3ca68c076e
Don't tap user-untapped official taps
2021-01-19 17:55:03 -05:00
Seeker
b9854bd4cf
rubocops: add unless_multiple_conditions
2021-01-08 10:33:54 -08:00
Mike McQuaid
8af4895479
Improve submitted analytics data
...
- Use default `custom-prefix` label on macOS ARM (as `/usr/local` is
not the default).
- Add architecture (or Rosetta) to analytics event label.
- Don't send minor versions on Big Sur.
- Remove defunct `HOMEBREW_OSX_VERSION` reference.
2021-01-07 09:28:40 +00:00
Mike McQuaid
e74be0f53a
Merge pull request #10129 from carlocab/big-sur-pkg-config
...
os/mac/pkgconfig: merge pc files for 11.1 and 11.0
2020-12-28 13:19:31 +00:00
Mike McQuaid
1a41f29343
os/mac/hardware: clarify Rosetta 2 situation with a comment.
...
Expand on #10153 to provide an in-code comment (in case someone goes to
change this in future).
2020-12-28 09:09:08 +00:00
Francois-Xavier Coudert
201d3d2ee7
Partial revert of #10092
2020-12-26 19:37:08 +01:00
Seeker
0aa4259654
formula: include versioned *.so.*
libs for shared_library("*")
2020-12-24 08:51:01 -08:00
carlocab
d7323f30d3
extend/os/mac/extend/ENV: fix pkg-config paths
2020-12-24 15:23:23 +00:00
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
Seeker
a2af19360b
extend: add on_os (for on_macos/on_linux)
2020-12-07 10:36:51 -08: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
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
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