466 Commits

Author SHA1 Message Date
Bo Anderson
eb3eb209d9 os/mac/xcode: support Xcode 11.5 2020-06-07 20:35:55 +01:00
Mike McQuaid
bc27e38f18
Remove ARGV.debug?
Replace with `Homebrew.args.debug?`.

Part of #5730.
2020-05-23 14:38:58 +01:00
Bo Anderson
a016d65424 os/mac/pkgconfig: add expat.pc 2020-04-27 14:10:44 +01:00
Bo Anderson
2c64eab710
Merge pull request #7442 from Bo98/ncurses-pc
os/mac/pkgconfig: add ncurses.pc & ncursesw.pc
2020-04-27 10:39:27 +01:00
Mike McQuaid
1a51b3e41b
Merge pull request #7443 from Bo98/libedit-pc
os/mac/pkgconfig: add libedit.pc
2020-04-27 08:41:04 +01:00
Bo Anderson
c7120f1cfb os/mac/pkgconfig: add libffi.pc 2020-04-26 23:26:16 +01:00
Bo Anderson
c49c21faa3 os/mac/pkgconfig: add libedit.pc 2020-04-26 22:10:20 +01:00
Bo Anderson
29c121be98 os/mac/pkgconfig: add ncurses.pc & ncursesw.pc 2020-04-26 21:38:44 +01:00
Bo Anderson
7aff6f9bb3 os/mac/xcode: support Xcode 11.4.1 2020-04-16 11:22:40 +01:00
Bo Anderson
d8b1c4ff1f os/mac/pkgconfig: delete most cflags on 10.14+ 2020-04-12 00:42:18 +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
bb33a59c7b os/mac/sdk: add SDK source attribute 2020-04-07 16:43:32 +01:00
Mike McQuaid
147bca8ddd
Merge pull request #7298 from MikeMcQuaid/remove-old-pkgconfig
Remove old pkgconfig files.
2020-04-07 10:51:10 +01:00
Mike McQuaid
64fdf02f07
Merge pull request #7297 from Bo98/pc
os/mac/pkgconfig: supply default homebrew_sdkroot
2020-04-07 10:44:58 +01:00
Mike McQuaid
6cfd8065fc
Remove old pkgconfig files.
Homebrew no longer runs on these macOS versions.
2020-04-07 10:17:50 +01:00
Bo Anderson
56dc568fef os/mac/pkgconfig: supply default homebrew_sdkroot 2020-04-07 10:14:38 +01:00
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