Bo Anderson
fbf56e27a0
os/mac: fix for major versions other than 10
2020-06-23 16:51:16 +01:00
Mike McQuaid
8a580ae39e
os/mac/xcode: add Big Sur clang versions.
...
https://github.com/Homebrew/brew/pull/7806#issuecomment-648154860
2020-06-23 15:54:46 +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
Shaun Jackman
de6fe2edc1
Revert "Enable patchelf.rb for HOMEBREW_DEVELOPERs."
...
This reverts commit 6106bfc4976dff2b03cf3fadbbf92dd1fd9e0f09.
Fix the error:
brew install patchelf
==> Pouring patchelf-0.10.x86_64_linux.bottle.1.tar.gz
Error: cannot load such file -- patchelf
2020-06-22 14:14:33 -07:00
Shaun Jackman
b79e047e12
Merge pull request #7780 from rmNULL/enable-patchelfrb-for-devs
...
enable patchelf.rb when HOMEBREW_DEVELOPER is set
2020-06-22 13:59:43 -07:00
Shaun Jackman
2e05306b06
Merge pull request #7779 from rmNULL/dont-warn-interp-for-shared-obj
...
with_interpreter?: Silence "no interpreter found"
Do not warn "no interpreter found" for shared ELF objects.
2020-06-22 12:43:58 -07:00
rmnull
6106bfc497
Enable patchelf.rb for HOMEBREW_DEVELOPERs.
...
HOMEBREW_PATCHELF_RB is enabled on 2 cases.
1) `HOMEBREW_PATCHELF_RB` is set
2) `HOMEBREW_DEVELOPER` is set , and `HOMEBREW_NO_PATCHELF_RB` is not set.
use `HOMEBREW_NO_PATCHELF_RB` to turn it off for devs.
Note: When HOMEBREW_PATCHELF_RB and HOMEBREW_NO_PATCHELF_RB both are
present, it is on
2020-06-23 00:11:50 +05:30
Misty De Meo
8d29e79f7e
OS::Mac::Version: add Big Sur
2020-06-22 11:11:51 -07:00
Mike McQuaid
66f781821f
Merge pull request #7785 from vidusheeamoli/resolve-srb-errors
...
Resolve errors reported by Sorbet
2020-06-22 16:57:10 +01:00
vidusheeamoli
a919ba9ccd
srb: resolve error 4012. 18 errors => 13 errors
2020-06-22 20:59:39 +05:30
Mike McQuaid
dd50714d1e
Fix RuboCop failures.
2020-06-22 14:09:33 +01:00
vidusheeamoli
d6e587453e
srb: resolve error 4015. 25 errors => 18 errors
2020-06-22 16:33:44 +05:30
rmnull
3f211415ca
don't warn "no interpreter found" for Shared ELF objects.
2020-06-22 01:24:03 +05:30
Bo Anderson
8c21e8b2db
Merge pull request #7705 from Bo98/xcode-11.5
...
os/mac/xcode: support Xcode 11.5
2020-06-20 02:25:00 +01:00
rmnull
486114282c
In ELFShim, #needed_libraries, #dynamic_elf? and #with_interpreter? check using patchelf gem.
...
Having HOMEBREW_PATCHELF_RB set in the ENV,
will conditionally install patchelf.rb gem,
use patchelf.rb in the above mentioned methods.
The installed vendored gems are listed in .gitignore
to maintain a clean state.
2020-06-19 21:23:57 +05:30
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
Bo Anderson
eb3eb209d9
os/mac/xcode: support Xcode 11.5
2020-06-07 20:35:55 +01:00
Mike McQuaid
ef95b59ed4
Remove HomebrewArgvExtension
...
Fixes #5730
2020-05-23 19:39:11 +01:00
Mike McQuaid
bc27e38f18
Remove ARGV.debug?
...
Replace with `Homebrew.args.debug?`.
Part of #5730 .
2020-05-23 14:38:58 +01:00
Mike McQuaid
95a8217223
Merge pull request #7588 from maxim-belkin/glibc-minimum-version
...
os/linux/glibc.rb: up minimum glibc version to 2.13
2020-05-18 09:27:29 +01:00
Maxim Belkin
7b08e2252e
os/linux/glibc.rb: up minimum glibc version to 2.13
2020-05-17 20:14:05 -05:00
Bo Anderson
c70bb474e3
os/mac: move legacy functions to compat
2020-05-16 14:52:30 +01:00
rmnull
69e1673a81
skip needed_libraries check when patchelf is the bottle being installed.
2020-05-15 05:36:49 +05:30
Mike McQuaid
6aca5a6c6d
os/linux: add MacOS::CLT.version.
...
This allows formulae with this to be read on Linux.
2020-04-30 16:07:55 +01:00
Bo Anderson
a016d65424
os/mac/pkgconfig: add expat.pc
2020-04-27 14:10:44 +01:00
Bo Anderson
2c64eab710
Merge pull request #7442 from Bo98/ncurses-pc
...
os/mac/pkgconfig: add ncurses.pc & ncursesw.pc
2020-04-27 10:39:27 +01:00
Mike McQuaid
1a51b3e41b
Merge pull request #7443 from Bo98/libedit-pc
...
os/mac/pkgconfig: add libedit.pc
2020-04-27 08:41:04 +01:00
Bo Anderson
c7120f1cfb
os/mac/pkgconfig: add libffi.pc
2020-04-26 23:26:16 +01:00
Bo Anderson
c49c21faa3
os/mac/pkgconfig: add libedit.pc
2020-04-26 22:10:20 +01:00
Bo Anderson
29c121be98
os/mac/pkgconfig: add ncurses.pc & ncursesw.pc
2020-04-26 21:38:44 +01:00
Bo Anderson
7aff6f9bb3
os/mac/xcode: support Xcode 11.4.1
2020-04-16 11:22:40 +01:00
Bo Anderson
d8b1c4ff1f
os/mac/pkgconfig: delete most cflags on 10.14+
2020-04-12 00:42:18 +01:00
Mike McQuaid
c3dc8862c1
os/mac/xcode: better document upgrade.
...
Explain when these various versions should (and should not) be bumped
and provide a method to avoid people having to schlep through the Apple
Developer site unless they really want to.
Also, while we're here, DRY things up and reorder to "newest first".
2020-04-09 14:27:39 +01:00
Bo Anderson
1fe0212ff2
os/mac: add sdk_root_needed? and sdk_for_formula
2020-04-07 17:22:13 +01:00
Bo Anderson
bb33a59c7b
os/mac/sdk: add SDK source attribute
2020-04-07 16:43:32 +01:00
Mike McQuaid
147bca8ddd
Merge pull request #7298 from MikeMcQuaid/remove-old-pkgconfig
...
Remove old pkgconfig files.
2020-04-07 10:51:10 +01:00
Mike McQuaid
64fdf02f07
Merge pull request #7297 from Bo98/pc
...
os/mac/pkgconfig: supply default homebrew_sdkroot
2020-04-07 10:44:58 +01:00
Mike McQuaid
6cfd8065fc
Remove old pkgconfig files.
...
Homebrew no longer runs on these macOS versions.
2020-04-07 10:17:50 +01:00
Bo Anderson
56dc568fef
os/mac/pkgconfig: supply default homebrew_sdkroot
2020-04-07 10:14:38 +01:00
Mike McQuaid
3381cbf5c7
Use Homebrew::EnvConfig.
2020-04-07 09:58:26 +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
94d6f361a4
os/mac/xcode: support Xcode 11.4
2020-03-26 22:03:54 +00:00
Dawid Dziurla
e097dcedb4
os/linux: implement sdk_path_if_needed
2020-03-10 16:24:17 +01:00
Bo Anderson
26f185b76f
os/mac/xcode: only use SDK for system headers on >= Mojave
2020-03-08 20:32:35 +00:00
Bo Anderson
1f29f70929
os/mac: prefer CLT SDK over Xcode
2020-03-08 20:09:06 +00:00
Bo Anderson
20d9f436ca
os/mac/sdk: prioritise SDK matching OS version
2020-03-08 20:08:33 +00:00
Mike McQuaid
ebc764e878
os/mac/xcode: clarify latest_version comes from clang.
2019-12-11 13:50:21 +00:00
Mike McQuaid
2d5f6dd79f
os/mac/xcode: improve CLT clang version detection.
2019-12-11 13:49:56 +00:00
Mike McQuaid
8d3e7cf028
os/mac: remove CLT header package stuff.
...
We never care about it and it's not relevant anywhere except 10.14.
2019-12-11 13:49:13 +00:00
Mike McQuaid
dda80c6938
os/mac/xcode: bump Xcode/CLT versions.
2019-12-11 13:48:32 +00:00