| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2014-06-22 | Move the compiler-selecting methods to ENV/shared | Shaun Jackman | |
| Closes Homebrew/homebrew#30210. Signed-off-by: Jack Nagel <jacknagel@gmail.com> | |||
| 2014-06-22 | Move deprecated Formula class methods to compat | Jack Nagel | |
| These have all been moved to Formulary. | |||
| 2014-06-03 | Use a || b | Jack Nagel | |
| 2014-06-03 | Treat HOMEBREW_CC the same as --cc | Shaun Jackman | |
| Closes Homebrew/homebrew#29762. Signed-off-by: Jack Nagel <jacknagel@gmail.com> | |||
| 2014-06-03 | HOMEBREW_CC: Remove COMPILER_ALIASES | Shaun Jackman | |
| Signed-off-by: Jack Nagel <jacknagel@gmail.com> | |||
| 2014-05-26 | Share code for sanitizing ENV between both build environments | Jack Nagel | |
| 2014-05-19 | Remove deprecated --use-{gcc,llvm,clang} | Jack Nagel | |
| Closes Homebrew/homebrew#29380. | |||
| 2014-05-18 | Remove hardcoded reference to ENV | Jack Nagel | |
| 2014-05-18 | Add accessor for HOMEBREW_CC | Jack Nagel | |
| 2014-05-18 | ENV.cc= and ENV.cxx= are private | Jack Nagel | |
| 2014-05-18 | Use a case statement | Jack Nagel | |
| 2014-05-14 | Allow disabling arch flag filtering | Jack Nagel | |
| Closes Homebrew/homebrew#17352. | |||
| 2014-05-06 | ENV/shared: fix gcc versions edge case. | Mike McQuaid | |
| 2014-05-06 | shared: refactor gcc_version_formula. | Mike McQuaid | |
| Avoid throwing unnecessary exceptions by checking for paths existing and creating formulae as late as possible. Additionally use instance variables for some caching. | |||
| 2014-05-06 | shared: don't use Formula.factory unnecessarily. | Mike McQuaid | |
| Instead check if the path exists by using opt. | |||
| 2014-04-30 | ENV/shared: handle untapped e.g. gcc48 formula. | Mike McQuaid | |
| In this case we need to handle the throwing on an exception when attempting to initialize the gcc48 Formula object. This initialization should be unnecessary if the core GCC is already installed and rescued if not. | |||
| 2014-04-29 | ENV/shared: use homebrew/versions GCC if installed | Mike McQuaid | |
| Closes Homebrew/homebrew#28820. | |||
| 2014-04-23 | Support core GCC formula as a GCC compiler. | Mike McQuaid | |
| It is activated by the same mechanism as the Homebrew/versions compilers which now check if the GCC formula uses the same, correct version. References Homebrew/homebrew#28418. | |||
| 2014-04-23 | shared: don't warn about non-Apple compilers now. | Mike McQuaid | |
| 2014-04-04 | Clean up some concatentation inside interpolation | Jack Nagel | |
| 2014-02-02 | Correctly find Homebrew-installed fortran | Camillo Lugaresi | |
| Fixes Homebrew/homebrew#26338. Closes Homebrew/homebrew#26352. Signed-off-by: Jack Nagel <jacknagel@gmail.com> | |||
| 2014-01-04 | ENV: add method to prepend and create a PATH. | Mike McQuaid | |
| 2013-12-03 | Make CompilerSelectionError an InstallationError | Jack Nagel | |
| Fixes Homebrew/homebrew#19962. | |||
| 2013-12-02 | Fix typo | Jack Nagel | |
| 2013-12-02 | Yielded value is not used | Jack Nagel | |
| 2013-11-27 | Require Formula before using it | Jack Nagel | |
| 2013-10-16 | Allow older non-Apple GCCs to build things | Misty De Meo | |
| 2013-09-28 | Move ld64 into SharedEnvExtension | Misty De Meo | |
| Superenv is being tested on Xcode 3.1.4, so this needs to be supported in both ENVs, not just stdenv. | |||
| 2013-09-19 | ENV: Ensure @compiler is set | Misty De Meo | |
| If @compiler isn't set/checked by ENV.compiler and the ENV.clang/etc. methods, ENV.compiler may return unexpected results after fails_with picks a fallback compiler. See Homebrew/homebrew#22674. | |||
| 2013-09-17 | Move CompilerSelector logic into build env setup | Misty De Meo | |
| This moves the CompilerSelector fails_with logic into the build environment setup, making the compiler selection available before performing actions that depends on knowing what the compiler is, e.g. setting up PATH. ENV.setup_build_environment now optionally takes a Formula argument to provide the information necessary to do the fails_with, and the new ENV.validate_cc! extracts the fails_with logic from Build.install. | |||
| 2013-09-03 | ENV: convert values to strings in cc setters | Jack Nagel | |
| 2013-09-01 | Remove HOMEBREW_CC warning from ENV.compiler | Misty De Meo | |
| ENV.compiler is called outside setting up the build environment, where values unsupported for user input might have been specified - for example, GNU GCC executables. | |||
| 2013-09-01 | Provide reusable GNU GCC constants in ENV | Misty De Meo | |
| 2013-09-01 | Experimental support for non-Apple GCCs | Misty De Meo | |
| 2013-08-30 | ENV: only set fortran flags in one place | Jack Nagel | |
| 2013-08-30 | ENV: use fc accessor | Jack Nagel | |
| 2013-08-30 | Fix conditional in ENV.fortran | Jack Nagel | |
| 2013-08-30 | ENV: add cc and cxx setters | Jack Nagel | |
| 2013-08-30 | Simplify handling custom FCFLAGS | Jack Nagel | |
| 2013-08-30 | Remove PATH hack from ENV.fortran | Jack Nagel | |
| 2013-08-30 | Unify compiler selection logic | Misty De Meo | |
| This unifies the logic for selecting a compiler between superenv and stdenv. A variation of superenv's `determine_cc`, which now returns a symbol, has been moved into the shared ENV extension. Stdenv uses the result of this directly (as it's always used symbols), while superenv translates that back into a compiler string. This also has the effect of disabling HOMEBREW_USE_(gcc|llvm|clang) in stdenv, which have already been marked as deprecated for some time, and enables the HOMEBREW_CC= environment variable syntax from superenv in stdenv. | |||
| 2013-08-30 | Add --cc= syntax for selecting compilers | Misty De Meo | |
| 2013-08-29 | Remove default values from ENV.{cc,cxx} | Jack Nagel | |
| Closes Homebrew/homebrew#22138. | |||
| 2013-08-26 | Only perform coercion to string once in ENV.{append,prepend} | Jack Nagel | |
| 2013-08-19 | Use ENV.prepend_path | Jack Nagel | |
| 2013-08-19 | Add ENV.append_path | Jack Nagel | |
| 2013-08-19 | Fix typo | Jack Nagel | |
| 2013-08-19 | Use File::PATH_SEPARATOR globally instead of ':' | Amos Wenger | |
| On Unix, the path separator is ':', whereas on Windows, it is ';'. This is the first of a series of patch to bring macbrew's and winbrew's codebases closer together. The main places the magic constant ':' was being used were: - the $PATH environment variable - CMAKE-related environment variables - pkg-config related environment variables Closes Homebrew/homebrew#21921. Signed-off-by: Jack Nagel <jacknagel@gmail.com> | |||
| 2013-08-19 | More robust implementation of ENV.with_build_environment | Jack Nagel | |
| 2013-08-19 | Rename HomebrewEnvExtension to Stdenv | Jack Nagel | |
