890 Commits

Author SHA1 Message Date
Mike McQuaid
d7c13f84b6 Update string references to mxcl/homebrew. 2013-12-14 18:18:35 +00:00
Mike McQuaid
4c2e7b1659 Update docs, comment mxcl/homebrew refs. 2013-12-14 18:18:35 +00:00
Jack Nagel
36d3a2dfa8 Homebrew CVS is required for Xcode 5+ 2013-12-04 01:19:17 -06:00
Jack Nagel
06bf1c0f02 Implement MacOS.dev_tools_prefix a different way
Avoid producing a dev_tools_path of "//usr/bin".

Fixes Homebrew/homebrew#24751.
Closes Homebrew/homebrew#24754.
2013-11-28 19:27:33 -06:00
Mike McQuaid
48e4fbc8d9 Mac: add dev_tools_prefix method.
Basically dev_tools_path without the `/usr/bin`.
2013-11-27 08:53:02 +00:00
Jack Nagel
6f7dcb08e8 Add Hardware::CPU.aes? and Hardware::CPU.avx2? 2013-11-26 20:23:19 -06:00
Jack Nagel
cb18b9e77e Add Hardware::CPU.intel? and Hardware::CPU.ppc? 2013-11-26 20:23:19 -06:00
Jack Nagel
48e8be2454 Remove caching from MacOS.preferred_arch
The really expensive computation is now cached at its source, and this
only caches true anyway.
2013-11-26 20:23:19 -06:00
Jack Nagel
cb350fa9eb Simplify Hardware::CPU.is_64_bit? 2013-11-26 20:23:19 -06:00
Jack Nagel
f172413a26 Cache calls to sysctl_bool at the source 2013-11-26 20:23:19 -06:00
Misty De Meo
426f5c0666 Fix MacOS::CLT.installed? for 10.9+
This continues to use mavericks_dev_tools? instead of trying to read
from pkgutil because pkgutil is really slow.

Fixes Homebrew/homebrew#24123.
2013-11-22 20:47:57 -08:00
Jack Nagel
8b7ddc1fed XQuartz 2.7.5 released
Closes Homebrew/homebrew#24173.
2013-11-12 10:12:41 -06:00
Mike McQuaid
90c696ea67 xcode: fix nil outdated comparison. 2013-11-08 09:54:25 +00:00
Jack Nagel
5863a72625 Make sure 10.9 users upgrade XQuartz 2013-11-06 09:48:18 -06:00
Jack Nagel
f580e9271b Revert "Make sure 10.9 users upgrade XQuartz"
This causes CI builds on 10.9 to fail; will repush once it is updated.

This reverts commit 70c5ce09d995426aefdbfd4aba0b06efe100a433.
2013-11-05 22:53:22 -06:00
Jack Nagel
82d6e2cf8a Make sure 10.9 users upgrade XQuartz 2013-11-05 22:34:20 -06:00
Jack Nagel
466cc33bf3 Add pkgutil version for XQuartz 2.7.5_rc4 2013-11-05 22:32:42 -06:00
Jack Nagel
a82276b2cb Add Xcode 5.0.2 to compiler map
Fixes Homebrew/homebrew#24018.
2013-11-05 22:19:33 -06:00
Jack Nagel
0aa7457b79 Fix CLT latest version check for 10.8/9
Closes Homebrew/homebrew#23874.
2013-11-01 18:58:19 -05:00
Jack Nagel
a4d630003d Add pkgutil version for XQuartz 2.7.5_rc3 2013-11-01 16:04:52 -05:00
Misty De Meo
655c6f79b4 Hardware::CPU: add extmodel helper 2013-10-30 19:14:07 -07:00
Brian Stolz
0f612f8459 Add Hardware::CPU.ssse3? helper method.
Closes Homebrew/homebrew#23796.

Signed-off-by: Misty De Meo <mistydemeo@gmail.com>
2013-10-30 18:44:03 -07:00
Misty De Meo
64b472788a Mac.prefer_64_bit?: fix conditional for 10.4 2013-10-28 08:41:57 -07:00
Jack Nagel
a5e8962ae7 Avoid comparing Xcode.version to floats 2013-10-22 20:48:22 -05:00
Jack Nagel
df824a22a7 Avoid comparing MacOS.version to floats 2013-10-22 20:47:37 -05:00
Mike McQuaid
6030695bee xcode: update to 5.0.1 on 10.8. 2013-10-23 00:45:19 +01:00
Mike McQuaid
047c8eb927 CLT: correctly find Mavericks CLT PKG.
Closes Homebrew/homebrew#23445.
2013-10-22 23:56:22 +01:00
Mike McQuaid
1be35f036e Xcode: don't detect Mavericks CLT as Xcode. 2013-10-22 22:37:09 +01:00
Mike McQuaid
a7c29271b8 CLT: rename Mavericks CLT path constant. 2013-10-22 22:36:41 +01:00
Jack Nagel
31d705d494 Assume unknown clang versions are post-Xcode 5 2013-10-22 13:46:14 -05:00
Misty De Meo
b31f6c0099 OS::Mac: Add Xcode 2.5 compiler 2013-10-20 00:41:08 -07:00
Misty De Meo
a79bc02620 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
f2738dbe96 Extract repeated conditional to a method 2013-10-18 13:38:19 -05:00
Jack Nagel
943978a955 Make condition clearer using names 2013-10-18 13:38:18 -05:00
Jack Nagel
273f5b2ddd Merge XQuartz and X11 modules 2013-10-18 13:38:18 -05:00
Jack Nagel
8887fe7606 Move MacOS modules under OS::Mac namespace
Closes Homebrew/homebrew#23138.
2013-10-18 13:38:07 -05:00
Jack Nagel
805472946b Rename MacOS to OS::Mac 2013-10-18 12:56:51 -05:00
Jack Nagel
c511d7d2f4 Add OS.mac? and OS.linux? 2013-10-18 12:56:51 -05:00
Jack Nagel
9c53a1b8b7 Recommend Xcode 5.0.1 GM on 10.9 2013-10-06 17:24:22 -05:00
Mike McQuaid
535c02674c Add Xcode 5.0.1.
Closes Homebrew/homebrew#23040.
2013-10-04 09:56:02 +01:00
Mike McQuaid
ee79f31516 xcode: Xcode 5.0 is the latest on 10.8. 2013-10-04 09:55:26 +01:00
Misty De Meo
b4f5be46d2 MacCPUs: distinguish between G5 32-bit and 64-bit 2013-10-03 20:05:32 -07:00
Jack Nagel
6e4ad9eb22 Fix wrong assumption in MacOS::Xcode.without_clt?
Fixes Homebrew/homebrew#22221.
2013-08-30 14:49:10 -05:00
Shaun Jackman
774cd8b68b universal_archs returns ArchitectureListExtension
Closes Homebrew/homebrew#22210.

Signed-off-by: Misty De Meo <mistydemeo@gmail.com>
2013-08-29 20:47:18 -07:00
Misty De Meo
e6d5e813d4 LinuxCPUs: provide stub methods 2013-08-15 22:46:57 -07:00
Misty De Meo
a892e52bfc Add Hardware::CPU.universal_archs 2013-08-15 22:46:56 -07:00
Misty De Meo
ef1f2b4a79 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
755c786040 Move MacOS.xcode43_without_clt? into Xcode module 2013-08-09 20:47:28 -05:00
Jack Nagel
9b30fc4afa Map pkginfo versions to actual XQuartz versions 2013-07-22 11:25:12 -05:00
Jack Nagel
34623b4ef1 Fall back on pkgutil when mdls cannot determine XQuartz version 2013-07-22 11:25:11 -05:00