Shaun Jackman
5198e80724
cpu: fix SSE4 detection on Linux
2017-07-22 11:29:19 +02:00
Misty De Meo
890788af65
FileUtils.make: don't bypass superenv
2017-07-15 17:40:21 -07:00
ilovezfs
0d03eef655
Revert "FileUtils.make: don't bypass superenv"
2017-07-12 02:58:01 -07:00
Misty De Meo
2aefd7eed6
FileUtils.make: don't bypass superenv
2017-07-07 16:23:46 -07:00
Jonathan Chang
5ab745574c
cpu: fix SSE3 detection on Linux
2017-07-05 13:03:39 -07:00
Markus Reiter
3b4ee58c49
Refactor using Forwardable
and DelegateClass
.
2017-06-28 09:25:31 +02:00
Mike McQuaid
ed9942fbd1
Merge pull request #2769 from MikeMcQuaid/rubocop-no-perl-backrefs
...
rubocop: don’t allow Perl regex backrefs.
2017-06-12 16:47:28 +01:00
Mike McQuaid
021cef4b2b
Autocorrect Rubocop Style/SpecialGlobalVars.
2017-06-12 09:11:42 +01:00
Mike McQuaid
7a0aff1080
Autocorrect Rubocop Style/PerlBackrefs.
2017-06-10 20:23:20 +03:00
constXife
4f5643a676
Fix undefined variable ruby_version
2017-06-06 13:45:09 +07:00
Misty De Meo
ffa65c7498
String: backport #match? from 2.4.0
2017-06-03 20:47:39 -07:00
Markus Reiter
2d6ae61314
Re-revert "Fix operator spacing."
2017-06-02 19:22:05 +02:00
ilovezfs
197392b56d
Revert "Fix operator spacing."
2017-06-01 04:06:40 -07:00
Markus Reiter
d34ba7395b
Fix operator spacing.
2017-05-31 19:53:41 +02:00
Mike McQuaid
17650628b3
Merge pull request #2700 from sjackman/env-std-linux
...
Stdenv: Add ENV.libxml2 and ENV.x11 for Linux
2017-05-31 08:33:55 +01:00
Misty De Meo
a40291ee4a
Pathname: use Digest::SHA256 alias
...
Digest::SHA2 wasn't exposed under that name in older versions of Ruby.
2017-05-30 18:30:16 -07:00
Bob W. Hogg
e2c707d8b1
Stdenv: Add ENV.libxml2 and ENV.x11 for Linux
...
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-05-30 10:37:26 -07:00
Mike McQuaid
4356016b4a
Use parallel RuboCop
...
This requires updating to Rubocop 0.49.0 which will require some fixes
to rules, in Homebrew/brew and Homebrew/homebrew-core but opening this
for now so I remember.
2017-05-29 18:42:02 +01:00
Mike McQuaid
945cfc7cb7
diagnostic: move some more macOS doctor checks.
...
Move some `brew doctor` checks that are pretty macOS specific so they
are only run on macOS.
2017-05-27 13:34:59 +01:00
Markus Reiter
5828eefd01
Remove to_s
from some Pathname
s.
2017-05-08 13:37:28 +02:00
Markus Reiter
24f48ae7d9
Use PATH#select
.
2017-04-30 21:11:28 +02:00
Markus Reiter
4d5d6a65e3
Rename PATH#validate
to PATH#existing
.
2017-04-30 21:11:28 +02:00
Markus Reiter
f8ad9d7efd
Use PATH
where possible.
2017-04-30 21:11:27 +02:00
Markus Reiter
314483f75c
Remove Array#to_path_s
.
2017-04-30 21:11:27 +02:00
Markus Reiter
3e4fe279b0
Use to_path_s
for determine_pkg_config_libdir
.
2017-04-30 21:11:27 +02:00
Mike McQuaid
45a7730f61
Fix and remove various TODOs.
...
Fix those that can be done so without tearing Homebrew to pieces and
remove the comments for those that can never be done.
2017-04-23 15:10:18 +01:00
Mike McQuaid
11acadaa50
Merge pull request #2524 from MikeMcQuaid/more-env-filtering-fixes
...
Hide sensitive tokens from install/test/post.
2017-04-23 09:45:47 +01:00
Mike McQuaid
64e2e6e862
super: re-add set_cpu_flags.
...
It's used by ENV.fortran.
Fixes https://github.com/Homebrew/brew/issues/2530
Fixes https://github.com/Homebrew/homebrew-science/issues/5485
2017-04-22 21:56:32 +01:00
Mike McQuaid
d02b4f321d
Hide sensitive tokens from install/test/post.
...
Hide these tokens to avoid malicious subprocesses e.g. sending them
over the network. Also, support using these tokens with environment
filtering and clear `HOMEBREW_PATH` from subprocesses to stop them
sniffing it. Finally, use `HOMEBREW_PATH` to detect Homebrew’s user’s
PATH for e.g. `brew doctor` etc.
2017-04-22 16:31:19 +01:00
Mike McQuaid
ba3c46d24f
More deprecations.
...
Deprecate more methods. Internal APIs have been verified to be unused
elsewhere and removed. External APIs have had deprecation methods added.
Existing deprecations have been either upgraded to produce warnings or
no longer deprecated and the reasoning documented.
2017-04-22 16:28:07 +01:00
Mike McQuaid
2be7999878
Merge pull request #2274 from rwhogg/fuse-requirement
...
Port OsxfuseRequirement to Linux
2017-04-20 17:14:42 +01:00
Markus Reiter
d251be1eeb
Ensure readline_nonblock
returns an UTF-8 string.
2017-04-20 04:47:03 +02:00
Mike McQuaid
3f8722c971
audit: allow skipping audit methods.
...
Add `--only` and `--except` methods which can be used to selectively
enable or disable audit groups.
2017-04-18 08:17:26 +01:00
Bob W. Hogg
608d72a35f
OsxfuseRequirement: Port to Linux
2017-04-15 21:20:09 -07:00
Misty De Meo
944bff4de2
Mac Hardware: provide a more Mac-specific implementation of can_run?
2017-04-15 22:59:55 +08:00
Mike McQuaid
d84655efb9
Merge pull request #2442 from tdsmith/fix-symlink-relocation
...
Virtualenv relocation fixes
2017-04-05 09:32:52 +01:00
Mike McQuaid
715132642f
Revert "keg_relocate: Don't relocate dylib IDs containing metavariables."
2017-04-04 13:29:27 +01:00
Maxim Belkin
573aeff115
Add Skylake to Linux hardware list
2017-04-02 15:27:19 -07:00
Mike McQuaid
a084776f95
diagnostic: also ignore outdated CLT on Travis CI.
2017-04-02 17:24:33 +01:00
Tim D. Smith
2f4eaf26a0
Use extend/OS mechanism for grep args
2017-04-02 09:04:49 -07:00
EricFromCanada
60f6dfea14
update suggested Xcode/CLT download URLs
2017-03-28 11:12:34 -04:00
Mike McQuaid
80e95b684e
blacklist: move to missing_formula class instead.
...
This will allow extending this class so it can be used by more than
just blacklisting.
2017-03-20 18:20:31 +02:00
Mike McQuaid
ff77013f48
Merge pull request #2337 from sjackman/linux-system-config
...
Add extend/os/linux/system_config.rb
2017-03-17 16:48:51 +02:00
Mike McQuaid
a9cd74de59
Merge pull request #2279 from sjackman/determine_path
...
determine_path: Fix tests FormulaUnavailableError
2017-03-17 15:57:30 +02:00
Shaun Jackman
0d5a53ba2c
Add extend/os/linux/system_config.rb
...
Report the Linux kernel, OS, and gcc versions.
2017-03-16 17:59:26 -07:00
Viktor Szakats
cc8f029f22
secure urls + remove -k from in-doc curl command
2017-03-14 17:27:11 +00:00
ilovezfs
76db07e1b5
env: make prepend_path ignore system paths
...
`ENV.prepend_path "PATH", which("emacs").dirname` in the emacs
requirement was causing us to end up invoking /usr/bin/clang instead
of /usr/local/Homebrew/Library/Homebrew/shims/super/clang.
2017-03-11 01:59:50 -08:00
Shaun Jackman
c6cbf9590d
linux: Add ARM to CPU.type
2017-03-10 10:30:11 -08:00
Shaun Jackman
31e5ed28d1
determine_path: Fix tests FormulaUnavailableError
...
Fix the brew tests error:
InstallTests#test_a_basic_install:
FormulaUnavailableError: No available formula with the name "gcc"
Library/Homebrew/formulary.rb:231:in `get_formula'
Library/Homebrew/formulary.rb:259:in `factory'
Library/Homebrew/extend/ENV/shared.rb:287:in `gcc_version_formula'
Library/Homebrew/extend/ENV/super.rb:124:in `determine_path'
Library/Homebrew/extend/ENV/super.rb:44:in `setup_build_environment'
Library/Homebrew/build.rb:87:in `install'
Library/Homebrew/build.rb:201:in `<main>'
2017-03-07 09:03:33 -08:00
Mike McQuaid
45f52f77e5
Merge pull request #2244 from jonchang/java
...
java_requirement: don't consider macOS Java stub
2017-03-05 15:32:00 +01:00