aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/extend/ENV/std.rb
AgeCommit message (Collapse)Author
2017-06-10Autocorrect Rubocop Style/PerlBackrefs.Mike McQuaid
2017-06-02Re-revert "Fix operator spacing."Markus Reiter
2017-06-01Revert "Fix operator spacing."ilovezfs
2017-05-31Fix operator spacing.Markus Reiter
2017-05-30Stdenv: Add ENV.libxml2 and ENV.x11 for LinuxBob W. Hogg
Add ENV.libxml2 primarily for the use of test do blocks. Add a dummy ENV.x11 function. See Linuxbrew/brew#356 and Linuxbrew/brew#382
2017-04-30Rename `PATH#validate` to `PATH#existing`.Markus Reiter
2017-04-30Remove `Array#to_path_s`.Markus Reiter
2017-04-30Use `to_path_s` for `determine_pkg_config_libdir`.Markus Reiter
2017-04-23Fix and remove various TODOs.Mike McQuaid
Fix those that can be done so without tearing Homebrew to pieces and remove the comments for those that can never be done.
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-11-13Use guard clauses.Markus Reiter
2016-09-24RuboCop: Style/AccessorMethodNameMarkus Reiter
2016-09-24Fix Style/GuardClause.Markus Reiter
2016-09-23Style/Alias: Prefer `alias`.Markus Reiter
2016-09-23Fix Style/IfUnlessModifier.Markus Reiter
2016-09-17rubocop --auto-correct all hash-rocket usage.Mike McQuaid
2016-09-13extend/ENV/std: fix Rubocop warnings.Mike McQuaid
2016-07-12stdenv: port to generic OS. (#456)Mike McQuaid
2016-06-16ENV: mark gcc-6 as supporting C++11 (#349)msbit
Add SharedEnvExtension#gcc_with_cxx11_support? to centralise the logic for checking whether a compiler is known to support C++11. Update logic to accept GCC 4.8 and above (including 6). Thereby also address oversight in #163 where support for GCC 6 was added without updating the C++11 compiler whitelist. Add tests for Superenv#cxx11. Closes #346.
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-08Make development tools code cross-platform.Mike McQuaid
2016-04-22Explicitly list -arch in LDFLAGS on LeopardMisty De Meo
2016-04-22Set -faltivec in CFLAGS on TigerMisty De Meo
Setting -mcpu and -mtune on Tiger with gcc-4.2 exposes a bug in one of the system headers, causing certain builds to fail. This can be fixed by adding -faltivec to CFLAGS. See: http://trac.macports.org/ticket/34213
2016-04-21stdenv: stop setting ACLOCAL_PATHMisty De Meo
2016-03-21add HOMEBREW_ENV_PATH internal variableXu Cheng
`Library/ENV` like `Library/Homebrew` is part of Homebrew basecode. It should be able to be accessed during the `brew tests`. By adding HOMEBREW_ENV_PATH variable, we allow test suit to locate these codes.
2016-03-19Revert "Avoid constructing paths by string interpolation"Tim D. Smith
This reverts commit 8c7f3d859e8f715b6c63e4fe75e7a636aee4167f.
2016-03-19Avoid constructing paths by string interpolationTim D. Smith
Closes Homebrew/homebrew#50154.
2015-12-10ENV: warn_if_universal_binaries_not_supportedRyan Hendrickson
Raise an error when attempting to create universal binaries with a GCC that can't do so. Closes Homebrew/homebrew#46630. Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
2015-11-17Stdenv: add note on possible future deprecationXu Cheng
Closes Homebrew/homebrew#46043. Signed-off-by: Xu Cheng <xucheng@me.com>
2015-11-17Stdenv should be tagged as private rather deprecatedXu Cheng
2015-10-18remove unnecessary require statementsXu Cheng
2015-08-29More API documentation.Mike McQuaid
And remove the documented stuff from the `example-formula.rb`. Closes Homebrew/homebrew#43241. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-08-21Add guards to calls that would trigger Xcode install requestsWilliam Woodruff
add guard in Formula#file_modified? to prevent git popup add guard in Superenv.bin before calling MacOS::Xcode.version add guard against missing Xcode/CLT in Xcode.uncached_version return nil instread of 0 in uncached_version when Xcode/CLT are not present, to distinguish from linuxbrew behavior checks against pour_bottle? and needs_relocation?, add guard around keg.relocate_install_names to check pour_bottle?/needs_relocation? as well needs_relocation? becomes skip_relocation?, use cellar attr to indicate relocation instead of does_not_need_relocation MacOS.can_build? becomes MacOS.has_apple_developer_tools?
2015-08-03Core files style updates.BrewTestBot
Closes Homebrew/homebrew#42354. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-06-21Pass full match to warn_about_non_apple_gccJack Nagel
2015-06-12Undocument return value of ENV.deparallelizeJack Nagel
It's not clear whether it returns MAKEFLAGS with or without -j<n>, and neither is particularly useful behavior, given you can easily get the exact value by calling ENV["MAKEFLAGS"]. So let's not commit to this API.
2015-05-16ENV: Add gcc-5 to compilers support C++11なつき
Closes Homebrew/homebrew#39758. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2015-05-08compilers: support gcc 5なつき
Closes Homebrew/homebrew#39470. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2015-04-25ENV.deparallelize: add block form for temporary changeMisty De Meo
Closes Homebrew/homebrew#39026.
2015-01-03Remove unnecessary encoding commentsJack Nagel
These files do not contain any non-ASCII characters.
2014-09-18Call reset in the superclass implementation of setup_build_environmentJack Nagel
2014-09-18Make --cc override the compiler selectorJack Nagel
2014-09-11Use only strings in ENV.x11Jack Nagel
2014-09-11The build environment should only deal with stringsJack Nagel
2014-09-11Don't directly assign Pathname objects to environment variablesJack Nagel
Fixes Homebrew/homebrew#32234.
2014-08-18Don't overwrite optimization flag map in ENV.clangJack Nagel
2014-08-09Pull effective arch detection into a methodJack Nagel
2014-08-06Use opt_binJack Nagel
2014-06-22Use Pathname#splitJack Nagel
2014-06-22Move the compiler-selecting methods to ENV/sharedShaun Jackman
Closes Homebrew/homebrew#30210. Signed-off-by: Jack Nagel <jacknagel@gmail.com>