819 Commits

Author SHA1 Message Date
Bo Anderson
1be5ed836e
os/mac/xcode: support Xcode 13 2021-09-28 02:24:18 +01:00
Bo Anderson
ab455d1f38
os/mac/xquartz: fix handling of XQuartz 2.8.0+ 2021-09-23 14:24:16 +01:00
Bo Anderson
ffdd3644fd
os/linux: fix Version::NULL type mixup 2021-09-11 00:10:24 +01:00
Bo Anderson
d742ea94f7
os/mac/pkgconfig/12: update version info 2021-09-09 15:28:56 +01:00
Bo Anderson
49f789d492
os/mac/xcode: bump minimum CLT version to 12.5 2021-08-11 14:19:22 +01:00
Bo Anderson
dae1d89780
os/mac/sdk: use MacOSX11.sdk symlink 2021-08-11 14:19:22 +01:00
Carlo Cabrera
d696250ddb
Fix ELF architecture offset for x86_64
The current offset results in ELF binaries returning an `#arch` of
`:dunno`.

Also, skip the `check_binary_arches` audit on the generic OS.
2021-07-18 16:55:57 +08:00
Carlo Cabrera
488ccfdf70
formula_cellar_checks: check keg for mismatched arches
There have been a few instances I've noticed that we've been silently
installing binaries built for x86_64 on ARM. There's probably more that
I haven't found yet, so it seems useful to check this with an audit.
2021-07-18 11:44:37 +08:00
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
0950549629
os/mac: use perl 5.18 on Catalina 2021-05-11 01:48:54 +01:00
Bo Anderson
1e567161d1
ENV/shared: specify which Perl version we want to use 2021-05-10 05:50:02 +01:00
Bo Anderson
55f90f972d
os/mac/xcode: support Xcode 12.5 2021-05-09 18:34:09 +01:00
John Bampton
1691e615fe Fix spelling 2021-05-08 11:20:01 +10: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
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