Patrick Linnane
2c9b094bea
os/mac/diagnostic: set OCLP Support Tiers
...
Signed-off-by: Patrick Linnane <patrick@linnane.io>
2025-04-12 17:03:54 -07:00
Patrick Linnane
997ea136b6
os/linux/development_tools: update cop namespace
...
Signed-off-by: Patrick Linnane <patrick@linnane.io>
2025-04-03 19:43:31 -07:00
Mike McQuaid
e3137f192f
Merge pull request #19642 from Homebrew/linux_ci_gcc
...
Update Linux GCC code.
2025-04-03 15:25:43 +00:00
Mike McQuaid
2b4324af9b
Update Linux GCC code.
...
Update both the variables that dictate this and the documents that
explain our GCC/glibc policies.
These should ease a future migration to a newer GCC version.
2025-04-03 12:47:21 +01:00
Mike McQuaid
d899f00c4b
Link to Support Tiers in diagnostic/error messages
...
Now that we have this nice URL let's reference it to allow our other
messages to be a bit shorter/kinder.
2025-04-01 11:35:27 +01:00
Mike McQuaid
11875cde2f
linux/bundle/skipper: fix skipper logic.
...
This should be reversed to work as expected on Linux.
2025-03-27 11:49:10 +00:00
Carlo Cabrera
d130b53394
extend/os/linux/cask/installer: make check_stanza_os_requirements
non-private
...
The method it overrides is not `private`, so it doesn't seem like this
should be private. This causes errors when using `brew bundle` on Linux
with a `Brewfile` that contains `cask` entries.
2025-03-26 17:26:20 +08:00
Mike McQuaid
3b49babbfe
linux/bundle/skipper: add missing requires.
2025-03-25 19:11:19 +00:00
Mike McQuaid
08a9b44b72
linux/bundle/skipper: add support for Linux casks.
...
Don't unconditionally skip Linux casks but instead check if they are
supported on Linux.
2025-03-25 11:08:21 +00:00
Mike McQuaid
14fe53b9fd
Merge pull request #19521 from Homebrew/pac-bti
...
Use PAC+BTI where possible on arm64 Linux
2025-03-19 12:45:34 +00:00
Mike McQuaid
d240eda154
os/linux/extend/ENV/super: add comment.
2025-03-19 12:30:59 +00:00
Mike McQuaid
bdeca530ff
Migrate Homebrew/bundle to Homebrew/brew
...
Co-authored-by: Bo Anderson <mail@boanderson.me>
2025-03-19 06:47:01 +00:00
Carlo Cabrera
49dac599da
Merge branch 'master' into pac-bti
2025-03-19 01:32:54 +08:00
Mike McQuaid
3f6d30f885
Merge pull request #19517 from botantony/brew-doctor
...
fix: ignore broken kegs during gcc linkage test
2025-03-18 11:50:21 +00:00
Adrian Ho
c180d636ef
linux/hardware/cpu: fix amd_k12 reference
...
AMD K12 was an planned ARM microarchitecture that never existed.
Ref: https://en.wikipedia.org/wiki/List_of_AMD_CPU_microarchitectures#Nomenclature
2025-03-18 18:45:46 +08:00
botantony
4b62b9d2c5
fix: ignore broken kegs during gcc linkage test
...
Signed-off-by: botantony <antonsm21@gmail.com>
Co-authored-by: Carlo Cabrera <github@carlo.cab>
2025-03-18 11:00:14 +01:00
Bo Anderson
6fed6c10e2
Use PAC+BTI where possible on arm64 Linux
2025-03-18 06:14:16 +00:00
Carlo Cabrera
343eac915b
os/linux/diagnostic: skip error on arm64 when HOMEBREW_ARM64_TESTING
is set
...
This[^1] will enable us to start testing arm64 bottle builds in
Homebrew/core when this environment variable is set.
[^1]: Along with some tweaks to the `dispatch-build-bottle` workflow.
2025-03-17 20:52:12 +08:00
Douglas Eichelberger
39843b5d40
Resolve violations
2025-03-13 12:16:11 -07:00
Mike McQuaid
22f72cb7d2
linux/cask/installer: use artifact denylist
...
Otherwise, we end up preventing the use of e.g. `preflight`,
`uninstall` that may all work fine on Linux.
2025-03-11 15:33:01 +00:00
Sean Molenaar
ab2b18f78c
feat: add os_version for casks
2025-03-05 20:12:18 +01:00
Sean Molenaar
55b07d7fed
feat: add cask shell completion
2025-03-05 20:12:18 +01:00
Douglas Eichelberger
a81239ec2d
Enable strict typing in Formula
2025-02-24 10:23:42 -08:00
botantony
68f8798821
zig std args: apply -fno-rosetta
on macs with arm
2025-02-21 19:10:41 +01:00
botantony
c5d78f3347
zig std args: use symbols for compilation options
2025-02-21 17:07:29 +01:00
botantony
bfdfdc9489
-fno-rosetta
flag
2025-02-21 16:49:11 +01:00
Douglas Eichelberger
8763fb6d29
Resolve rubocop violations
2025-02-17 18:56:31 -08:00
Sean Molenaar
27a2d94c48
feat: allow zap on linux
2025-02-17 14:30:44 +01:00
Sean Molenaar
975fe8a83f
feat: allow cask binaries on linux
2025-02-17 14:30:43 +01:00
Sean Molenaar
6de67b6c45
fix: set correct inheritance for moved artifact
2025-02-17 14:27:38 +01:00
Mike McQuaid
2b737f0423
Split up SoftwareSpec
...
This came up in the AGM and has bothered me for years: let's actually
split out `software_spec.rb` into one file per class, as is more typical
in Ruby.
This will make these classes easier to find.
2025-02-04 16:27:39 +00:00
Mike McQuaid
0c1abc11b4
Merge pull request #19111 from Homebrew/aarch64-linux
...
Add support for bottling Portable Ruby for ARM64 Linux
2025-01-19 14:48:42 +00:00
Sean Molenaar
c34b71655c
feat: allow font install on linux
...
Apply suggestions from code review
Co-authored-by: Douglas Eichelberger <697964+dduugg@users.noreply.github.com>
feat: add linux appdir
Apply suggestions from code review
Co-authored-by: Douglas Eichelberger <697964+dduugg@users.noreply.github.com>
2025-01-19 11:14:24 +01:00
Ruoyu Zhong
a818b25a8b
Add support for bottling Portable Ruby for ARM64 Linux
2025-01-19 17:06:32 +08:00
Issy Long
4c9de7d31c
Merge pull request #19084 from Homebrew/add-comments-to-rubocop-disables
...
Add clarifying comments to `rubocop:disable`s
2025-01-13 11:32:31 +00:00
Douglas Eichelberger
0add431e69
Apply manual violation fixes
2025-01-12 10:06:00 -08:00
Douglas Eichelberger
dbb731bce2
brew style --fix
2025-01-12 10:05:21 -08:00
Issy Long
6ada9a9665
Add clarifying comments to rubocop:disable
s
...
- Needed for PR 18842 that adds a `DisableComment` RuboCop to ensure that all RuboCop disables have comments.
2025-01-12 16:59:07 +00:00
Sean Molenaar
cb23433612
feat: only block cask install on Linux
2024-12-14 15:49:09 +01:00
Douglas Eichelberger
659f993dab
Avoid exposing table
2024-12-08 10:28:10 -08:00
Douglas Eichelberger
6d19b84ef1
Fix args validation
2024-12-08 10:28:10 -08:00
Douglas Eichelberger
fef1211c19
Use method result table
...
foo
2024-12-08 10:28:10 -08:00
Douglas Eichelberger
3ea76b8498
Avoid re-defining #formula?
2024-12-08 10:28:09 -08:00
Douglas Eichelberger
3a4243742f
Remove OpenStruct from CLI::Args
2024-12-08 10:27:49 -08:00
Ruoyu Zhong
64edbe6b79
os/mac/hardware/cpu: add M4 Pro/Max
...
Sources:
- https://github.com/AsahiLinux/docs/wiki/Codenames
- MacOSX15.2.sdk from Xcode 15.2 RC
2024-12-06 16:06:09 +08:00
Mike McQuaid
22fd47b268
Merge pull request #18779 from kiracus/m4
...
Add M4 processor
2024-11-17 08:46:22 +00:00
Caleb Xu
878d5d1633
hardware: rename none optimization flags to dunno
2024-11-16 14:44:37 -05:00
Kiracus
c7b49d5cad
cpu.rb: add Apple M4
2024-11-16 09:28:44 -08:00
Eric Knibbe
e52943d8d6
os/mac/diagnostic: fix case of OpenCore check
2024-11-13 12:23:34 -05:00
Ruoyu Zhong
d0418add45
os/mac/diagnostic: improve OpenCore check
...
This is based on [1].
[1]: https://github.com/Homebrew/brew/pull/18765#issuecomment-2474056438
2024-11-14 00:55:49 +08:00