Mike McQuaid
12bdb38663
rubocop: brew style --fix autocorrections.
2020-05-12 08:32:27 +01:00
Mike McQuaid
35e487064e
Merge pull request #7537 from MikeMcQuaid/cli_parser_formulae
...
Replace ARGV#flags_only with Homebrew.args.flags_only
2020-05-11 08:47:12 +01:00
Mike McQuaid
1c656fb584
Merge pull request #7538 from MikeMcQuaid/bottle_arch
...
Replace ARGV#bottle_arch with Homebrew.args.bottle_arch
2020-05-11 08:46:57 +01:00
Mike McQuaid
5f721c6986
Cleanup ARGV.include? usage
...
Remove usage where `Homebrew.args` could be used instead or, due to the
`Homebrew.args` parsing, there was dead code that was never executed
(and no-one complained about not working).
2020-05-10 15:28:31 +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
fa0d454817
Replace ARGV#flags_only with Homebrew.args.flags_only
...
Take two on https://github.com/Homebrew/brew/pull/7490
2020-05-10 15:12:25 +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
Mike McQuaid
20a1199375
Refactor CLI to remove unless args_parsed
...
Refactor the CLI::Args module so it doesn't have different paths to
check arguments depending on whether the arguments have been parsed or
not. Instead, set the values we need from the global ARGV at
first, global initialisation time where they will be thrown away when
the actual arguments are parsed.
To do this some other general refactoring was needed:
- more methods made private when possible
- e.g. `HEAD?` used consistently instead of `head` before arguments
are parsed.
- formula options are only parsed after named arguments are extracted
2020-05-05 17:47:51 +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
ae353ff42e
Revert "ARGV: Deprecate ARGV.flags_only and replace with Homebrew.args.flags_only"
2020-05-04 11:12:25 +01:00
Gautham G
b40e33aeb8
ARGV: Deprecate ARGV.cc and replace with Homebrew.args.cc
2020-05-04 11:14:55 +05:30
Gautham G
66ac96acde
ARGV: Depercate ARGV.flags_only and replace with Homebrew.args.flags_only
2020-05-03 13:55:51 +05:30
Mike McQuaid
4019f62e61
Merge pull request #7483 from Bo98/std-cpu-flags
...
ENV/std: fix error when using older/no clang
2020-05-02 14:16:26 +01:00
Bo Anderson
3717815ade
ENV/std: fix error when using older/no clang
...
Fixes #7482 .
2020-05-02 13:33:32 +01:00
Gautham G
38c24d134c
ARGV: Deprecate ARGV.casks and replace with Homebrew.args.casks
2020-05-02 13:21:16 +05:30
Gautham G
f6abc6fe19
ARGV: Deprecate ARGV.formulae, replace with Homebrew.args.formulae
2020-05-01 22:50:59 +05:30
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
Gautham G
676ebf7419
ARGV: Deprecate ARGV.force_bottle?
2020-04-20 16:45:43 +01:00
Mike McQuaid
2bbcab5615
Merge pull request #7333 from GauthamGoli/argv-cleanup-21
...
cli/args: Make build_from_source public instance method
2020-04-19 13:23:34 +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
Mike McQuaid
c5c161adb3
Merge pull request #7334 from Bo98/std-nehalem
...
ENV/std: conditionally apply AES-NI workaround
2020-04-13 09:05:29 +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
Bo Anderson
df47668113
ENV/std: conditionally apply AES-NI workaround
2020-04-12 14:50:49 +01:00
Mike McQuaid
373650d00d
KegOnlyReason: add reason helpers, rename valid.
2020-04-12 13:12:02 +01:00
Gautham G
2bdbca1280
Revert "Merge pull request #7289 from Homebrew/revert-7279-argv-cleanup-18"
...
This reverts commit 64fd839c955b3c32855067d26fed7daf65183877, reversing
changes made to 6f50801b37b7d829afc37da76d2ef0a1ac1c9f5f.
2020-04-11 18:50:24 +05:30
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
757cc24f7e
ENV/std: restore original make_jobs return type
2020-04-08 20:31:04 +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
Gautham Goli
ad7e1d48a5
Revert "ARGV: Deprecate ARGV.build_formula_from_source? and ARGV.build_from_source?"
2020-04-05 23:01:57 +05:30
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
Mike McQuaid
b9fc765e56
Merge pull request #7276 from Bo98/std-pkgconfig
...
ENV/std: withdraw support for Homebrew supplied *.pc files
2020-04-05 13:10:25 +01:00
Gautham G
602cb7e636
ARGV: Deprecate ARGV.build_formula_from_source? and ARGV.build_from_source?
2020-04-05 16:47:47 +05:30
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
8975dfb6ff
Merge pull request #7238 from Homebrew/dependabot/bundler/Library/Homebrew/unf_ext-0.0.7.7
...
build: bump unf_ext from 0.0.7.6 to 0.0.7.7 in /Library/Homebrew
2020-03-29 19:36:51 +01:00
Gautham G
7ad6dab288
ARGV: Deprecate ARGV.collect_build_args
2020-03-28 21:00:59 +05:30