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
Mike McQuaid
e6e534157c
ENV/super: copy Hackintosh comment from ENV/std.
2018-12-20 20:09:45 +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
d75f5dacfa
test: Fix ENV.cxx11
...
ENV.cxx11 in a test block fails on Linux with
Error: ibex: failed
An exception occurred within a child process:
NoMethodError: undefined method `non_apple_gcc_version'
See for example brew test ibex on Linux.
2018-12-13 15:46:12 -08:00
Markus Reiter
bcf8cfc97c
Remove atomic_write
workaround.
2018-12-05 02:09:20 +01: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
Chongyu Zhu
98016b0ac6
pathname: atomic_write
shouldn't make dir sticky unless world writable
2018-10-21 08:58:20 +08: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
Markus Reiter
e0b0e22210
Merge pull request #5020 from amyspark/repair-xattr
...
zip: restore extended attributes when under MacOS
2018-10-08 15:16:12 +02:00
L. E. Segovia
9e438991c8
zip: restore extended attributes when under MacOS
2018-10-08 09:44:08 +00:00
Markus Reiter
5dd571adeb
Replace #chuzzle
with ActiveSupport’s #presence
.
2018-10-07 23:10:56 +02:00
Viktor Szakats
a0d971a0d0
secure/fix URLs
2018-10-03 21:21:05 +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
4addff3b2b
determine_optflags: Default is -march=native
2018-10-03 11:41:39 -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
Markus Reiter
071108b868
Fix atomic_write
inside non-sticky directory.
2018-10-02 15:58:34 +02:00
Shaun Jackman
447baab9a0
DevelopmentTools::locate: Prefer brewed tools [Linux]
2018-10-01 15:34:47 -07:00
Markus Reiter
bec5272c77
Merge pull request #5000 from reitermarkus/7z
...
Don’t treat `.7z` as part of a version.
2018-10-01 10:25:41 +02: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
Markus Reiter
c430baaee8
Don’t treat .7z
as part of a version.
2018-09-29 10:32:18 +02: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
Mike McQuaid
ead23d1f4c
Use ActiveSupport File.atomic_write
...
nd delete our own implementation.
2018-09-18 09:20:40 +01:00
Markus Reiter
e9b9ea49a1
Update to RuboCop 0.59.1.
2018-09-17 03:45:59 +02:00