Douglas Eichelberger
65f1766497
Remove unknown YARD tags
2021-11-30 08:01:20 -08:00
Bo Anderson
6337dbfac9
ENV/super: enable deterministic archive generation
2021-11-26 13:04:33 +00:00
Evan Phoenix
b5ccf8aac2
Do not pass -Wl,-headerpad_max_install_names to b-linux-path
...
One of the more curious bugs, if you use
-Wl,-headerpad_max_install_names on linux, it tries to link a library
named "eaderpath_max_install_names" in, which causes all kinds of weird
havoc.
Most notably, gtester inside glib fails to run for bizarre reasons.
-Wl,-headerpad_max_install_names is not an option anywhere outside macos
anyway, so move it to macos only and avoid the heartache of extremely
weild bugs.
2021-11-09 20:38:26 -08:00
Bo Anderson
4836ea0ba2
Remove XQuartz handling
2021-11-05 12:40:22 +00:00
fn ⌃ ⌥
61a7ffb999
development_tools: add type signatures
2021-09-29 15:12:53 -07:00
Mike McQuaid
2b6e580636
ENV/super: add shims_path helper method.
...
This allows us to stop repeatedly hardcoding this on macOS/Linux in
formulae.
2021-09-08 12:35:36 +01:00
Bo Anderson
1e567161d1
ENV/shared: specify which Perl version we want to use
2021-05-10 05:50:02 +01:00
Liyang HU
adac92b326
Library/Homebrew/extend/os/mac/extend/ENV/super.rb: obsolete HOMEBREW_CCCFG flag s
...
@Bo98's comment https://github.com/Homebrew/brew/pull/10802#issuecomment-792072121
2021-03-06 23:15:55 +00:00
Bo Anderson
65c03573c6
ENV: fix missing arg for generic OS and correct type sigs
2021-02-26 18:23:48 +00:00
carlocab
d7323f30d3
extend/os/mac/extend/ENV: fix pkg-config paths
2020-12-24 15:23:23 +00:00
Rylan Polster
af6be13e7c
test: don't try to use Xcode SDK for build requirement
2020-12-21 09:25:29 -05:00
Mike McQuaid
87dd13aea6
Deprecate cask requirements.
...
This probably has to wait until 2.7.0 now and will require a bunch of
formula changes/deprecations but we should probably start moving in this
direction given we're not installing any of these on our CI any more.
2020-12-15 14:19:45 +00:00
Markus Reiter
5be4c9b5e0
Upgrade typed sigils.
2020-11-25 17:04:19 +01:00
Mike McQuaid
9bd312bab2
Merge pull request #9267 from reitermarkus/macos-version-11.1
...
Handle macOS versions >= 11.1 correctly.
2020-11-25 14:36:01 +00:00
Markus Reiter
8598b1186a
Handle macOS versions >= 11.1 correctly.
2020-11-23 13:46:15 +01:00
Markus Reiter
0424940496
Add types for ENV extensions.
2020-11-23 02:06:37 +01:00
Markus Reiter
da9289eff0
Add more type signatures.
2020-11-13 12:26:36 +01:00
EricFromCanada
3768b7a6e9
apidoc: update comment wording, punctuation, formatting
2020-11-06 00:21:02 -05:00
Markus Reiter
24ae318a3d
Move type annotations into files.
2020-10-10 14:59:39 +02:00
Mike McQuaid
3923d331de
Fix brew style
2020-09-15 13:39:06 +01:00
Mike McQuaid
f161e56ce0
ENV: check SDK exists when setting up.
...
Reuse code from `brew doctor` that checks and produces a fatal error
and from `install.rb` that runs it.
Closes #8646
2020-09-11 12:05:22 +01:00
Markus Reiter
276c570c16
Pass individual args explicitly to ENV extensions.
2020-07-28 02:52:45 +02:00
Markus Reiter
25b3632c4c
Pass args to ENV instead of using global args.
2020-07-25 03:57:43 +02:00
Mike McQuaid
6f1970fd24
Fix more 10.x hardcodings.
2020-06-23 17:10:07 +01:00
Misty De Meo
613c397b34
ENV: SDK can be nil
2020-06-04 17:38:25 -07: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
Bo Anderson
32744e1746
ENV/std: remove space in -isysroot
2020-04-12 14:51:21 +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
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
Mike McQuaid
36dbad3922
Add frozen_string_literal to all files.
2019-04-20 13:27:36 +09:00
Mike McQuaid
86f43f79ee
Enable/fix optional Ruby frozen string literal usage
...
Combined with https://github.com/Homebrew/homebrew-test-bot/pull/247
this will test Homebrew's use of frozen strings in CI. After this we
will then enable it for Homebrew developers and eventually all Homebrew
users.
2019-04-19 10:30:41 +09:00
Mike McQuaid
1aa8ad09e2
Deprecate macOS versions below Mavericks
...
And remove all dead/unneeded code.
2019-01-27 12:27:47 +00:00
Mike McQuaid
170c5493a4
Update deprecations
...
- Add some `odeprecated`
- Make some `odeprecated` now `odisabled`
- Remove `odisabled` code.
- Remove old update migrations
- Remove GCC 4.0 compiler
- Remove Tiger-only code
- Remove 32-bit-only code
- Remove use of LD64
- Remove GCC 4.3 - 4.8 support.
2019-01-08 19:13:46 +00:00
Mike McQuaid
7e13b37495
ENV: default CFLAGS to bottle values.
...
This reduces the deviation in compilation flags on a given OS between
users and between bottling/not bottling to provide a consistent
behaviour for debugging and support.
2019-01-06 21:27:15 +00:00
Markus Reiter
e9b9ea49a1
Update to RuboCop 0.59.1.
2018-09-17 03:45:59 +02:00
Misty De Meo
6361aa72ae
ENV: use sdk_path_if_needed
2018-08-08 10:45:48 -07:00
Misty De Meo
32678276c7
superenv: do not set SDKROOT
2018-08-08 10:45:48 -07:00
Misty De Meo
160534983f
Allow setting sysroots to a CLT SDK
2018-08-08 10:45:48 -07:00
Maxim Belkin
67ea581e4a
extend/ENV/shared.rb: [new method] append_to_cccfg
...
append_to_cccfg properly appends values to HOMEBREW_CCCFG variable
2018-07-12 12:20:38 -05:00
Maxim Belkin
bb82f05952
Properly append values to HOMEBREW_CCCFG
2018-07-12 12:19:04 -05:00