aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/development_tools.rb
AgeCommit message (Collapse)Author
2017-12-20DevelopmentTools.installed?: Use locateShaun Jackman
Use locate rather than which to search for clang or gcc. locate searches both $HOMEBREW_PREFIX/bin and /usr/bin.
2017-09-16Tweaks for older Mac OS X versions.Mike McQuaid
- `brew update` should try to install `curl` before `git` on older versions of Mac OS X where it is needed for accessing modern SSL certificates. - We don't need an HTTP mirror for `git` because `curl` will already be installed before it is downloaded. - Don't recommend GCC on Mac OS X versions where it can't be built with the default system compiler. - Start using the Homebrew `curl` on Mac OS X versions where it is needed as soon as it is installed.
2017-06-02Re-revert "Fix operator spacing."Markus Reiter
2017-06-01Revert "Fix operator spacing."ilovezfs
2017-05-31Fix operator spacing.Markus Reiter
2017-03-05Don't check Subversion HTTPS pre-Sierra.Mike McQuaid
The system Subversion doesn't handle new certificate authorities (e.g. Let's Encrypt) well enough for this check to be useful.
2016-12-30Merge pull request #1701 from MikeMcQuaid/deprecate-std-superenv-stuffMike McQuaid
ENV: deprecate old methods.
2016-12-30ENV: deprecate old methods.Mike McQuaid
These should have been deprecated long ago but we didn’t really have the necessary framework to do so.
2016-12-30audit: use new curl_args form.Mike McQuaid
This will use Curl’s default user agent to reduce homepage errors and provides a function that can be used for other audits to perform similar tests on URLs.
2016-12-29development_tools: remove unused method.Mike McQuaid
2016-11-21development_tools: return llvm_clang Version class.Mike McQuaid
This was implemented before the rest of the file was refactored.
2016-11-21development_tools: use begin/endMike McQuaid
A more widely used style than relying on `if`/`else` returns.
2016-11-18Prefer brewed Clang over gcc-6 for needs :openmpAlex Wang
Clang has fully implemented OpenMP support as of LLVM 3.7, so if OpenMP is required by a formula gcc is no longer the only choice of compiler. Clang should be preferred over gcc because using gcc meant linking against libstdc++, which is ABI incompatible with libc++. This may be unnoticeable for some users, but it causes other builds to fail, e.g. pstoedit when imagemagick was built with OpenMP. pstoedit is required for the octave formula, so for some users this could be a significant problem.
2016-11-15development_tools: don't create Versions from `nil`Mike McQuaid
This cause issues when e.g. using `debrew.rb` on a failing `system` command in a formula.
2016-11-10Return compiler versions and builds as VersionsMisty De Meo
2016-10-15Use BSD tar's libarchive LZMA support if availableMike McQuaid
Avoid using an unnecessary `xz` dependency when it's not needed.
2016-09-23Style/Alias: Prefer `alias`.Markus Reiter
2016-09-17rubocop --auto-correct all remaining files.Mike McQuaid
But remove some manual `.freeze`s on constants that shouldn't be constants.
2016-07-29development_tools: simplify generic default_compiler logic.Mike McQuaid
2016-07-27development_tools: add install instruction helpers.Mike McQuaid
2016-05-22Remove LLVM-GCC support. (#252)Mike McQuaid
At this point it's never a good compiler to use so let's just remove it.
2016-05-10Move more methods to DevelopmentTools.Mike McQuaid
Closes #1028.
2016-05-08Make development tools code cross-platform.Mike McQuaid