Mike McQuaid
e10d61b81b
Merge pull request #5447 from jonchang/linux-doctor
...
doctor: check supported versions of glibc and kernel [Linux]
2019-01-02 19:11:05 +00:00
Jonathan Chang
9db92a0203
Revert "Revert "diagnostic: share prefix check""
2019-01-01 18:11:59 -08:00
Jonathan Chang
76d7b586ce
diagnostic: check kernel, glibc versions [Linux]
2019-01-01 16:10:43 -08:00
Jonathan Chang
c32283e5be
diagnostic: use universal pull request message
2019-01-01 15:48:00 -08:00
Mike McQuaid
61fa59e95b
Remove Travis CI specific code
...
We’re no longer using this for our CI so this is no longer necessary.
Also, migrate `brew tap-new` to use Azure pipelines.
2018-12-30 21:13:24 +00:00
Jonathan Chang
0a5fed1938
Revert "diagnostic: share prefix check"
2018-12-29 14:31:39 -08:00
Jonathan Chang
0d0eac8078
diagnostic: share prefix check
2018-12-27 11:23:18 -08:00
Mike McQuaid
a2f93fe018
hardware: tweak macOS CFLAGS.
...
- High Sierra and Sierra support Penryn CPUs.
- `-march` implies the relevant `-msse*` flags.
2018-12-22 11:41:49 +00:00
Mike McQuaid
04fbdce3bb
hardware: use Nehalem flags on >= Sierra.
...
See https://en.wikipedia.org/wiki/MacOS_Sierra#System_requirements .
2018-12-20 20:10:54 +00:00
Shaun Jackman
e1b1448fbd
setup_build_environment: Set search path [Linux]
...
Set the header and library search path for Stdenv.
Fix brew test for Linux, which uses Stdenv.
2018-12-17 15:04:18 -08:00
Shaun Jackman
c79deae996
Merge pull request #5333 from sjackman/java-home
...
Fix Language::Java::java_home_cmd for Linux
2018-11-30 08:10:47 -08:00
Shaun Jackman
e8b22690a0
Fix Language::Java::java_home_env for Linux
...
/usr/libexec/java_home is specific to macOS.
Language::Java::java_home_cmd is not implemented on Linux and raises
NotImplementedError.
Add private Language::Java::java_home_shell and use it instead of java_home_cmd.
Add public Language::Java::java_home for use by formulae.
2018-11-29 12:50:31 -08:00
Mike McQuaid
6c49c878cd
os/mac/diagnostic: output non-default Xcode prefix.
...
This should help people find it when this is a fatal error (and they
don't look at `brew config`).
2018-11-28 14:25:36 +00:00
Mike McQuaid
4021aa80df
Merge pull request #5310 from sjackman/openjdk
...
DependencyCollector: Add java_dep_if_needed [Linux]
2018-11-17 12:35:01 +00:00
EricFromCanada
81e2fbd032
docs: update instructions for OS X < 10.9
2018-11-14 16:44:35 -05:00
Shaun Jackman
d2dba5fc4a
DependencyCollector: Add java_dep_if_needed [Linux]
...
Use the openjdk formula if it's installed.
Use the host's Java if it's sufficient.
Otherwise install the openjdk formula.
2018-11-11 10:18:24 -08:00
Mike McQuaid
bada451a81
Merge pull request #5240 from MikeMcQuaid/rubocop-bump
...
RuboCop 0.60.0
2018-11-04 11:48:51 +00:00
nvg
0ca61d55ae
Check if umask is 000 in brew doctor
2018-11-02 17:02:47 -07:00
Mike McQuaid
737b84b54b
brew style --fix
fixes.
2018-11-02 17:29:23 +00:00
Mike McQuaid
b0198d097e
os/mac/utils/bottles: handle Linux bottles.
...
These are an invalid argument on macOS but still need to be handled.
2018-10-24 11:54:56 +01:00
Shaun Jackman
4cbcf3ef2a
Keg::MUST_EXIST_DIRECTORIES: Frameworks is for macOS
2018-10-23 21:51:29 -07:00
Shaun Jackman
97a2c620a2
Merge pull request #5018 from sjackman/relocation-formulae
...
relocation_formulae: Poured bottles depend on gcc [Linux]
2018-10-23 11:15:42 -07:00
Shaun Jackman
385a05e5ae
Patching the dynamic linker of glibc breaks it [Linux]
2018-10-23 10:18:53 -07:00
Shaun Jackman
605e61095a
relocation_formulae: Poured bottles depend on gcc [Linux]
2018-10-23 09:03:20 -07:00
Mike McQuaid
51af87f85f
Add HOMEBREW_FORCE_HOMEBREW_ON_LINUX
...
This serves a similar purpose to the HOMEBREW_FORCE_HOMEBREW_ORG
variable but applies to more settings.
2018-10-20 13:58:27 +01:00
Mike McQuaid
0c0275771d
Cleanup Requirements
...
- remove unused NonBinaryOsxfuseRequirement
- import CodeSignRequirement from Homebrew/homebrew-core
- remove unused UnsignedKextRequirement
- don’t allow custom name for X11Requirement
2018-10-19 16:38:41 +01:00
EricFromCanada
20167e5f1b
Adjust comments to tidy API docs output.
2018-10-18 21:42:43 -04:00
Mike McQuaid
8dd59548ed
bottles: make or_later
the default.
...
When Mojave was in beta we made it so that High Sierra bottles would
automatically be used on Mojave. Let's make this the default in general:
older bottles will be used on newer versions of macOS when a newer
bottle is not available.
This should make it easier for taps to bottle single versions of bottles
which will work more widely and to give us breathing room whenever a new
version of macOS is released.
Currently this only applies to the `wine` formula which will have the
`or_later` removed in a Homebrew/homebrew-core PR.
Question: should we use an `odeprecated` for the use of `or_later`?
2018-10-13 12:39:21 -07:00
L. E. Segovia
9e438991c8
zip: restore extended attributes when under MacOS
2018-10-08 09:44:08 +00:00
Shaun Jackman
78993d0692
Merge pull request #5024 from sjackman/coretap
...
CoreTap.default_remote: Use Linuxbrew/core [Linux]
2018-10-03 13:48:10 -07:00
Shaun Jackman
ad7323bd61
Hardware::CPU: Add Skylake [Linux]
2018-10-03 11:41:39 -07:00
Shaun Jackman
fdcdf7cb5c
CoreTap.default_remote: Use Linuxbrew/core [Linux]
2018-10-02 15:44:30 -07:00
Shaun Jackman
afa975bf26
keg_relocate: Fix Error: wrong number of arguments [Linux]
...
Fix the error:
Error: wrong number of arguments (given 1, expected 2)
/projects/btl_scratch/sjackman/brew/Homebrew/Library/Homebrew/exceptions.rb:550:in `block in initialize'
/projects/btl_scratch/sjackman/brew/Homebrew/Library/Homebrew/exceptions.rb:559:in `map'
2018-10-02 15:16:32 -07:00
Shaun Jackman
447baab9a0
DevelopmentTools::locate: Prefer brewed tools [Linux]
2018-10-01 15:34:47 -07:00
Shaun Jackman
1cdc34eec3
Default compiler is gcc on Linux
2018-09-30 11:20:35 -07:00
Mike McQuaid
1ee8c60834
Merge pull request #4994 from MikeMcQuaid/config-hide-optional
...
config: hide optional system packages.
2018-09-30 12:49:23 +01:00
Mike McQuaid
566b5b45ef
os/mac/diagnostic: don't complain about Xcode version on Azure.
...
It hasn't been updated yet and we want to be able to update the Xcode
versions for everyone else.
2018-09-30 11:10:19 +01:00
Mike McQuaid
78ddc34847
config: hide optional system packages.
...
Java, XQuartz and the CLT separate header package aren't required for
everyone's Homebrew usage or a default macOS development install.
As a result, only show then in `brew config` when they are actually
installed.
2018-09-30 10:50:37 +01:00
Shaun Jackman
c0f07db656
Symlink ld.so [Linux]
2018-09-28 14:01:09 -07:00
Mike McQuaid
59c858a8e8
Cleanup Travis and CI configuration.
...
Use the environment variables set by `brew test-bot`. Eventually we'll
disable Travis CI running CodeCov so move `TRAVIS` references to
`HOMEBREW_TRAVIS_CI` so it doesn't need whitelisted.
Also, fix `azure-pipelines.yml` so it's testing the correct version of
Homebrew/brew (the one checked out in the `pwd`).
2018-09-19 15:01:33 +01:00
Markus Reiter
e9b9ea49a1
Update to RuboCop 0.59.1.
2018-09-17 03:45:59 +02:00
Mike McQuaid
955214abc0
Use ActiveSupport Object#blank? and #present?
2018-09-14 17:02:19 +01:00
Shaun Jackman
f6093961ef
Add Homebrew::DEFAULT_PREFIX for Linux
...
The default prefix is /usr/local on macOS
and /home/linuxbrew/.linuxbrew on Linux.
2018-09-11 09:57:08 -07:00
Mike McQuaid
8778cc308a
Merge pull request #4832 from sjackman/linkage-checker
...
LinkageChecker: Report linkage of unwanted system libraries [Linux]
2018-09-06 16:44:56 +01:00
Markus Reiter
a84a1c63db
Rename Hbc
module to Cask
.
2018-09-06 09:30:52 +02:00
Shaun Jackman
5cbddd2aca
LinkageChecker: Report linkage of unwanted system libraries [Linux]
...
gcc and glibc are implicit dependencies on Linux.
No other linkage to system libraries is expected or desired.
2018-09-05 15:32:06 -07:00
Mike McQuaid
e06f8a8beb
Rename Homebrew-Cask to Homebrew Cask.
2018-09-04 09:56:57 +01:00
Mike McQuaid
90b3a13909
cask: move cask/lib/hbc/* to cask/*.
...
Fix the load path, requires and some filenames accordingly.
2018-09-04 09:56:57 +01:00
Markus Reiter
32ad22395b
Remove some #popen_read
s.
2018-09-04 05:16:59 +02:00
Mike McQuaid
80d75bc0d8
Homebrew/.rubocop: tweak rules.
...
Adjust the rules based on the current codebase. Remove various enable,
disables and default values that are unnecessary. Add more comments
explaining why. Make minor changes needed to enable a few more rules.
2018-09-02 20:15:09 +01:00