600 Commits

Author SHA1 Message Date
Mike McQuaid
3381cbf5c7
Use Homebrew::EnvConfig. 2020-04-07 09:58:26 +01:00
Bo Anderson
9294bee866 shims/mac/super/pkg-config: pass and use HOMEBREW_SDKROOT
Fixes #5068.
2020-04-04 23:44:29 +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
Bo Anderson
20d9f436ca os/mac/sdk: prioritise SDK matching OS version 2020-03-08 20:08:33 +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
EricFromCanada
9bfd597991 Format debug messages with odebug 2019-12-02 11:33:19 -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
Jonathan Chang
7ddc185b35 Fix various typos 2019-08-19 16:12:34 +10:00
Chongyu Zhu
80230eccf7
Merge pull request #6210 from lembacon/pkg-config-catalina
pkg-config: add initial support for macOS Catalina
2019-06-05 11:00:41 -07:00
Chongyu Zhu
629c319dc4
pkg-config: add initial support for macOS Catalina 2019-06-04 16:30:17 -07:00
Chongyu Zhu
2a5aee0a0b
xcode: add initial support for Xcode 11.0 2019-06-04 16:11:18 -07:00
Misty De Meo
1495cdbf8f macOS Catalina 2019-06-03 11:45:08 -07:00
Tom Schoonjans
36203dd1ef pkgconfig: add uuid.pc
The util-linux uuid library is provided by macOS, through its header at
/usr/include/uuid/uuid.h, and implementation included in libSystem.B.dylib
2019-05-12 07:43:23 +01: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
Mike McQuaid
d1ea6f38d3
Fix mutable constants violations. 2019-04-19 21:46:20 +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
William Woodruff
a8c4136e9e
os/mac: Use delegation for Mach-O methods 2019-03-10 21:07:05 -04:00
William Woodruff
54aca0d14f
os/mac: Flush RPATHs from Mach-Os when possible 2019-03-10 21:07:04 -04:00
William Woodruff
618c5cd01a
os/mac: Expose rpaths 2019-03-10 21:07:03 -04:00
Mike McQuaid
e095da4d01
rubocop: enable Layout/EmptyLineAfterGuardClause. 2019-02-21 12:55:49 +00:00
Mike McQuaid
d64429a736
rubocop: enable Style/IfUnlessModifier. 2019-02-21 12:55:49 +00:00
Mike McQuaid
28fa8a7c97
version: add CPU tests.
Add a new API inspired by discussion in
https://github.com/Homebrew/homebrew-core/pull/36435 to query if a given
CPU option is supported by a version of macOS.
2019-01-28 19:31:21 +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
Mike McQuaid
737b84b54b
brew style --fix fixes. 2018-11-02 17:29:23 +00:00
EricFromCanada
20167e5f1b Adjust comments to tidy API docs output. 2018-10-18 21:42:43 -04: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
d7eca0b57c
Use Bundler to manage vendor directory
Rather than having to manually keep track of what version each thing in
here is and copy files around by hand on update let's use Bundler's
standalone mode and careful use of `.gitignore` to help us do it.

This means a `bundle update --standalone` will allow us to update all
gems in vendor.

We could consider vendoring other gems this way in future but I'd
suggest only doing this for gems with no dependencies or at least gems
with no native extensions. The only gem this applies to that we
currently use is `ruby-prof` and I'm not convinced it's widely used
enough to warrant vendoring for everyone. Perhaps that's another
criteria: it should be functionality that's used by non-developer
commands and/or normal Homebrew usage.
2018-09-13 15:24:18 +01:00
Mike McQuaid
80d75bc0d8
Homebrew/.rubocop: tweak rules.
Adjust the rules based on the current codebase. Remove various enable,
disables and default values that are unnecessary. Add more comments
explaining why. Make minor changes needed to enable a few more rules.
2018-09-02 20:15:09 +01: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
a30eea6ab9
pkgconfig: update 10.14 sqlite version 2018-08-14 05:19:25 +01:00
Dominyk Tiller
1cf2ea79cf
xcode: update expected versions for Mojave 2018-08-14 00:02:19 +01:00