carlocab
a51b105b1d
os/mac/sdk: refactor out sdk_version
2020-12-29 10:50:09 +00:00
Mike McQuaid
e74be0f53a
Merge pull request #10129 from carlocab/big-sur-pkg-config
...
os/mac/pkgconfig: merge pc files for 11.1 and 11.0
2020-12-28 13:19:31 +00:00
carlocab
51eb4f28fa
os/mac: bump latest_sdk_version
2020-12-25 11:19:03 +00:00
Maxim Belkin
45d67ef13e
brew.sh: define minimum required Glibc version
2020-12-24 09:10:53 -06:00
carlocab
5835cce360
os/mac/pkgconfig: merge pc files for 11.1 and 11.0
...
Closes https://github.com/Homebrew/brew/issues/10126 .
2020-12-24 14:45:08 +00:00
carlocab
c77c942291
os/mac/sdk: parse version from SDKSettings.json
...
This implements feedback from https://github.com/Homebrew/brew/pull/10072 .
2020-12-23 15:17:45 +00:00
Mike McQuaid
b4303c23c3
Merge pull request #10072 from carlocab/big-sur-sdk-path
...
sdk: use unversioned SDK path on Big Sur
2020-12-22 08:10: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
carlocab
3f0ed01a2a
sdk: use unversioned SDK path on Big Sur
...
Fixes https://github.com/Homebrew/homebrew-core/issues/67075 .
This implements @fxcoudert's suggestion in the issue linked above.
2020-12-21 11:45:45 +00:00
FX Coudert
46e4f58a47
xcode: 12.3 is the latest version
2020-12-16 15:23:46 +00:00
Shaun Jackman
81716100ae
Enable HOMEBREW_PATCHELF_RB_WRITE by default
...
It may be disabled using HOMEBREW_NO_PATCHELF_RB_WRITE.
It is currently disabled in brew test-bot when building bottles.
2020-12-11 18:08:10 -08:00
Mike McQuaid
2c77a540b5
Merge pull request #9481 from MikeMcQuaid/bottle_prefix_repository_handling
...
Fix bottle prefix and repository handling
2020-12-09 14:45:47 +00:00
Mike McQuaid
0f9bad0052
Fix bottle prefix and repository handling
...
We were previously only looking at the `cellar` value when pouring
bottles and ignoring the `prefix` and (implicit) `repository`.
Actually look at these values and set the defaults for each platform.
Also, when we're relocating to create or pour bottles when `prefix`
and `repository` are equal then skip relocating the `repository` and
always use references to the `prefix` instead.
Fixes #9453
2020-12-09 13:53:10 +00:00
Mike McQuaid
8bf6ec5739
Merge pull request #9464 from MikeMcQuaid/arch_version_handling
...
MacOS::Version architecture handling
2020-12-09 12:45:16 +00:00
Mike McQuaid
6467fbadee
MacOS::Version: add (and use) architecture.
2020-12-09 11:55:27 +00:00
Mike McQuaid
123761054e
Merge pull request #9468 from thalamus/master
...
os/mac/pkgconfig: add pc files for Big Sur 11.1
2020-12-09 11:10:37 +00:00
Mike McQuaid
566ebf2a98
Revert "Revert "Fix :arm64_big_sur
bottle ordering.""
...
This reverts commit 399cc56d034a3314f428683b7872b4d67063be9a.
2020-12-08 16:28:45 +00:00
Francois-Xavier Coudert
399cc56d03
Revert "Fix :arm64_big_sur
bottle ordering."
...
This reverts commit 66d1b929a5b134ee93caf9237e7074a195c1b523.
2020-12-08 13:00:22 +01:00
Will Tisdale
3f10815f4f
os/mac/pkgconfig: add pc files for Big Sur 11.1
2020-12-08 09:26:26 +00:00
Mike McQuaid
66d1b929a5
Fix :arm64_big_sur
bottle ordering.
...
This wasn't being parsed correctly so was being put below the Linux
bottle which is less readable, less intuitive and will cause a bunch
of merge conflicts.
2020-12-07 12:09:29 +00:00
Mike McQuaid
68889b972c
Merge pull request #9353 from maxim-belkin/config-no-codename
...
os/linux.rb: don't show codename when it's n/a
2020-12-02 12:49:53 +00:00
Mike McQuaid
6225ecff78
os/linux: check for blank codename.
2020-12-02 11:54:59 +00:00
Mike McQuaid
9216d8abe6
rubocop-rails: make fixes.
2020-12-02 10:43:04 +00:00
Maxim Belkin
4d672d1759
os/linux.rb: don't show codename when it's n/a
2020-12-01 10:36:08 -06:00
Mike McQuaid
a70d891122
os/mac/sdk: refactor for readability.
2020-11-30 16:00:31 +00:00
Misty De Meo
fec6fc4b4f
SDK: allow SDK mismatches if major version matches
2020-11-30 16:00:31 +00:00
Markus Reiter
fe2c201d00
Merge pull request #9268 from reitermarkus/type-signatures
...
Add more type signatures.
2020-11-30 15:16:05 +01:00
Mike McQuaid
96d3eb5cf1
Merge pull request #9280 from sjackman/sj/patchelf-rb-write
...
Enable HOMEBREW_PATCHELF_RB_WRITE for CI and HOMEBREW_DEV_CMD_RUN
2020-11-30 12:59:05 +00:00
Markus Reiter
7348185347
Reorder global
.
2020-11-30 00:00:02 +01:00
Mike McQuaid
016893c132
os/mac/sdk: use OS::Mac.sdk_version.
...
This should allow the correct SDK to be found.
Fixes https://github.com/Homebrew/brew/issues/9324
2020-11-27 20:18:56 +00:00
Shaun Jackman
65bc39f952
HOMEBREW_PATCHELF_RB_WRITE: Move logic to test-bot
2020-11-26 11:53:31 -08:00
Shaun Jackman
8a4299d028
Enable HOMEBREW_PATCHELF_RB_WRITE for CI and HOMEBREW_DEV_CMD_RUN
...
Enable HOMEBREW_PATCHELF_RB_WRITE by default for HOMEBREW_DEV_CMD_RUN
and CI, but not when building bottles.
2020-11-26 11:23:38 -08:00
Mike McQuaid
88ba32c519
os/mac/version: explain Big Sur to_sym logic.
2020-11-25 13:53:52 +00:00
Shaun Jackman
4bbf92912b
Enable HOMEBREW_PATCHELF_RB_WRITE by default
...
Enable HOMEBREW_PATCHELF_RB_WRITE by default for everyone except CI.
It may be disabled using HOMEBREW_NO_PATCHELF_RB_WRITE.
It may be enabled on CI using HOMEBREW_PATCHELF_RB_WRITE.
2020-11-24 10:52:11 -08:00
Markus Reiter
8598b1186a
Handle macOS versions >= 11.1 correctly.
2020-11-23 13:46:15 +01:00
Mike McQuaid
444c3858df
Adjust macOS version logic
...
- Adjust latest supported macOS logic for e.g. Big Sur 11.1.
- Updated latest supported version in docs to Mojave
Fixes https://github.com/Homebrew/brew/issues/9211
2020-11-20 16:42:52 +00:00
Mike McQuaid
3844cd6dc5
Merge pull request #9054 from fxcoudert/bigsur
...
macOS Big Sur
2020-11-16 12:22:34 +00:00
Markus Reiter
1b732ec7b2
Fix RuboCop offenses.
2020-11-16 02:05:29 +01:00
Rylan Polster
20ee7e8881
add Lint/DuplicateBranch cop exceptions
2020-11-16 02:02:52 +01:00
Francois-Xavier Coudert
64bc1109d1
Xcode 12.2 is released
2020-11-14 23:57:13 +01:00
Francois-Xavier Coudert
b6c18230cf
macOS Big Sur is released
2020-11-14 23:56:36 +01:00
Claudia Pellegrino
e945b1c42a
Merge pull request #9102 from fxcoudert/sign
...
keg: add codesigning
2020-11-14 08:00:01 +01:00
Markus Reiter
da9289eff0
Add more type signatures.
2020-11-13 12:26:36 +01:00
Jonathan Chang
c602090624
Merge pull request #9123 from jonchang/xcode-12.2
...
xcode: update for Xcode 12.2
2020-11-13 16:55:25 +11:00
Jonathan Chang
49d2c25e2a
xcode: update for Xcode 12.2
2020-11-13 15:38:24 +11:00
Mike McQuaid
5afff3f3aa
Handle macOS Homebrew on ARM
...
- Output `brew doctor` and `brew install` messages noting this configuration is (currently) unsupported and encourage use of Rosetta instead
- Output Rosetta 2 usage in `brew config` on ARM (whether in Rosetta 2 or not)
- Check the architecture of (newly installed) dependencies and ensure they are using the correct architecture.
- Don't allow installing macOS Intel Homebrew in macOS ARM Homebrew default prefix (and vice versa
- Actually write out the architecture of dependencies to the tab rather than generating and throwing them away
- Set and document the expected default prefix for macOS Intel Homebrew, macOS ARM Homebrew (`/opt/homebrew`) and Homebrew on Linux
While we're here:
- Don't say Big Sur is a prerelease version but still make it clear we
don't support it (yet).
- Don't reference non-existent IRC channel
2020-11-12 17:06:47 +00:00
Francois-Xavier Coudert
4665bb8e66
keg: add codesigning
2020-11-12 09:27:07 +01:00
Jonathan Chang
ab7b757400
rubocop: fix Style/NegatedIfElseCondition
2020-11-10 23:28:31 +11:00
EricFromCanada
3768b7a6e9
apidoc: update comment wording, punctuation, formatting
2020-11-06 00:21:02 -05:00
EricFromCanada
d293431b87
apidoc: update URLs
2020-11-05 23:50:55 -05:00