aboutsummaryrefslogtreecommitdiffstats
path: root/Library/ENV/4.3
AgeCommit message (Collapse)Author
2014-03-14cc: filter more flags clang hates.Mike McQuaid
Should help with the Xcode 5.1 madness. Closes Homebrew/homebrew#27549.
2014-02-28Don't munge arguments when configure is run by makeJack Nagel
Fixes Homebrew/homebrew-versions#364.
2014-01-28pod2man: Fix for machines upgraded to MavericksManpreet Singh
Closes Homebrew/homebrew#24590. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2014-01-27Revert "Add python superenv wrapper"Misty De Meo
This reverts commit 90e22e389c539b25fe7864645bfe5e2a9ce7452f.
2014-01-27Redo python shim script in rubyMisty De Meo
2014-01-26Add python superenv wrapperMisty De Meo
Closes Homebrew/homebrew#26140. Signed-off-by: Misty De Meo <mistydemeo@gmail.com>
2013-12-27Apply the same filtering to -I paths as -L pathsJack Nagel
2013-12-27superenv: don't accidentally filter out HOMEBREW_TEMPJack Nagel
Fixes Homebrew/homebrew#25471.
2013-12-27Escape prefix when interpolating into regexpJack Nagel
2013-12-04Revert "Revert "Split bsdmake wrapper out from make wrapper""Jack Nagel
I think enough time has passed that it is safe to do this now. This reverts commit 1003161a848970e782633959904ea776dda7e48b.
2013-11-26Fix parsing of "-I foo" and "-L foo" under superenvJack Nagel
Fixes Homebrew/homebrew#24654.
2013-11-21Avoid globals when ivars will doJack Nagel
2013-11-21Move some global methods into the context in which they usedJack Nagel
2013-11-21Remove some monkeypatchesJack Nagel
2013-11-21Use grep instead of select + matchJack Nagel
2013-11-21Allow -Wno- flags to pass throughJack Nagel
These inhibit warnings-as-errors, so allow them to pass through.
2013-11-20Remove uses of -no-cpp-precompJack Nagel
2013-11-20Simplify passing archflags to cc wrapperJack Nagel
2013-11-20Move optimization flag selection out of cc wrapperJack Nagel
The mapping of architectures to optimization flags is now retrieved from Hardware::CPU and the selected flags are passed as an environmen variable, rather than duplicated in the cc wrapper and re-calculated on every invocation of the compiler. Closes Homebrew/homebrew#24540.
2013-11-17Remove outdated TODOsJack Nagel
2013-11-17Write debug log in non-verbose modeJack Nagel
2013-11-17Replace error-prone superenv debug ouput with a separate log fileJack Nagel
2013-11-15Improve heuristic for detecting configureJack Nagel
2013-11-14Revert "Split bsdmake wrapper out from make wrapper"Jack Nagel
This reverts commit ba7ec6eb2f650ebc5a0ae09547eea423dbd45173. Temporarily mitigate bug fixed in 1153d0f9e20d0b6a19203707b609634f8fea1ad5.
2013-11-13Add ant wrapper to superenvJack Nagel
Closes Homebrew/homebrew#24285. Refs Homebrew/homebrew#22199.
2013-11-13Split bsdmake wrapper out from make wrapperJack Nagel
2013-11-12Allow changing the optimization level under superenvJack Nagel
2013-11-12Extract optflags method from cflags methodJack Nagel
2013-11-12Extract archflags method from cflags methodJack Nagel
2013-11-11Only pass cflags during configure and makeJack Nagel
Fixes Homebrew/homebrew#24172.
2013-11-10Pass optimization and arch flags during configureJack Nagel
Closes Homebrew/homebrew#24106.
2013-11-10Extract cxxflags method from cflags methodJack Nagel
2013-11-09superenv: fix versioned g++ invocations.Bulat Shakirzyanov
Closes Homebrew/homebrew#24104. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2013-11-07superenv: add shims for gcc4.{3-9}.Mike McQuaid
2013-11-04Disable make_fuss when running configure invoked by makeJack Nagel
The cc wrapper's make_fuss is only enabled when HOMEBREW_CCCFG contains 'O', which is set by the make wrapper. This means it is disable when running configure scripts. However, this does not include configure scripts invoked by make, which inherit the value of HOMEBREW_CCCFG from the make process. make_fuss will be enabled for these scripts, cause breakage. Configure scripts generated by autoconf 2.56 (November 2002) or later export DUALCASE into the environment of subprocesses. This variable is only used by the MKS shell, so we can use it as a heuristic to determine if we are running as a subprocess of a configure script.
2013-11-03Move superenv make_fuss output back to stderrJack Nagel
In 6e3a585607116d06f47aac2ff5a649f2898216f0 ("Improve superenv add/remove message."), more debugging information was added to the "make_fuss" output generated by the superenv compiler wrapper. This resulted in some breakage in configure scripts that inspect stderr, so in e1bd9b9e980c433878e60833f09964b8ca996657 ("Don't use stderr for make_fuss output."), the output was moved to stdout. This only appeared to solve the problem, since stdout is buffered but stderr is not. Later, in fb749e47509b77b5bd89e7b14f0a1097d4af7f40, Homebrew started generating logs even in verbose mode. This had the side effect of moving stdout/stderr from a TTY to a pipe, and thus stdout was no longer line-buffered. Since it was not line-buffered, and Ruby's internal buffers were not flushed, the debug output was being lost. This was addressed in 2d5724af8613c820b8c14f4171fe1de6a17f10c3 ("cc: ensure wrapper output is always flushed"). This caused stdout to be flushed during configure, which resurfaced the original bug that prompted e1bd9b9e980c433878e60833f09964b8ca996657. This was fixed by disabling the debug output during configure, in f1779837a46a58520560fba3850a0e2992284d0a. Since the original bug has been addressed in a more robust way, we can move the debug output back to stderr. Fixes Homebrew/homebrew#23923.
2013-11-02cc: disable make_fuss during configureJack Nagel
Fixes Homebrew/homebrew#23885.
2013-11-01cc: ensure wrapper output is always flushedJack Nagel
2013-10-26Clang standard library selection.Xiyue Deng
* Add new ENV function for selecting stdlib for Clang. - The selection is no-op for non-system-clang compilers. - Both superenv and stdenv are handled. * Add new HOMEBREW_CCCFG flag and ccwrapper handling.
2013-10-26C++11 support.Xiyue Deng
* Add options and ENV method to specify building in C++11 mode. - Set C++ compiler flags to enable C++11 mode. - To add options to support C++11 mode, a formula can now use option :cxx11 to provide "--c++11" option, and detect and enable C++11 support in install method using ENV.cxx11 if build.cxx11? Closes Homebrew/homebrew#22453.
2013-10-20Don't use stderr for make_fuss output.Xiyue Deng
* Using stderr breaks some configure script which fails due to contents available in stderr.
2013-10-19superenv: always respect HOMEBREW_CCMisty De Meo
Closes Homebrew/homebrew#23322.
2013-10-18Improve superenv add/remove message.Xiyue Deng
* Now it includes all flags that are added or removed by superenv when passing "--verbose" or envvar VERBOSE or HOMEBREW_VERBOSE is set.
2013-09-27pod2man: add ENV wrapper.Mike McQuaid
Closes Homebrew/homebrew#22528.
2013-09-25Silence xcrun output in wrapperMisty De Meo
Our wrapper always runs the real xcrun at least once, to try to find the path of the tool being run, but this meant that we were generating a huge number of error messages on every cc invocaton. Mostly this was annoying but harmless, but notably it managed to break the compilation of go.
2013-09-01Experimental support for non-Apple GCCsMisty De Meo
2013-08-31Don't duplicate -E argument in ccE modeJack Nagel
2013-08-31Differentiate between "cpp" and "cc-E" modesJack Nagel
2013-08-31Reorder cc wrapper modes by frequencyJack Nagel
2013-08-29superenv: fix no-op system path filteringJack Nagel