819 Commits

Author SHA1 Message Date
Jonathan Chang
c4eaa387ff mac/xcode: version bumps for Xcode 12.1 and 11.3.1 2020-10-27 21:37:04 +11:00
Markus Reiter
bf7fe45e89
Merge pull request #8896 from reitermarkus/sorbet-inline
Inline type annotations.
2020-10-13 10:40:53 +02:00
Markus Reiter
6ea9b32f70 Fix version comparison in SDK#latest_sdk. 2020-10-12 04:35:53 +02:00
Markus Reiter
61b79318ed Move include Kernel into .rbi files again and split up existing .rbi files. 2020-10-10 19:10:58 +02:00
Markus Reiter
24ae318a3d Move type annotations into files. 2020-10-10 14:59:39 +02:00
Markus Reiter
90d70ad932 Refactor OS::Mac::Version. 2020-10-05 15:58:17 +02:00
Jonathan Chang
7c326b55f4 os/mac: updates for Xcode 12 2020-10-03 23:53:32 +10:00
Mike McQuaid
9943b3e80a
xquartz: unprivate prefix.
This is breaking stuff:
https://github.com/Homebrew/homebrew-core/pull/61156/checks?check_run_id=1118574438#step:4:48
2020-09-15 17:24:29 +01:00
Mike McQuaid
3923d331de
Fix brew style 2020-09-15 13:39:06 +01:00
Mike McQuaid
d2dcc41717 os/linux: add more Xcode stubs.
Saw these on a random user report.
2020-09-01 12:49:19 +01:00
rmnull
0dcfdbe0eb
enable patchelf.rb writing for devs. 2020-08-29 00:45:25 +05:30
rmnull
649e02ba3d
patchelf.rb writing in ELFShim 2020-08-27 22:50:34 +05:30
Markus Reiter
5410701eff Document OS::Mac and OS::Linux. 2020-08-26 03:13:59 +02:00
Markus Reiter
07365b9ad0 Document CLT. 2020-08-26 03:13:59 +02:00
Markus Reiter
aac0151132 Document Xcode. 2020-08-26 03:13:59 +02:00
Markus Reiter
e3d78de5f1 Document Mac::Version. 2020-08-26 03:13:59 +02:00
Markus Reiter
3efaf89787 Document SDK. 2020-08-26 03:13:59 +02:00
Markus Reiter
390deeb5ac Document MachOShim. 2020-08-26 03:13:59 +02:00
Markus Reiter
f7cb6a95b6 Document Kernel. 2020-08-26 03:13:59 +02:00
Markus Reiter
6f0f8bd574 Document Glibc. 2020-08-26 03:13:59 +02:00
Markus Reiter
4304fa048e Document ELFShim. 2020-08-26 03:13:59 +02:00
Markus Reiter
e024b12d47 Remove os/linux/diagnostic. 2020-08-24 00:22:17 +02:00
Seeker
3379e3b5cf os: add kernel_version 2020-08-19 11:41:30 -07:00
Bo Anderson
e2914ca1aa os/mac/pkgconfig/11.0/sqlite3: bump to 3.32.3 2020-08-19 13:17:02 +01:00
Mike McQuaid
90cf01e245
os/linux: add no-op MacOS.sdk_path method.
Fixes https://github.com/Homebrew/linuxbrew-core/issues/20938
2020-08-17 16:13:28 +01:00
Mike McQuaid
763bf6f699
Use vendored patchelf.rb. 2020-08-11 08:41:31 +01:00
rmnull
043719383b
remove code using patchelf, remove HOMEBREW_PATCHELF_RB var 2020-08-08 06:48:31 +05:30
rmnull
0c2d7659cf
patchelf.rb reading for everyone :) 2020-08-08 06:32:34 +05:30
Markus Reiter
490e503b1b Replace Homebrew.args with Context. 2020-08-06 16:13:14 +02:00
Mike McQuaid
126e4c9df1
Merge pull request #8123 from rmNULL/rm-patchelf-refinements
cleanup Patchelf refinements, update patchelf to 1.2.0 in Gemfile.lock
2020-07-29 11:31:20 +01:00
rmnull
ce2eda5a26
remove PatchELF::Patcher refinements. 2020-07-29 09:38:15 +05:30
Mike McQuaid
6d9e2d444d
Big Sur fixes
- Make missing SDKs message more clear.
- Always refer to Big Sur as 11.0 (even on Intel).
2020-07-28 16:56:55 +01:00
rmnull
e79eeb7560
Bug Fix: Don't search for needed libraries on non DYNAMIC ELFs. 2020-07-26 04:56:21 +05:30
rmnull
f92c7d30c1
let patchelf return nil on blank rpath 2020-07-25 01:07:52 +05:30
rmnull
d607528a5b
introduce ELFShim#rpath, refactor keg_relocate to use the same.
refines PatchELF #runpath, #rpath #soname #interpreter
to return nil.
let Brew hard exits on PatchELF::PatchError.

Co-authored-by: Shaun Jackman <sjackman@gmail.com>
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
2020-07-25 01:07:24 +05:30
Markus Reiter
8d148b1fbc Remove special-casing of MacOS::languages. 2020-07-22 01:09:14 +02:00
rmnull
2ca03610e2
update patchelf.rb to '~> 1.1' in Gemfile. Replace instance variable access with call to .elf.
patcher.elf was introduced in gem release v1.1.0.
2020-07-14 04:30:29 +05:30
Jonathan Chang
76709d82c5 Fix brew style. 2020-07-13 23:24:14 +10:00
Jonathan Chang
9879df4ece
Merge pull request #7940 from Bo98/languages
os/mac: silence AppleLanguages error, fallback to system prefs
2020-07-11 22:36:32 +10:00
Claudia
374c734d9b
Make Hardware.oldest_cpu depend on architecture
Starting with Xcode 12 Beta 2, builds that used to work on Apple Silicon
now break due to `Hardware#oldest_cpu` returning `:nehalem` [1].

This commit is the first in a series of improvements to
`Hardware#oldest_cpu`. It resolves the Xcode 12 Beta 2 issue for now.

[1]: https://github.com/Homebrew/brew/issues/7857#issuecomment-655536261
2020-07-08 20:59:10 +02:00
Bo Anderson
bb0be60dea os/mac: silence AppleLanguages error, fallback to system prefs 2020-07-08 15:47:15 +01:00
Bo Anderson
9297b18aa6 Add SDK availability diagnostic 2020-07-01 16:07:14 +01:00
rmnull
35328ed535
[draft] refactoring keg_relocate to use ELFShim#interpreter instead of .with_interpreter? 2020-06-26 05:34:41 +05:30
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
85425691c4
Merge pull request #7810 from sjackman/big-sur
OS::Mac::Version: Change 11.00 to 11.0
2020-06-24 08:59:25 +01:00
Mike McQuaid
9a18c90644
Merge pull request #7811 from Bo98/pkgconfig-big-sur
os/mac/pkgconfig: add pc files for Big Sur
2020-06-24 08:59:03 +01:00
Bo Anderson
53f214835d os/mac/pkgconfig: add pc files for Big Sur 2020-06-24 02:20:13 +01:00
Bo Anderson
5d56be52ca os/mac/pkgconfig/10.15/expat: update version to 2.2.8 2020-06-24 02:09:29 +01:00
Shaun Jackman
6051015ac5 OS::Mac::Version: Change 11.00 to 11.0 2020-06-23 13:30:28 -07: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