583 Commits

Author SHA1 Message Date
Mike McQuaid
ac0665daff
Refer to default branch in links with HEAD
Anywhere we can use `blob/master` we can use `blob/HEAD` instead. This
will make life easier if we ever rename our default branch in future
(once/if Git and GitHub provides the necessary tooling to do so).
2020-06-25 11:38:40 +01:00
Mike McQuaid
b39a3ca02f
os/mac/utils/bottles: support ARM bottles.
This will be eventually needed for Big Sur.
2020-06-24 12:00:56 +01:00
Bo Anderson
9788735eb2
Merge pull request #7809 from Bo98/macos-version-11
os/mac: fix for major versions other than 10
2020-06-23 18:50:58 +01:00
Mike McQuaid
6f1970fd24
Fix more 10.x hardcodings. 2020-06-23 17:10:07 +01:00
Mike McQuaid
11c875d747
macOS Big Sur tweaks
- output warnings when running on ARM
- require Xcode 12
- use 11.0 as the version number
2020-06-23 14:11:05 +01:00
William Woodruff
acbb213977
mac/hardware: cpu: Use ruby-macho's Intel constant 2020-06-22 21:56:39 -04:00
Misty De Meo
6a3f18b0ae OS::Mac::CPU: add Apple Silicon
Co-authored-by: Shaun Jackman <sjackman@gmail.com>
2020-06-22 12:20:06 -07:00
Michka Popoff
955bca6574 formule: add generic shared-lib methods
We have strings containing hardcoded ".dylib" extensions in homebrew-core.
To be able to bring linuxbrew-core and homebrew-core closer together,
I am introducing a new generic attribute that can be used in formulae.
2020-06-20 23:14:18 +02:00
Sean Molenaar
3f6d3e5cf0
Support casks in readall 2020-06-18 20:15:07 +02:00
Mike McQuaid
91b4d45070
Merge pull request #7722 from Bo98/java-improvements
language/java: add support for OpenJDK
2020-06-12 10:47:18 +01:00
Michka Popoff
1f8ebf5d20 resource: allow on_os blocks 2020-06-10 19:29:04 +02:00
Bo Anderson
07547e8cae extend/pathname: use Java.overridable_java_home_env in write_jar_script 2020-06-10 17:08:41 +01:00
Bo Anderson
bbb2696742 language/java: add support for OpenJDK formula 2020-06-10 17:08:38 +01:00
Bo Anderson
d56c6b31a0 language/java: deprecate java_home_cmd 2020-06-10 15:11:56 +01:00
Mike McQuaid
b58fa4ebb1
Drop Mavericks support.
Companion to https://github.com/Homebrew/brew/pull/7698.

Provide better, `odeprecated` messaging for
`depends_on :macos => :mavericks` and otherwise just fix up the code
that relied on `:mavericks`.
2020-06-10 10:06:46 +01:00
Issy Long
8eba9b86ab
Change occurrences of "blacklist" to "denylist" or "disallow"
- Depending on context, I've gone for either "denylist" or "disallow"
  here. "Disallow" for things in sentences, or actions, and "denylist"
  for list of things.
2020-06-06 22:38:33 +01:00
Issy Long
0041ea21f5
Change occurrences of "whitelist" to "allowlist" 2020-06-06 22:38:32 +01:00
Misty De Meo
613c397b34 ENV: SDK can be nil 2020-06-04 17:38:25 -07:00
Mike McQuaid
3663e9d5d1
os/mac/keg_relocate: handle libexec/lib.
We can fix up libraries in `lib` not `libexec/lib` so add an extra check
for that case.

Inspired by https://github.com/Homebrew/homebrew-core/pull/53790#issuecomment-637622329
2020-06-02 16:35:36 +01:00
rmnull
39c572b546
Instructions to install patchelf, when development tools cant locate patchelf. 2020-05-28 00:34:02 +05:30
Mike McQuaid
0ea2c5f15b
os/mac/diagnostic: suggest untapping phinze/cask.
As seen in https://github.com/Homebrew/brew/issues/7605.
2020-05-20 10:05:23 +01:00
Mike McQuaid
3588e6a5c6
bottle_arch: ensure a symbol is used when needed.
Fixes #7597.
2020-05-19 08:47:59 +01:00
Mike McQuaid
12bdb38663
rubocop: brew style --fix autocorrections. 2020-05-12 08:32:27 +01:00
Mike McQuaid
07b19cba09
Replace ARGV#bottle_arch with Homebrew.args.bottle_arch
Part of https://github.com/Homebrew/brew/issues/5730
2020-05-10 15:15:41 +01:00
Mike McQuaid
2b224a66a5
os/mac/diagnostic: check for deprecated cask taps.
We keep seeing users popping up with these (#7449) so advise an untap.
2020-05-08 09:18:55 +01:00
Bo Anderson
16141e7eff os/mac/software_spec: fix argument error in valid use case 2020-05-04 17:16:39 +01:00
Mike McQuaid
e6dffdd006
Merge pull request #7458 from Bo98/uses_since
software_spec: add uses_from_macos since bound
2020-05-01 12:53:59 +01:00
Trung Le
3de9fc91a7 update dynamic linkers 2020-05-01 02:09:14 +10:00
Trung Le
3df97b20d5 Add PowerPC64 CPU
Co-Authored-By: Mike McQuaid <mike@mikemcquaid.com>
2020-04-30 23:37:45 +10:00
Bo Anderson
eb303dd654 software_spec: add uses_from_macos since bound 2020-04-28 16:45:32 +01:00
Gautham G
b0ac5bab31
ARGV: Deprecate ARGV.build_bottle? and replace with Homebrew.args.build_bottle 2020-04-26 13:28:44 +01:00
Bo Anderson
41a666febb ENV/std: port superenv SDK changes 2020-04-23 18:11:10 +01:00
Bo Anderson
ae6c58c7bc ENV/super: always set HOMEBREW_SDKROOT for Xcode builds 2020-04-23 11:10:54 +01:00
Jonathan Chang
2dfaebc637 cpu: update for new processor family 2020-04-19 13:26:04 +10:00
Mike McQuaid
cbb5fd7657
Merge pull request #7257 from iMichka/linuxdependson
formula: add on_macos and on_linux
2020-04-13 09:13:06 +01:00
Michka Popoff
c7927f5af5 formula: add linux and macos only function blocks 2020-04-12 23:51:41 +02:00
Bo Anderson
32744e1746 ENV/std: remove space in -isysroot 2020-04-12 14:51:21 +01:00
Mike McQuaid
373650d00d
KegOnlyReason: add reason helpers, rename valid. 2020-04-12 13:12:02 +01:00
Bo Anderson
8900e852d6 Revert "ENV/std: withdraw support for Homebrew supplied *.pc files"
This reverts commit fa3591681800f9da06cd2d0179a5ef9e63b10729.
2020-04-10 21:47:54 +01:00
Bo Anderson
e8e6592701 ENV/super: don't set PKG_CONFIG 2020-04-10 18:36:18 +01:00
Bo Anderson
e60f071c50 ENV/super: refactor SDK root selection 2020-04-07 17:22:16 +01:00
Mike McQuaid
3381cbf5c7
Use Homebrew::EnvConfig. 2020-04-07 09:58:26 +01:00
Mike McQuaid
e2cfc2b50f
Merge pull request #7278 from Bo98/libxml2-10.15.4
ENV: don't help include libxml2 on macOS SDK 10.15.4 and later
2020-04-05 16:28:58 +01:00
Bo Anderson
aac3337c64
Merge pull request #7277 from Bo98/sdkroot-pkgconfig
shims/mac/super/pkg-config: pass and use HOMEBREW_SDKROOT
2020-04-05 15:35:54 +01:00
Bo Anderson
32497bd511 ENV: don't help include libxml2 on macOS SDK 10.15.4 and later 2020-04-05 15:30:39 +01:00
Bo Anderson
9294bee866 shims/mac/super/pkg-config: pass and use HOMEBREW_SDKROOT
Fixes #5068.
2020-04-04 23:44:29 +01:00
Bo Anderson
fa35916818 ENV/std: withdraw support for Homebrew supplied *.pc files 2020-04-04 15:21:35 +01:00
Bo Anderson
cb6128fc7c ENV/super: prioritise Xcode if Xcode is a build req 2020-04-03 15:49:04 +01:00
Bo Anderson
99550ff564 shims/mac/super/xcrun: use Homebrew's chosen SDK and DEVELOPER_DIR
Fixes #7250.
2020-04-01 17:34:30 +01:00
Mike McQuaid
1e265247ca
rubocop: apply autofixes. 2020-03-13 21:16:18 +00:00