513 Commits

Author SHA1 Message Date
Sam Ford
0752d25125
OS::Mac: Move version methods into ::Version 2021-06-23 09:03:46 -04:00
Mike McQuaid
30a65342e8
Deprecate, disable, delete code for Homebrew 3.2.0
Do the usual deprecation, disable, delete dance for Homebrew 3.2.0.
2021-06-17 11:34:32 +01:00
Francois-Xavier Coudert
8eb03a951f Updates for Monterey Xcode & CLT 2021-06-09 16:21:46 +02:00
shaunsingh
3a746723c3
Add missing comma 2021-06-07 20:04:48 -04:00
shaunsingh
d7d9a256a1
Add macOS 12 2021-06-07 20:00:18 -04:00
Lorenzo Gatti
c564019a91 debug info now includes CLT version 2021-05-18 16:19:31 +02:00
Lorenzo Gatti
5a24b6aff3 minor changes to the wording 2021-05-17 17:28:58 +02:00
Lorenzo Gatti
b7556350db Better instructions for updating Command Line Tools
Added link to Apple's page with minimum requirements
2021-05-17 17:11:00 +02:00
Carlo Cabrera
28c0caae4d
extend/os/mac/keg_relocate: remove RPATHs rooted in build directory
Keeping dangling `RPATH`s is a security risk, and is bad for build
reproducibility.
2021-05-14 01:07:14 +01:00
Bo Anderson
55f90f972d
os/mac/xcode: support Xcode 12.5 2021-05-09 18:34:09 +01:00
Carlo Cabrera
4d5971518d
os/mac/keg: add change_rpath method 2021-05-05 21:37:02 +01:00
Bo Anderson
20d86c0185
Refactor some tag handling into a Utils::Bottles::Tag class 2021-04-08 17:23:57 +01: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
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
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
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
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
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
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
a70d891122
os/mac/sdk: refactor for readability. 2020-11-30 16:00:31 +00:00
Misty De Meo
fec6fc4b4f
SDK: allow SDK mismatches if major version matches 2020-11-30 16:00:31 +00:00
Mike McQuaid
016893c132
os/mac/sdk: use OS::Mac.sdk_version.
This should allow the correct SDK to be found.

Fixes https://github.com/Homebrew/brew/issues/9324
2020-11-27 20:18:56 +00:00