9993 Commits

Author SHA1 Message Date
Mike McQuaid
fcb9659052 Merge pull request #967 from MikeMcQuaid/keg-all-top-dirs
keg: add ALL_TOP_LEVEL_DIRECTORIES constant.
2016-09-15 11:49:28 +01:00
ilovezfs
1d7aa1fe0b superenv: help Autotools with 10.12 SDK on 10.11
The GNU Autotools tests for whether a given symbol is defined are
reliably coming to incorrect conclusions on 10.11 with the 10.12 SDK
in Xcode 8. This overrides its decisions by forcing the right answer
in superenv using ac_cv_func_* environment variables and setting them to
"no" on 10.11. The list of problematic symbols is from

  grep 'weak$os10.11' MacOSX.sdk/usr/lib/system/libsystem_c.tbd
2016-09-15 03:34:43 -07:00
Mike McQuaid
e02962f84e Merge pull request #968 from MikeMcQuaid/utils-link-paths
utils: link_src_dst_dirs: paths not files.
2016-09-15 10:10:08 +01:00
Mike McQuaid
842d6ce8bd keg: add ALL_TOP_LEVEL_DIRECTORIES constant.
This is used in diagnostic (and will be used in other places later)
rather than hard-coding other directories later.
2016-09-15 09:20:39 +01:00
Mike McQuaid
9ee4426cf9 utils: link_src_dst_dirs: paths not files.
This can ask for you to remove directories (e.g.
`/usr/local/share/homebrew`) so don’t call this files to avoid
confusion.
2016-09-15 09:19:36 +01:00
Mike McQuaid
2818156280 Merge pull request #954 from aw1621107/require-scons-only-immediate-dep
Make scons use stdenv only if immediate build dep
2016-09-15 09:16:19 +01:00
Mike McQuaid
985e772278 Merge pull request #955 from aw1621107/allow-gcc-HEAD
Teach brew to recognize gcc-HEAD as valid compiler
2016-09-14 20:50:57 +01:00
Alex Wang
4cec6f5dd0 Teach brew to recognize gcc-HEAD as valid compiler
Building gcc with --HEAD results in most of the executables not having a
version suffix, e.g. Building/installing gcc 6 would result in gcc-6,
g++-6, etc. being installed, while building/installing gcc --HEAD would
result in gcc-, g++-, etc. being installed.

The lack of a version suffix prevented brew from recognizing a valid gcc
install, resulting in brew instructing users to install gcc before
building certain formulae even though gcc is installed.

A patch to the gcc formula makes the version number for --HEAD builds
the major version number of the stable version + 1 (7 at this time).
This patch teaches brew to recognize current --HEAD builds as valid
compilers.
2016-09-14 11:42:45 -04:00
Zhiming Wang
54884cd9ce Merge pull request #903 from zmwangx/always-show-dev-commands
cmd/commands: always show developer commands
2016-09-14 02:50:32 -04:00
Dominyk Tiller
278ae8415c Merge pull request #957 from DomT4/xcode_8_stable
xcode: 8.0 is no longer prerelease
2016-09-14 04:29:46 +01:00
Dominyk Tiller
ce359b208d
xcode: 8.0 is no longer prerelease 2016-09-14 03:40:43 +01:00
Dominyk Tiller
95e1ff6a11
pkg-config: update zlib for macOS Sierra 2016-09-14 03:01:47 +01:00
Markus Reiter
b1746de260 Merge pull request #940 from reitermarkus/fix-untapped-installation
Fix cask installation from untapped Tap not working.
2016-09-14 01:54:52 +02:00
Alex Wang
71063aa2e3 Make scons use stdenv only if immediate build dep
formula_installer will use stdenv if scons is anywhere in the formula's
recursive dependency list:

    https://github.com/Homebrew/legacy-homebrew/issues/40401#issuecomment-110066355

Having scons as a dependency should only require stdenv if it is an
immediate build dependency, as otherwise scons shouldn't be invoked.
2016-09-13 12:36:56 -04:00
Mike McQuaid
054b1a8f73 test-bot: fix test default formula handling.
Move the test default formula handling to after all the other formulae
additions are so it'll only be added if no formulae are detected
already in a PR.
2016-09-13 13:25:33 +01:00
Mike McQuaid
0f03506adc test-bot: don't run Homebrew tests for taps PRs.
Check the repository directly rather than @test_default_formula.
2016-09-13 10:36:20 +01:00
Mike McQuaid
3d3a03f75a Merge pull request #950 from MikeMcQuaid/extend-rubocop
Fix Library/Homebrew/extend RuboCop warnings
2016-09-13 09:59:57 +01:00
Mike McQuaid
0316830d4f test-bot: also build testing bottle. 2016-09-13 08:58:12 +01:00
Mike McQuaid
4295936322 bottle: allow forcing tap when not present. 2016-09-13 08:57:55 +01:00
Mike McQuaid
c3a8701dc4 test-bot: default to building testbottest.
This provides an integration test for `test-bot.rb` by performing
compilation of an actual formula.
2016-09-13 08:18:43 +01:00
Mike McQuaid
b42f646cec extend/pathname: fix Rubocop warnings. 2016-09-13 07:57:15 +01:00
Mike McQuaid
6a81782753 extend/os/mac/development_tools: fix Rubocop warnings. 2016-09-13 07:57:09 +01:00
Mike McQuaid
df5605fa01 extend/fileutils: fix Rubocop warnings. 2016-09-13 07:57:07 +01:00
Mike McQuaid
fb3bec8d70 extend/ENV/super: fix Rubocop warnings. 2016-09-13 07:57:06 +01:00
Mike McQuaid
c3dab72e37 extend/ENV/std: fix Rubocop warnings. 2016-09-13 07:57:04 +01:00
Mike McQuaid
fe661a809c extend/ENV/shared: fix Rubocop warnings. 2016-09-13 07:57:02 +01:00
Mike McQuaid
17a7c23881 extend/ARGV: fix Rubocop warnings. 2016-09-13 07:56:57 +01:00
Mike McQuaid
ee545fa19a Library/Homebrew/test: add testbottest formula/tarball.
Minimal C program and Makefile used for testing Homebrew.
2016-09-12 21:36:12 +01:00
Zhiming Wang
5a264cf597 Merge pull request #947 from zmwangx/fix-test-bot-desc
test-bot: fix summary
2016-09-12 10:22:27 -04:00
Dominyk Tiller
553ef05ab6 Merge pull request #939 from DomT4/guile
keg: make guile's site-dir persistent
2016-09-12 15:10:36 +01:00
Zhiming Wang
8ce4ca1de3
test-bot: fix summary 2016-09-12 09:09:23 -04:00
Mike McQuaid
793a75f3f3 test-bot: fix bottling non-testing jobs.
Need to handle when the `BOT_PARAMS` are `nil`.
2016-09-12 13:51:32 +01:00
Mike McQuaid
5da42b5a5f test-bot: fix multiline regex. 2016-09-12 10:28:52 +01:00
Mike McQuaid
debc202d1e bottle: remove debug statements. 2016-09-12 09:57:45 +01:00
Mike McQuaid
e4ef1f062e test-bot: fix regex placement. 2016-09-12 08:52:19 +01:00
Mike McQuaid
53c3123b53 Merge pull request #929 from MikeMcQuaid/test-bot-jenkinsfile
test-bot: handle more Jenkins configurations.
2016-09-12 08:09:39 +01:00
Mike McQuaid
59116d08ca Merge pull request #927 from MikeMcQuaid/dev-cmd-rubocop
Fix Library/Homebrew/dev-cmd RuboCop warnings
2016-09-12 08:09:29 +01:00
Mike McQuaid
9a6999c302 Merge pull request #925 from MikeMcQuaid/utils-rubocop
Fix Library/Homebrew/utils RuboCop warnings
2016-09-12 08:09:00 +01:00
Mike McQuaid
b93b60e6ca Merge pull request #924 from MikeMcQuaid/test-rubocop
Fix Library/Homebrew/test RuboCop warnings
2016-09-12 08:08:12 +01:00
Markus Reiter
3b6d80913a Fix cask installation from untapped Tap not working. 2016-09-12 06:21:16 +02:00
Dominyk Tiller
5d9ee6b1d4 Merge pull request #917 from DomT4/keg_only_pkg_config
caveats: highlight PKG_CONFIG_PATH if exists
2016-09-12 05:04:14 +01:00
Dominyk Tiller
2aa32ea191
keg: make guile's site-dir persistent
Things that install Guile scheme objects should be doing so in
HOMEBREW_PREFIX/share/guile/site, which should be persistent rather
than a symlink to any formulae's Cellar, not even guile's necessarily as
f061d864d9
managed to expose.

I believe guile isn't actually configured correctly to expect
this directory, but since absolutely nobody has complained to
date as far as I can find & `gnutls` seems to be the only formula
using it this way the temptation is to leave it misconfigured
& use this directory for site schemes.

I don't really know the deeper issues around messing with Guile's
configuration so going for a minimal fix seems the safest option.
2016-09-12 03:24:53 +01:00
Mike McQuaid
e24a890e59 test/test_tab: fix Rubocop warnings. 2016-09-11 21:48:06 +01:00
Mike McQuaid
d937f23932 test/test_shell: fix Rubocop warnings. 2016-09-11 21:48:06 +01:00
Mike McQuaid
fc7ac2f07b test/test_resource: fix Rubocop warnings. 2016-09-11 21:48:06 +01:00
Mike McQuaid
501774e3bc test/test_os_mac_language: fix Rubocop warnings. 2016-09-11 21:48:06 +01:00
Mike McQuaid
e89de3351f test/test_integration_cmds: fix Rubocop warnings. 2016-09-11 21:48:05 +01:00
Mike McQuaid
2cf6184735 test/test_formula_installer: fix Rubocop warnings. 2016-09-11 21:48:05 +01:00
Mike McQuaid
0f09674fe6 test/test_formula: fix Rubocop warnings. 2016-09-11 21:48:05 +01:00
Mike McQuaid
219c373115 test/test_dependency_collector: fix Rubocop warnings. 2016-09-11 21:48:05 +01:00