366 Commits

Author SHA1 Message Date
Mike McQuaid
021cef4b2b Autocorrect Rubocop Style/SpecialGlobalVars. 2017-06-12 09:11:42 +01:00
Dominyk Tiller
bcdd919b84
pkgconfig: add initial files for 10.13 2017-06-07 05:12:45 +01:00
Dominyk Tiller
08cee5a0d5
os/mac/xcode: add CLT Clang for 10.13 2017-06-07 04:39:29 +01:00
Dominyk Tiller
cc86d4184d
os/mac/xcode: recognise Xcode 9.0 2017-06-06 04:33:55 +01:00
Dominyk Tiller
a0ae034654
os/mac: add Xcode 9.0 Beta recognition 2017-06-06 04:30:29 +01:00
Dominyk Tiller
a88350425b
os/mac/xcode: expect Xcode 8.3.3 2017-06-06 04:15:36 +01:00
Dominyk Tiller
04184ebc02
os/mac: add Xcode 8.3.3 support 2017-06-06 04:14:55 +01:00
Dominyk Tiller
5a9dad0bf0
mac/version: add High Sierra symbol 2017-06-05 19:40:33 +01:00
Markus Reiter
2d6ae61314 Re-revert "Fix operator spacing." 2017-06-02 19:22:05 +02:00
ilovezfs
197392b56d Revert "Fix operator spacing." 2017-06-01 04:06:40 -07:00
Markus Reiter
d34ba7395b Fix operator spacing. 2017-05-31 19:53:41 +02:00
Mike McQuaid
7a38bab333 Fixup all RuboCop warnings. 2017-05-29 18:43:18 +01:00
Mike McQuaid
57db2e539e Revert "Merge pull request #2597 from MikeMcQuaid/vendor-gems"
This reverts commit 3e4547f52e7ebec633f8bfefc8a396d944edf908, reversing
changes made to 6edf9382bcc1240ad6f97c8b752cfe56cef9965d.
2017-05-07 17:28:39 +01:00
Mike McQuaid
e1bbab6ca6 Revert "Merge pull request #2603 from MikeMcQuaid/tweak-gem-vendoring"
This reverts commit 2372872974d1049c2beafe7dedb7f8f882502058, reversing
changes made to 3e4547f52e7ebec633f8bfefc8a396d944edf908.
2017-05-07 17:28:37 +01:00
Mike McQuaid
33f83be10e Tweak Gem vendoring.
If people have `HOMEBREW_RUBY_PATH` set then things explode in a rather
confusing fashion. Instead, run `bundle` for them with the arguments
that they'd want.

Also, move `macho` requires into the module itself; it's a pain having
to do everything for Bundler before requiring `pathname` which is a core
Ruby class.
2017-05-07 15:33:54 +01:00
Mike McQuaid
ee253e465b Vendor all Homebrew's gems.
Homebrew's actually ended up using a fair few gems. While we want to
avoid Bundler at runtime (and this PR still does that, in fact uses
Bundler even less at runtime than it did before) writing our own version
to use at build-time seems redundant.
2017-05-07 13:52:57 +01:00
JCount
4b90f5fdc8 xcode: update Sierra CLT version to 802.0.42 2017-04-24 17:32:10 -04:00
Mike McQuaid
45a7730f61 Fix and remove various TODOs.
Fix those that can be done so without tearing Homebrew to pieces and
remove the comments for those that can never be done.
2017-04-23 15:10:18 +01:00
Mike McQuaid
ba3c46d24f More deprecations.
Deprecate more methods. Internal APIs have been verified to be unused
elsewhere and removed. External APIs have had deprecation methods added.
Existing deprecations have been either upgraded to produce warnings or
no longer deprecated and the reasoning documented.
2017-04-22 16:28:07 +01:00
JCount
19ed38df24 xcode: 8.3.2 is latest version 2017-04-19 19:06:24 -04:00
Mike McQuaid
ce1920f7df xcode: 8.3.1 is latest version.
Our CI images are already updated with it.
2017-04-10 21:06:36 +01:00
EricFromCanada
c5bac087b3 update latest versions of Xcode for 10.11 & 10.12 2017-03-28 11:16:02 -04:00
EricFromCanada
60f6dfea14 update suggested Xcode/CLT download URLs 2017-03-28 11:12:34 -04:00
William Woodruff
0dda8a13f1
keg: Skip relocation when dylib ID/install name doesn't change. 2017-03-12 12:29:35 -04:00
FX Coudert
ac8dd9ae7d Don't list duplicate dylibs for universal 2017-03-04 14:05:32 +01:00
Markus Reiter
94dceeab1d Move require_relocation? from os/mac/keg to keg. 2017-02-11 13:43:00 +01:00
Markus Reiter
d94636cde9 Allow overriding MacOS.version. 2017-01-24 23:43:56 +01:00
Mike McQuaid
50c1fea4ea xcode: reduce minimum CLT version.
This should be 1.0.0 to be nicer to 10.7 users.

Fixes #1893.
2017-01-23 21:22:54 +00:00
Mike McQuaid
a17f38dd36 xcode: use default location when possible.
Xcode can be installed anywhere but for most people it's in
`/Applications/Xcode.app` so just look there if `xcode-select` isn't
helpful before looking at Spotlight which can return weird results on
e.g. backup disks.

Fixes #1587.
2017-01-09 21:10:55 -08:00
Mike McQuaid
2c6915a48f xcode: general cleanup. 2017-01-09 21:10:55 -08:00
Mike McQuaid
4a39070c26 xquartz: use default location when possible.
Xcode can be installed anywhere but for most people it's in
`/Applications/Xcode.app` so just look there by default before looking
at Spotlight which can return weird results on e.g. backup disks.
2017-01-09 21:10:55 -08:00
Mike McQuaid
e50102d91e ENV: deprecate old methods.
These should have been deprecated long ago but we didn’t really have
the necessary framework to do so.
2016-12-30 20:20:13 +00:00
Mike McQuaid
e950aa11d1 Remove Xcode prerelease warnings.
At this point we probably do want to know about issues that crop up in
betas so we can fix them before the new version of Xcode is released.
Additionally, this doesn't really work well any more with our new
tag-based workflow as it means we need to cut a new tag immediately
after a new Xcode is released.
2016-12-19 18:01:36 +00:00
Mike McQuaid
477faf073b Never trigger too old CLT check on <10.7.
While we fake a CLT for these versions they never shipped with the CLT
so cannot update it.
2016-12-18 15:31:17 -08:00
dersvenhesse
b3174aa3e2 XCode 8.2 is stable 2016-12-12 23:29:35 +01:00
Mike McQuaid
43f8d2c7a0 xcode: cleanup Xcode::Version usage.
Don't wrap `MacOS.version` which does comparisons properly already and
avoid stupidly long lines.
2016-12-05 11:09:21 +00:00
Sorin Ionescu
282c0a30b6 Fix macOS version comparison 2016-11-26 13:59:55 -05:00
Mike McQuaid
694cc876ef Merge pull request #1415 from robinkunde/semver
Update macOS Xcode tool checks do use Version class for comparisons
2016-11-13 10:53:34 +00:00
Robin Kunde
e97ce7e7ae move semantic version comparisons into separate class 2016-11-12 15:37:32 -05:00
William Woodruff
9267511e6b
os/mac: Rename MachO -> MachOShim
Prevents namespace conflict with vendored ruby-macho.
2016-11-09 17:35:56 -05:00
William Woodruff
032ed07bce
os/mac: Allow MachO.dynamically_linked_libraries to be filtered by dylib type.
This allows us to filter out weak linkages during audits, preventing
a false error from occurring when the dylib cannot be found.
2016-11-09 17:35:56 -05:00
Mike McQuaid
4015d0465a xcode: add checks for Xcode/CLT minimum versions. 2016-11-05 10:58:38 -04:00
Robin Kunde
2c79868229 Update latest clang version for 10.12 2016-10-31 00:51:38 -04:00
Robin Kunde
5326eecb9d Update macOS Xcode tool checks do use Version class for comparisons instead of strings 2016-10-31 00:51:21 -04:00
dersvenhesse
70cc7790f6 Updated latest versions since XCode 8.1 release 2016-10-28 23:34:12 +02:00
dersvenhesse
4701eff45f XCode 8.1 is stable 2016-10-27 23:35:52 +02:00
Markus Reiter
546a91f78e Add —language option. 2016-10-03 02:34:53 +02:00
Markus Reiter
b703c81ca6 Stub MacOS.languages instead of setting HOMEBREW_LANGUAGES. 2016-10-03 02:34:53 +02:00
Markus Reiter
87299af225 Add test for language stanza. 2016-10-03 02:34:53 +02:00
Markus Reiter
1a25f1ec6d Make MacOS.language less opinionated. 2016-10-03 02:34:52 +02:00