Commit Graph
67 Commits
Author SHA1 Message Date
Jack Nagel 7c6acdf0db Avoid comparing Xcode.version to floats 2013-10-22 20:48:22 -05:00
Jack Nagel fce53bc1f5 Avoid comparing MacOS.version to floats 2013-10-22 20:47:37 -05:00
Mike McQuaid 1a6f911059 xcode: update to 5.0.1 on 10.8. 2013-10-23 00:45:19 +01:00
Mike McQuaid e26eeeb9e1 CLT: correctly find Mavericks CLT PKG.
Closes #23445.
2013-10-22 23:56:22 +01:00
Mike McQuaid 0046cfdf47 Xcode: don't detect Mavericks CLT as Xcode. 2013-10-22 22:37:09 +01:00
Mike McQuaid 673df3e34f CLT: rename Mavericks CLT path constant. 2013-10-22 22:36:41 +01:00
Jack Nagel ac401c88a0 Assume unknown clang versions are post-Xcode 5 2013-10-22 13:46:14 -05:00
Misty De Meo f2b1900c9d OS::Mac: Add Xcode 2.5 compiler 2013-10-20 00:41:08 -07:00
Misty De Meo e6ff2aaefc MacOS.gcc_build_version: find GCC when unlinked
MacOS.gcc_42_build_version was returning nil if apple-gcc42 was
installed but unlinked, which was disjoint with how other parts of
Homebrew tried to see if it was present.
2013-10-19 23:13:50 -07:00
Jack Nagel 0c3cb4274f Extract repeated conditional to a method 2013-10-18 13:38:19 -05:00
Jack Nagel f813dc3306 Make condition clearer using names 2013-10-18 13:38:18 -05:00
Jack Nagel b7e9dc31b0 Merge XQuartz and X11 modules 2013-10-18 13:38:18 -05:00
Jack Nagel 9c7af3b95c Move MacOS modules under OS::Mac namespace
Closes #23138.
2013-10-18 13:38:07 -05:00
Jack Nagel 3cba7d44c6 Rename MacOS to OS::Mac 2013-10-18 12:56:51 -05:00
Jack Nagel 1d0a7c66a5 Add OS.mac? and OS.linux? 2013-10-18 12:56:51 -05:00
Jack Nagel 12cdd4d702 Recommend Xcode 5.0.1 GM on 10.9 2013-10-06 17:24:22 -05:00
Mike McQuaid a0dd342ec4 Add Xcode 5.0.1.
Closes #23040.
2013-10-04 09:56:02 +01:00
Mike McQuaid 2a6aa12491 xcode: Xcode 5.0 is the latest on 10.8. 2013-10-04 09:55:26 +01:00
Misty De Meo 1557b1df29 MacCPUs: distinguish between G5 32-bit and 64-bit 2013-10-03 20:05:32 -07:00
Jack Nagel 34cbf268f1 Fix wrong assumption in MacOS::Xcode.without_clt?
Fixes #22221.
2013-08-30 14:49:10 -05:00
Shaun Jackman 6dabb7bc48 universal_archs returns ArchitectureListExtension
Closes #22210.

Signed-off-by: Misty De Meo <mistydemeo@gmail.com>
2013-08-29 20:47:18 -07:00
Misty De Meo 86e3290ab3 LinuxCPUs: provide stub methods 2013-08-15 22:46:57 -07:00
Misty De Meo 89eecf2336 Add Hardware::CPU.universal_archs 2013-08-15 22:46:56 -07:00
Misty De Meo f3c3a840fe Add Hardware::CPU.arch_(32|64)_bit
This replaces hardcoding of i386/x86_64 all over the code.
2013-08-15 22:46:55 -07:00
Jack Nagel 9733e244f9 Move MacOS.xcode43_without_clt? into Xcode module 2013-08-09 20:47:28 -05:00
Jack Nagel ec222810c3 Map pkginfo versions to actual XQuartz versions 2013-07-22 11:25:12 -05:00
Jack Nagel e33fcb52e0 Fall back on pkgutil when mdls cannot determine XQuartz version 2013-07-22 11:25:11 -05:00
Jack Nagel 50c59320a5 Separate version detection from accessor 2013-07-22 11:25:11 -05:00
Jack Nagel fc0f4ff771 Extract version_from_pkgutil 2013-07-22 11:25:11 -05:00
Jack Nagel 178fa2b6f1 Extract version_from_mdls 2013-07-22 11:25:11 -05:00
Jack Nagel 3159f9b399 Extract guess_system_version 2013-07-22 11:25:10 -05:00
Jack Nagel c4e6794fad Extract bundle_path from XQuartz.version 2013-07-22 11:25:10 -05:00
Jack Nagel 7d16d8c7d6 Cache pkgutil results at the source 2013-07-21 20:09:55 -05:00
Jack Nagel 0902d31417 Eliminate nested conditional 2013-07-21 16:41:51 -05:00
Jack Nagel 3dfb326421 Extract bundle_path method from Xcode#prefix 2013-07-21 16:41:51 -05:00
Jack Nagel 4d5a011bcf Update comment about CLT
This was worded in a confusing way, and made an assumption about future
OS X versions that we don't know to be true.

Also, it's probably wrong to state that the CLT location is dependent on
the OS X version; surely there will be a newer CLT for 10.8 that gets
installed in the same location as on 10.9. But we don't know any better
yet.
2013-07-21 16:41:50 -05:00
Jack Nagel 42df11d962 Split up unreadable conditional 2013-07-21 16:41:50 -05:00
Misty De Meo 2570e4bcf9 Hardware: Query sysctl for instructon sets
This may be more accurate than guessing.
2013-07-02 16:08:20 -05:00
Mike McQuaid 31bf918ecb CLT is just CLT now; not "for Xcode".
References #17383.
2013-07-01 19:02:32 +01:00
Misty De Meo bd0a4757c4 Hardware::CPU (Mac): add Haswell
See #20935.
2013-07-01 00:44:54 -05:00
Shaun Jackman 561567ade0 os/linux/hardware: uname -m may be /i[3-6]86/
Closes homebrew/linuxbrew#16

Closes #20903.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2013-06-29 13:15:59 -05:00
David Rice 0367072c98 Detect Command Line Tools on Mavericks.
Closes #20774.
2013-06-26 19:09:06 +01:00
Clemens Gruber 07b7810a04 Fix Xcode builds on 10.9.
CLT-only builds are still broken and need to be fixed at some point.

Closes #20524.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2013-06-17 09:14:17 +01:00
Jack Nagel d9247b373e Simplify regexp match 2013-06-15 19:51:49 -05:00
Jack Nagel aa64a3aae5 These also get coerced to strings 2013-06-15 19:51:35 -05:00
Jack Nagel cc111906cc Push MacOS.cat logic down into MacOS::Version 2013-06-15 19:40:42 -05:00
Jack Nagel 1d29326558 Add MacOS::Version.from_symbol 2013-06-15 19:39:27 -05:00
Jack Nagel faa35b4fcd Avoid unnecessary float to string conversion 2013-06-15 10:13:20 -05:00
Jack Nagel 2b61e51dd8 Pass these as strings, they get converted anyway 2013-06-14 19:10:14 -05:00
Adam Vandenberg cadbcf33e3 Fix pretty names 2013-06-14 14:47:16 -07:00