Bo Anderson
20d86c0185
Refactor some tag handling into a Utils::Bottles::Tag class
2021-04-08 17:23:57 +01:00
Shaun Jackman
70292829f3
Cache glibc.system_version
2021-04-02 10:58:01 -07:00
Shaun Jackman
393027597b
Cache glibc.version
...
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
2021-04-02 10:53:47 -07:00
Shaun Jackman
95e7e010ee
Add OS::Linux::Glibc.version
2021-04-01 22:16:33 -07:00
Bo Anderson
8288626fe9
Merge pull request #10941 from Bo98/clang-vers-update
...
os/mac/xcode: update Clang version parsing for CLT 12.5
2021-03-29 12:43:40 +01:00
Bo Anderson
450bc4ab33
Fix brew style
2021-03-26 14:11:03 +00:00
Bo Anderson
0b39690e5c
os/mac/xcode: update Clang version parsing for CLT 12.5
2021-03-26 10:29:27 +00:00
Bo Anderson
20ff68a425
Fix brew style
.
2021-03-17 20:45:44 +00:00
Bo Anderson
7a40f1bf0a
os/mac: fix version error for prerelease macOS
2021-02-26 19:41:04 +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
Bo Anderson
323ff660fa
rubocop: use consistent array/hash indentation
2021-02-11 13:27:42 +00:00
Bo Anderson
0d36d54ede
Merge pull request #10590 from Bo98/codesign-stderr
...
os/mac/keg: print stderr on codesign failure
2021-02-11 13:10:48 +00:00
Bo Anderson
5202f712c0
os/mac/keg: print stderr on codesign failure
2021-02-11 12:38:40 +00:00
Bo Anderson
fe52b3a402
os/mac/diagnostic: check SDK version matches the path
2021-02-11 01:19:59 +00:00
Bo Anderson
8c81a2822c
os/mac/sdk: read version from SDKSettings
2021-02-10 12:22:47 +00:00
Bo Anderson
61cda1465f
os/mac/version: add strip_patch method
2021-02-09 18:35:22 +00:00
Jonathan Chang
f516eded8f
Merge pull request #10458 from jonchang/xcode-12.4
...
xcode: update for Xcode 12.4
2021-02-05 16:49:08 +11:00
Bo Anderson
b670ab1c7b
Deprecate additional arch functions
2021-02-02 16:19:24 +00:00
Mike McQuaid
e65e310fd0
Fix brew style
2021-01-29 20:56:59 +00:00
Jonathan Chang
a9ab1699d1
xcode: update for Xcode 12.4
2021-01-29 17:08:29 +11:00
EricFromCanada
6fc116318e
fixes for grammar and wording
2021-01-26 16:19:47 -05:00
EricFromCanada
2ed324ebc0
use backticks around suggested input, flags, and binaries
2021-01-26 16:19:47 -05:00
Seeker
779f2fc6ef
os/mac/version: update method signatures
2021-01-22 09:58:01 -08:00
Seeker
152eac333b
Merge pull request #10358 from SeekingMeaning/mac-version-named-captures
...
os/mac/version: use named captures in regex
2021-01-19 10:51:52 -08:00
Seeker
32ebc02f2f
version: enable Sorbet type checking
2021-01-19 09:28:37 -08:00
Seeker
266aba486e
os/mac/version: use named captures in regex
2021-01-18 10:26:37 -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
carlocab
23a6069e99
os/mac: remove sdk_version
2020-12-29 10:50:10 +00:00
carlocab
a51b105b1d
os/mac/sdk: refactor out sdk_version
2020-12-29 10:50:09 +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
carlocab
51eb4f28fa
os/mac: bump latest_sdk_version
2020-12-25 11:19:03 +00:00
Maxim Belkin
45d67ef13e
brew.sh: define minimum required Glibc version
2020-12-24 09:10:53 -06:00
carlocab
5835cce360
os/mac/pkgconfig: merge pc files for 11.1 and 11.0
...
Closes https://github.com/Homebrew/brew/issues/10126 .
2020-12-24 14:45:08 +00:00
carlocab
c77c942291
os/mac/sdk: parse version from SDKSettings.json
...
This implements feedback from https://github.com/Homebrew/brew/pull/10072 .
2020-12-23 15:17:45 +00:00
Mike McQuaid
b4303c23c3
Merge pull request #10072 from carlocab/big-sur-sdk-path
...
sdk: use unversioned SDK path on Big Sur
2020-12-22 08:10:23 +00:00
Rylan Polster
af6be13e7c
test: don't try to use Xcode SDK for build requirement
2020-12-21 09:25:29 -05:00
carlocab
3f0ed01a2a
sdk: use unversioned SDK path on Big Sur
...
Fixes https://github.com/Homebrew/homebrew-core/issues/67075 .
This implements @fxcoudert's suggestion in the issue linked above.
2020-12-21 11:45:45 +00:00
FX Coudert
46e4f58a47
xcode: 12.3 is the latest version
2020-12-16 15:23:46 +00:00
Shaun Jackman
81716100ae
Enable HOMEBREW_PATCHELF_RB_WRITE by default
...
It may be disabled using HOMEBREW_NO_PATCHELF_RB_WRITE.
It is currently disabled in brew test-bot when building bottles.
2020-12-11 18:08:10 -08:00
Mike McQuaid
2c77a540b5
Merge pull request #9481 from MikeMcQuaid/bottle_prefix_repository_handling
...
Fix bottle prefix and repository handling
2020-12-09 14:45:47 +00:00
Mike McQuaid
0f9bad0052
Fix bottle prefix and repository handling
...
We were previously only looking at the `cellar` value when pouring
bottles and ignoring the `prefix` and (implicit) `repository`.
Actually look at these values and set the defaults for each platform.
Also, when we're relocating to create or pour bottles when `prefix`
and `repository` are equal then skip relocating the `repository` and
always use references to the `prefix` instead.
Fixes #9453
2020-12-09 13:53:10 +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
Mike McQuaid
123761054e
Merge pull request #9468 from thalamus/master
...
os/mac/pkgconfig: add pc files for Big Sur 11.1
2020-12-09 11:10:37 +00:00
Mike McQuaid
566ebf2a98
Revert "Revert "Fix :arm64_big_sur
bottle ordering.""
...
This reverts commit 399cc56d034a3314f428683b7872b4d67063be9a.
2020-12-08 16:28:45 +00:00
Francois-Xavier Coudert
399cc56d03
Revert "Fix :arm64_big_sur
bottle ordering."
...
This reverts commit 66d1b929a5b134ee93caf9237e7074a195c1b523.
2020-12-08 13:00:22 +01:00
Will Tisdale
3f10815f4f
os/mac/pkgconfig: add pc files for Big Sur 11.1
2020-12-08 09:26:26 +00:00
Mike McQuaid
66d1b929a5
Fix :arm64_big_sur
bottle ordering.
...
This wasn't being parsed correctly so was being put below the Linux
bottle which is less readable, less intuitive and will cause a bunch
of merge conflicts.
2020-12-07 12:09:29 +00:00
Mike McQuaid
68889b972c
Merge pull request #9353 from maxim-belkin/config-no-codename
...
os/linux.rb: don't show codename when it's n/a
2020-12-02 12:49:53 +00:00
Mike McQuaid
6225ecff78
os/linux: check for blank codename.
2020-12-02 11:54:59 +00:00