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
Mike McQuaid
28a00e9d6c
development_tools: return llvm_clang Version class.
...
This was implemented before the rest of the file was refactored.
2016-11-21 08:49:29 +00:00
Mike McQuaid
a3f03e2066
development_tools: use begin/end
...
A more widely used style than relying on `if`/`else` returns.
2016-11-21 08:49:04 +00:00
Alex Wang
3e4544025d
Prefer brewed Clang over gcc-6 for needs :openmp
...
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-18 08:54:09 -05:00
Mike McQuaid
727263e906
development_tools: don't create Versions from nil
...
This cause issues when e.g. using `debrew.rb` on a failing `system`
command in a formula.
2016-11-15 14:43:56 +00:00
Misty De Meo
20bbeb5e9c
Return compiler versions and builds as Versions
2016-11-10 15:09:36 -08:00
Mike McQuaid
b1a16deb19
Use BSD tar's libarchive LZMA support if available
...
Avoid using an unnecessary `xz` dependency when it's not needed.
2016-10-15 13:10:37 +01:00
Markus Reiter
e851c9bf6c
Style/Alias: Prefer alias
.
2016-09-23 18:19:53 +02:00
Mike McQuaid
6693915399
rubocop --auto-correct all remaining files.
...
But remove some manual `.freeze`s on constants that shouldn't be
constants.
2016-09-17 16:14:13 +01:00
Mike McQuaid
ebddd65e8c
development_tools: simplify generic default_compiler logic.
2016-07-29 21:21:02 -06:00
Mike McQuaid
012fc4709a
development_tools: add install instruction helpers.
2016-07-27 15:05:42 -06: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