Mike McQuaid
bb5166b3c7
os/mac: also update install on version bumps.
...
I also just remembered this today so let’s add a comment reminder.
2018-09-06 11:48:13 +01:00
Mike McQuaid
56453bc8f8
os/mac: note installation docs need bumped too.
...
I noticed these contain a reference to our supported versions so should
be bumped whenever this version is bumped.
2018-09-03 17:00:02 +01:00
Mike McQuaid
80d75bc0d8
Homebrew/.rubocop: tweak rules.
...
Adjust the rules based on the current codebase. Remove various enable,
disables and default values that are unnecessary. Add more comments
explaining why. Make minor changes needed to enable a few more rules.
2018-09-02 20:15:09 +01:00
Mike McQuaid
bcb1ec5499
Improve Homebrew/brew line length.
...
Use 124 max line length everywhere. Also, reduce tap max line length to
189 as Homebrew/homebrew-core has that as a maximum now. In future
Homebrew/homebrew-core will also be reduced to 124 maximum line length.
2018-09-02 16:15:09 +01:00
Mike McQuaid
b2bfa6247f
Merge pull request #4678 from sjackman/mdfind
...
OS::Mac.mdfind: No need to guard on OS.mac?
2018-08-18 12:06:05 +01:00
Dominyk Tiller
2060eb233d
Merge pull request #4676 from DomT4/10xDevTools
...
10x/Mojave: update dev tool expected versions
2018-08-15 16:40:51 +01:00
Mike McQuaid
3e890c11ad
Merge pull request #4679 from sjackman/os-linux
...
Warn if os/linux is loaded on generic OS
2018-08-14 08:59:04 +01:00
Shaun Jackman
c480dd39a9
Warn if os/linux is loaded on generic OS
2018-08-13 23:38:48 -07:00
Shaun Jackman
a447548600
OS::Mac.mdfind: No need to guard on OS.mac?
...
This code is only used on macOS.
2018-08-13 23:37:00 -07:00
Dominyk Tiller
a30eea6ab9
pkgconfig: update 10.14 sqlite version
2018-08-14 05:19:25 +01:00
Dominyk Tiller
1cf2ea79cf
xcode: update expected versions for Mojave
2018-08-14 00:02:19 +01:00
Misty De Meo
eea18a5cb1
MacOS: update sdk_path_if_needed logic
2018-08-08 10:45:48 -07:00
Misty De Meo
b66f2b207e
SDK: minor readability tweaks
2018-08-08 10:45:48 -07:00
Misty De Meo
5765dac86c
Xcode: allow requesting Xcode/CLT SDKs specifically
2018-08-08 10:45:48 -07:00
Misty De Meo
4f8a751579
SDK: allow finding CLT SDK path where present
2018-08-08 10:45:48 -07:00
Misty De Meo
e00720e872
MacOS.sdk_path: prefer Xcode if installed
2018-08-08 10:45:48 -07:00
Misty De Meo
47ce9e04e3
Mac: add sdk_path_if_needed
2018-08-08 10:45:48 -07:00
Misty De Meo
ea84ffc62e
Xcode: adjust separate_header_package? logic
2018-08-08 10:45:48 -07:00
Misty De Meo
8450ffa8ad
OS::Mac: look up CLT SDK on 10.14+
2018-08-08 10:45:45 -07:00
Markus Reiter
2452b27866
Refactor ErrorDuringExecution
.
2018-07-19 16:41:27 +02:00
Dominyk Tiller
be2dd62869
xcode: update expected Clang on 10.14
2018-07-13 10:50:54 +01:00
Mike McQuaid
4ffc8b137b
Merge pull request #4281 from mistydemeo/fix_unparsed_clang_exception
...
Xcode: fix version detection with unknown clang
2018-07-12 09:35:57 +01:00
Misty De Meo
de9d462b76
CLT: correct header package bundle ID
2018-07-06 15:18:35 -07:00
Misty De Meo
296f3c309e
CLT: add checks for the header package
2018-06-13 17:24:32 -07:00
Markus Reiter
458a1e7903
Remove Locations
module.
2018-06-09 09:01:09 +02:00
William Woodruff
8bb4c4f96f
mach: Always report Mach-O parsing errors
...
This retains the raise-on-error behavior for developers, but
otherwise only prints an error message.
2018-06-06 11:22:21 -04:00
Misty De Meo
7f2cebd4df
Xcode: fix version detection with unknown clang
2018-06-05 14:53:24 -07:00
Dominyk Tiller
9640ef0540
mac: add 9.4 & 10.0 compilers
2018-06-05 06:48:26 +01:00
Dominyk Tiller
595c232866
xcode: recognise/expect Xcode 9.4 on 10.13
2018-06-05 06:46:32 +01:00
Dominyk Tiller
b092f1d0a9
pkg-config: add initial files for 10.14
2018-06-05 05:31:43 +01:00
Dominyk Tiller
194c48e9d2
xcode: add initial support for Xcode 10.0
2018-06-05 05:31:40 +01:00
Dominyk Tiller
0c12ab5e83
mac/version: add symbol for macOS Mojave
2018-06-04 19:44:46 +01:00
Maxim Belkin
e5435dfeb7
Cross-platform diagnostics.
2018-05-14 04:44:15 -05:00
ilovezfs
807a383bc5
Xcode 9.3
2018-04-17 06:26:12 -07:00
Mike McQuaid
7166289ad7
os/mac/xcode: revert an installed? guard removal.
...
Fixes #4084 .
2018-04-17 12:05:09 +01:00
Mike McQuaid
85edbd28b1
Remove Xcode.installed? guards.
...
It's safe since 600d58f4ca3d85894c66a38802965fd94d4ea469 when
MacOS::Xcode.version started returning `Version::NULL` where
appropriate.
2018-04-17 10:58:51 +01:00
Mike McQuaid
9fca172d03
Fix HOMEBREW_RUBY_WARNINGS="-w"
...
Fix various circular requirements, method redefinitions, etc.
2018-04-07 20:28:56 +01:00
Nikoli Dryden
11817fe1f7
Generalize the regex determining the Xcode version.
...
The current regex only matches a single digit for each component of the version (e.g. 9.2). This modifies it to match multiple digits in each component, so that e.g. 10.42 will be matched.
2018-03-05 19:44:11 -06:00
Shaun Jackman
97932c1abf
Move linkage_checker from os/mac to generic
2018-02-28 11:18:27 -08:00
Shaun Jackman
73ba9b3d88
Define OS::Mac on Linux
...
Define MacOS.version, MacOS.full_version, and MacOS::Xcode.version to
Version::NULL on Linux so that brew readall succeeds and Homebrew/brew
can tap Homebrew/core on Linux.
2018-02-20 11:22:40 -08:00
Andrew Janke
c946da88ab
linkage_checker: Distinguish indirect deps from undeclared deps
2018-02-10 10:26:54 -05:00
Mike McQuaid
b70b5429d0
Deprecate default_formula Requirement DSL
...
This has been a nightmare in terms of the complexity to our dependency
system and the whack-a-mole required on bugs. If a Requirement resolves
to a Formula it should just use `depends_on "formula"` instead. This
matches the effective behaviour all users of bottles (the vast majority
of users and installs) and what we're doing in Homebrew/homebrew-core.
2018-01-14 13:27:43 +00:00
Shaun Jackman
5d9149a4b9
LD64Dependency is needed on macOS only
...
Move ld64_dependency.rb to os/mac/.
2018-01-03 10:52:12 -08:00
Mike McQuaid
46775f556f
Merge pull request #3542 from MikeMcQuaid/xcode-9.2
...
Xcode 9.2
2017-12-10 17:45:51 +00:00
Mike McQuaid
1aee4e1e1c
Xcode 9.2
...
Update all the necessary versions but also cleanup some related
indentation and point the `Xcode.md` document to the code rather than
duplicating it there (which means it sometimes ends up outdated).
2017-12-08 14:59:15 +00:00
Shaun Jackman
0575d7b610
config: Print host glibc version [Linux]
2017-12-07 10:37:19 -08:00
Shaun Jackman
d79c5ade1a
Implement linkage for Linux
2017-12-03 16:22:51 -08:00
Shaun Jackman
e5847b652f
extend/pathname: Add os/linux/elf.rb
2017-12-03 16:22:51 -08:00
Mike McQuaid
8b9ac2b2e0
x11_requirement: remove custom minimum version.
...
This isn't desired or needed. Ensure older code still works, though.
2017-12-03 13:33:16 +00:00
Shaun Jackman
baa3d187d6
Add CVSRequirement and SubversionRequirement
...
Use these two requirements in DependencyCollector.
Remove the unused function MacOS::Xcode.provides_cvs?
2017-11-25 09:45:08 -08:00