138 Commits

Author SHA1 Message Date
Markus Reiter
458a1e7903 Remove Locations module. 2018-06-09 09:01:09 +02:00
Dominyk Tiller
9640ef0540
mac: add 9.4 & 10.0 compilers 2018-06-05 06:48:26 +01:00
ilovezfs
807a383bc5 Xcode 9.3 2018-04-17 06:26:12 -07:00
Mike McQuaid
9fca172d03 Fix HOMEBREW_RUBY_WARNINGS="-w"
Fix various circular requirements, method redefinitions, etc.
2018-04-07 20:28:56 +01:00
Mike McQuaid
cd0db51343 diagnostic: check if Xcode needs CLT installed.
Require the CLT on all but the latest version of macOS to avoid the
continuous workarounds for SDK weirdness.
2017-11-17 21:35:49 +00:00
Mike McQuaid
ee4172159b
Merge pull request #3377 from maxim-belkin/extend-pathname
pathname: new methods and improvements
2017-11-10 17:49:27 +00:00
Maxim Belkin
de0b93f912
pathname: improvements, cleanups, and new methods
- atomic_write: close file before renaming to prevent error:
  'Device or resource busy'
- ensure_writable: preserve executable bit
- new elf? and dynamic? methods
2017-11-07 14:18:25 -06:00
Dominyk Tiller
6937f6fa55
mac: update for Xcode 9.1 2017-11-01 04:46:23 +00:00
Mike McQuaid
6fe7c5fc95 Merge pull request #3335 from JCount/xcode-9.0.1
xcode: update to Xcode 9.0.1 on 10.12 and 10.13
2017-10-20 18:11:32 +01:00
JCount
a064751060 xcode: update to Xcode 9.0.1 on 10.12 and 10.13 2017-10-19 11:03:17 -04:00
Markus Reiter
9bee9ca575 Use “squiggly” heredocs. 2017-10-18 14:39:09 +02:00
Markus Reiter
5b8a3d381b Refactor MacOS::languages. 2017-10-10 17:11:22 +02:00
Mike McQuaid
4f8af059df os/mac: ignore apps found in Time Machine backups.
These can introduce confusion on e.g. outdated Xcode versions when they
are the only (or first) versions that are found.
2017-10-05 21:47:26 +01:00
ilovezfs
e8da9613fb Revert "mach: Avoid reopening the file for relocation" 2017-09-27 02:08:23 -07:00
William Woodruff
6098998674 Merge pull request #3139 from woodruffw/macho-use-object
mach: Avoid reopening the file for relocation
2017-09-25 23:30:42 -04:00
William Woodruff
d618e574fb
mach: Avoid reopening the file for relocation
This commit allows the relocation code to perform install name
and dylib ID changes without reopening the file separately.
2017-09-25 17:46:23 -04:00
Mike McQuaid
01e9ec9a9f Rubocop: automatic rule fixes. 2017-09-24 21:23:59 +01:00
Mike McQuaid
9eb51db400 Rubocop 0.50 and target 2.3. 2017-09-24 21:23:59 +01:00
FX Coudert
fcb6b5c7aa os/mac: support macOS High Sierra (10.13). 2017-09-21 22:26:30 +01:00
Josh Soref
fe21cfdefd spelling: does 2017-09-10 16:32:09 +00:00
Josh Soref
4806b35e27 spelling: directories 2017-09-10 16:31:56 +00:00
ilovezfs
a4c5e64da4 Revert "mach: Avoid reopening the file for relocation" 2017-09-08 12:32:32 -07:00
William Woodruff
18115f0639
mach: Avoid reopening the file for relocation
This commit allows the relocation code to perform install name
and dylib ID changes without reopening the file separately.
2017-08-28 19:05:12 -04:00
Dominyk Tiller
a0ae034654
os/mac: add Xcode 9.0 Beta recognition 2017-06-06 04:30:29 +01:00
Dominyk Tiller
04184ebc02
os/mac: add Xcode 8.3.3 support 2017-06-06 04:14:55 +01:00
Mike McQuaid
7a38bab333 Fixup all RuboCop warnings. 2017-05-29 18:43:18 +01:00
JCount
19ed38df24 xcode: 8.3.2 is latest version 2017-04-19 19:06:24 -04:00
EricFromCanada
c5bac087b3 update latest versions of Xcode for 10.11 & 10.12 2017-03-28 11:16:02 -04:00
Markus Reiter
d94636cde9 Allow overriding MacOS.version. 2017-01-24 23:43:56 +01: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
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
Markus Reiter
00b3dde0b2 RuboCop: MacOS 2016-09-25 00:16:31 +02:00
William Woodruff
846a5b79b6
Remove old cctools references now that only ruby-macho is used. 2016-09-22 14:36:24 -04:00
Mike McQuaid
7ef74614e7 Merge pull request #985 from MikeMcQuaid/drop-mavericks
os/mac: mark Mavericks as outdated.
2016-09-20 08:20:25 +01:00
Mike McQuaid
a09799f25a os/mac: fall back to old environment.
Can't see how this could ever happen but let's safe-guard it just in
case (as ilovezfs saw it).
2016-09-19 09:17:35 +01:00
Mike McQuaid
b383d95352 os/mac: mark Mavericks as outdated. 2016-09-18 19:59:08 +01:00
Mike McQuaid
3f9cce0a03 Use new "macOS" naming where appropriate.
Not quite a mass replacement as I've used OS X and Mac OS X where
describing specific older versions and added compatibility methods
for things in the DSL.
2016-09-18 19:57:19 +01:00
Mike McQuaid
3982950e61 rubocop --auto-correct all hash-rocket usage. 2016-09-17 16:14:13 +01:00
Mike McQuaid
43d8b969db os/mac: officially support Sierra.
We have a GM, a bunch of bottles and CI setup.
2016-09-17 12:59:32 +01:00
Mike McQuaid
cefaef75e1 os/mac: fix Rubocop warnings. 2016-09-11 17:49:27 +01:00
Markus Reiter
0243e1f9a7 Add language method to OS::Mac. 2016-09-09 20:24:47 +02:00
Mike McQuaid
3a127e405e development_tools: add installed? method. (#455) 2016-07-06 11:07:24 +01:00
Dominyk Tiller
7183a72105
mac: recognise Clang 800 2016-06-14 02:58:07 +01:00
Mike McQuaid
375efe0945 Remove LLVM-GCC support. (#252)
At this point it's never a good compiler to use so let's just remove it.
2016-05-22 09:40:08 +01:00
Mike McQuaid
5c1f463ac0 Move more methods to DevelopmentTools.
Closes #1028.
2016-05-10 08:19:48 +01:00
Mike McQuaid
e316cc9296 Make development tools code cross-platform. 2016-05-08 16:51:22 +01:00
Mike McQuaid
ddb576b582 Add support for testing generic OS.
If the environment variable HOMEBREW_TEST_GENERIC_OS is set ensure that
neither Mac nor Linux-specific code is loaded. This allows easier
testing of cross-platform code on OS X and will make it easier to port
Homebrew to platforms other than OS X and Linux.
2016-05-08 16:51:22 +01:00