242 Commits

Author SHA1 Message Date
Jonathan Chang
c4eaa387ff mac/xcode: version bumps for Xcode 12.1 and 11.3.1 2020-10-27 21:37:04 +11:00
Markus Reiter
24ae318a3d Move type annotations into files. 2020-10-10 14:59:39 +02:00
Jonathan Chang
7c326b55f4 os/mac: updates for Xcode 12 2020-10-03 23:53:32 +10:00
Markus Reiter
07365b9ad0 Document CLT. 2020-08-26 03:13:59 +02:00
Markus Reiter
aac0151132 Document Xcode. 2020-08-26 03:13:59 +02:00
Mike McQuaid
6d9e2d444d
Big Sur fixes
- Make missing SDKs message more clear.
- Always refer to Big Sur as 11.0 (even on Intel).
2020-07-28 16:56:55 +01:00
Bo Anderson
9297b18aa6 Add SDK availability diagnostic 2020-07-01 16:07:14 +01:00
Mike McQuaid
8a580ae39e
os/mac/xcode: add Big Sur clang versions.
https://github.com/Homebrew/brew/pull/7806#issuecomment-648154860
2020-06-23 15:54:46 +01:00
Mike McQuaid
11c875d747
macOS Big Sur tweaks
- output warnings when running on ARM
- require Xcode 12
- use 11.0 as the version number
2020-06-23 14:11:05 +01:00
Bo Anderson
8c21e8b2db
Merge pull request #7705 from Bo98/xcode-11.5
os/mac/xcode: support Xcode 11.5
2020-06-20 02:25:00 +01:00
Mike McQuaid
b58fa4ebb1
Drop Mavericks support.
Companion to https://github.com/Homebrew/brew/pull/7698.

Provide better, `odeprecated` messaging for
`depends_on :macos => :mavericks` and otherwise just fix up the code
that relied on `:mavericks`.
2020-06-10 10:06:46 +01:00
Bo Anderson
eb3eb209d9 os/mac/xcode: support Xcode 11.5 2020-06-07 20:35:55 +01:00
Bo Anderson
7aff6f9bb3 os/mac/xcode: support Xcode 11.4.1 2020-04-16 11:22:40 +01:00
Mike McQuaid
c3dc8862c1
os/mac/xcode: better document upgrade.
Explain when these various versions should (and should not) be bumped
and provide a method to avoid people having to schlep through the Apple
Developer site unless they really want to.

Also, while we're here, DRY things up and reorder to "newest first".
2020-04-09 14:27:39 +01:00
Bo Anderson
94d6f361a4 os/mac/xcode: support Xcode 11.4 2020-03-26 22:03:54 +00:00
Bo Anderson
26f185b76f os/mac/xcode: only use SDK for system headers on >= Mojave 2020-03-08 20:32:35 +00:00
Mike McQuaid
ebc764e878
os/mac/xcode: clarify latest_version comes from clang. 2019-12-11 13:50:21 +00:00
Mike McQuaid
2d5f6dd79f
os/mac/xcode: improve CLT clang version detection. 2019-12-11 13:49:56 +00:00
Mike McQuaid
8d3e7cf028
os/mac: remove CLT header package stuff.
We never care about it and it's not relevant anywhere except 10.14.
2019-12-11 13:49:13 +00:00
Mike McQuaid
dda80c6938
os/mac/xcode: bump Xcode/CLT versions. 2019-12-11 13:48:32 +00:00
EricFromCanada
b817796562 Grammar fixes for status messages 2019-12-02 11:38:06 -05:00
Mike McQuaid
ea44760f8c
os/mac/xcode: add additional CLT download link.
Sadly Apple don't seem to be providing these reliably.

Fixes #6796
2019-12-02 13:25:43 +00:00
Alexander Bayandin
43687b46c3 Bump Xcode to 11.2.1 2019-11-13 17:13:45 +00:00
Mike McQuaid
aae9d39939
os/mac/xcode: fallback to clang version for detecting CLT.
For some reason `pkgutil --pkgs` no longer lists the CLT after the
Catalina supplemental update.

Fixes https://github.com/Homebrew/brew/issues/6610
2019-10-16 16:26:57 +01:00
Mike McQuaid
972b0aa17f
os/mac/xcode: bump Catalina Xcode versions. 2019-10-08 09:31:07 +01:00
Chongyu Zhu
2a5aee0a0b
xcode: add initial support for Xcode 11.0 2019-06-04 16:11:18 -07:00
Mike McQuaid
01a3425502
Require Xcode 10.2 on macOS 10.14
Xcode >=10.2 is required to build all Swift formulae on macOS >=10.14.4.

Rather than requiring per-formula workarounds
(e.g. Homebrew/homebrew-core#39446) this provides a more stable platform
Homebrew can rely on for building Swift formulae.
2019-05-01 09:06:41 +01:00
Chongyu Zhu
aea2804442
xcode: upgrade for Xcode 10.2.1 release 2019-04-24 22:48:00 +08:00
Mike McQuaid
36dbad3922
Add frozen_string_literal to all files. 2019-04-20 13:27:36 +09:00
EricFromCanada
15c38a2d8b formatting fixes 2019-04-13 21:29:32 -04:00
Chongyu Zhu
0299790aa7
xcode: upgrade for Xcode 10.2 release 2019-03-28 03:39:23 +08:00
Mike McQuaid
e095da4d01
rubocop: enable Layout/EmptyLineAfterGuardClause. 2019-02-21 12:55:49 +00:00
Mike McQuaid
1aa8ad09e2
Deprecate macOS versions below Mavericks
And remove all dead/unneeded code.
2019-01-27 12:27:47 +00:00
Mike McQuaid
902e058f3e
Merge pull request #5501 from indirect/indirect/future-sdks
Treat future SDKs as "latest"
2019-01-21 10:32:36 +00:00
Mike McQuaid
170c5493a4
Update deprecations
- Add some `odeprecated`
- Make some `odeprecated` now `odisabled`
- Remove `odisabled` code.
- Remove old update migrations
- Remove GCC 4.0 compiler
- Remove Tiger-only code
- Remove 32-bit-only code
- Remove use of LD64
- Remove GCC 4.3 - 4.8 support.
2019-01-08 19:13:46 +00:00
Andre Arko
e63eff2201
Treat future SDKs as "latest"
Some SDKs return a number higher than the hard-coded `latest_version`
in this file. With the current `==` check, those higher version numbers
are treated as "not the latest". This prevents machines with
higher-versioned SDKs from being able to use Homebrew.

To resolve that problem, this PR changes the check to `>=`, which allows
machines with higher-versioned SDKs to also use Homebrew to install
packages.
2019-01-08 00:26:22 -08:00
Chongyu Zhu
d66c7ef973
xcode: upgrade for Xcode 10.1 release
The version of CLT package that comes with Xcode 10.1 is 1000.10.44.4,
which could be bumped at a later date since the Software Update is not
reliable at this moment.
2018-11-05 12:41:51 +08:00
Chongyu Zhu
c6a2e280a2
xcode: fix expected Clang version for CLT with Xcode 10 (10A255) 2018-10-02 02:51:29 +08:00
Mike McQuaid
b94a19af60
xcode: note CLT is now updated in System Preferences.
This should avoid some confusion.
2018-09-30 16:58:53 +01:00
Chongyu Zhu
e6b80ae7fd
xcode: update expected version on High Sierra with Xcode 10 (10A255) 2018-09-19 23:30:24 +08:00
Chongyu Zhu
6002fa7f13
xcode: update expected Clang version on Mojave with Xcode 10 (10A255) 2018-09-19 18:46:58 +08:00
Markus Reiter
e9b9ea49a1 Update to RuboCop 0.59.1. 2018-09-17 03:45:59 +02:00
Mike McQuaid
bcb1ec5499
Improve Homebrew/brew line length.
Use 124 max line length everywhere. Also, reduce tap max line length to
189 as Homebrew/homebrew-core has that as a maximum now. In future
Homebrew/homebrew-core will also be reduced to 124 maximum line length.
2018-09-02 16:15:09 +01:00
Dominyk Tiller
1cf2ea79cf
xcode: update expected versions for Mojave 2018-08-14 00:02:19 +01:00
Misty De Meo
5765dac86c
Xcode: allow requesting Xcode/CLT SDKs specifically 2018-08-08 10:45:48 -07:00
Misty De Meo
4f8a751579
SDK: allow finding CLT SDK path where present 2018-08-08 10:45:48 -07:00
Misty De Meo
ea84ffc62e
Xcode: adjust separate_header_package? logic 2018-08-08 10:45:48 -07:00
Dominyk Tiller
be2dd62869
xcode: update expected Clang on 10.14 2018-07-13 10:50:54 +01:00
Mike McQuaid
4ffc8b137b
Merge pull request #4281 from mistydemeo/fix_unparsed_clang_exception
Xcode: fix version detection with unknown clang
2018-07-12 09:35:57 +01:00
Misty De Meo
de9d462b76 CLT: correct header package bundle ID 2018-07-06 15:18:35 -07:00