Michael Cho
f5c11fa342
Check host libstdc++ for brew gcc
dependency
...
For most formulae, the bottles need a minimum libstdc++ rather than a
minimum GCC version. This is particularly important when building on
Ubuntu where the default compiler version is older than libstdc++.
So, checking the host libstdc++ version is a more accurate way to
determine whether brew GCC is needed at runtime. This can be improved in
the future to check symbol versions (e.g. GLIBCXX, CXXABI, GLIBC) which
can allow some bottles to be installed even with older glibc/libstdc++.
2025-09-12 14:15:56 -04:00
Michael Cho
896edb4451
os/linux/ld: add support for using system ld.so
2025-09-05 09:04:21 -04:00
copilot-swe-agent[bot]
4ee43fbde1
Improve quarantine support error messages with specific CLT guidance
...
Co-authored-by: MikeMcQuaid <125011+MikeMcQuaid@users.noreply.github.com>
2025-08-13 14:30:05 +01:00
copilot-swe-agent[bot]
4ad7d59a25
Implement pkg-config macOS SDK mismatch diagnostic check
...
Co-authored-by: MikeMcQuaid <125011+MikeMcQuaid@users.noreply.github.com>
2025-08-13 09:03:26 +01:00
copilot-swe-agent[bot]
d785e2024b
Add symlinked home detection to brew doctor on Linux
...
Co-authored-by: MikeMcQuaid <125011+MikeMcQuaid@users.noreply.github.com>
2025-08-12 11:00:14 +01:00
Sean Molenaar
32b9afd7cd
feat: add linux tests
2025-01-19 12:32:55 +01:00
Michael Cho
252678692f
os/mac/pkgconfig: add bzip2.pc for rust formulae
2024-10-11 14:55:37 -04:00
Douglas Eichelberger
5d5daaa09f
Use FormulaInstaller OS extensions
2024-09-06 13:58:32 -07:00
Markus Reiter
480e264d9a
Lint Ruby docs.
2024-05-01 11:35:21 +02:00
Caleb Xu
6ee34832d1
elf: expand $ORIGIN in RUNPATH/RPATH entries
2024-04-25 22:52:25 -04:00
Ruoyu Zhong
916b37388d
Revert "Revert "os/linux/elf: avoid using ldd for listing dynamic dependencies""
2024-04-24 02:23:13 +08:00
Ruoyu Zhong
852c5acb65
Revert "os/linux/elf: avoid using ldd for listing dynamic dependencies"
2024-04-16 02:50:12 +08:00
Caleb Xu
c6b98d0b8c
os/linux/ld: add functions for querying dynamic linker
2024-04-13 19:35:29 -04:00
Douglas Eichelberger
f664433b5c
Enable RSpec/DescribeClass
2024-04-03 09:12:47 -07:00
Mike McQuaid
ea2892f8ee
brew.rb: handle missing args.
2024-03-07 16:20:20 +00:00
Douglas Eichelberger
26eda5a303
git grep -l '^describe' | xargs gsed -i 's|^describe|RSpec.describe|g'
2024-02-19 13:57:27 +00:00
Bo Anderson
5692c8ecbf
Fix style violations under newer RuboCop
2023-12-14 05:47:12 +00:00
Bo Anderson
688d87e839
Remove Ruby 2.6 & macOS system Ruby support code
2023-12-12 03:44:31 +00:00
Bo Anderson
ad2c1c9bad
test/os/mac/diagnostic: fix when env is not set
2023-11-22 01:02:46 +00:00
Bo Anderson
dc7a47d0ac
test: drop deprecated uses_from_macos_elements checks
2023-07-07 20:35:54 +01:00
Bo Anderson
71d51faa55
Introduce tag for implicit dependencies
2023-07-04 13:40:58 +01:00
Bo Anderson
d1b923f314
Introduce UsesFromMacOSDependency
...
Add Formula#declared_deps and SoftwareSpec#declared_deps
2023-07-04 13:40:55 +01:00
Markus Reiter
8274920217
Rename OS::Mac::Version
to MacOSVersion
.
2023-05-09 05:08:38 +02:00
Markus Reiter
fe19ddc3a7
Remove Version#empty?
.
2023-05-09 01:13:55 +02:00
Markus Reiter
a1efaf1864
Merge HeadVersion
and NullVersion
into Version
.
2023-05-09 01:13:54 +02:00
Douglas Eichelberger
9075cbae62
brew style --fix
2023-04-21 09:58:50 -07:00
Douglas Eichelberger
ac1e6ded9a
git grep -l '# typed: false' | xargs gsed -i 's|# typed: false||g'
2023-04-21 09:57:47 -07:00
Issy Long
3a83b5492c
rubocop: Clean up Style/BlockDelimiters
excludes and autofix offenses
...
- The defaults of using "do ... end" for multi-line blocks everywhere is
good, better than switching everything to braces everywhere.
2023-03-08 23:54:22 +00:00
Mike McQuaid
a743e9277f
workflows/tests: faster, more reliable tests.
...
- Extract update tests into separate tests.
- Make `brew tests --online` run only once in its own job. This job
could be made non-required to fight flakiness.
- Split up the various macOS runs into several steps now that we have
more parallel macOS workers available.
- Cleanup some flaky tests.
2023-02-17 15:26:18 +00:00
Rylan Polster
91cf9f2ad8
Use SimulateSystem
for uses_from_macos
deps
2022-07-23 03:09:29 +02:00
Bo Anderson
75e76361ac
Preliminary macOS 13 support
2022-06-07 02:39:36 +01:00
Mike McQuaid
1bb44979ee
Disable and delete code for 3.5.0
...
The next planned release will be 3.5.0 so let's fix things up for there.
2022-05-30 14:59:14 +01:00
Bo Anderson
b3da8dbd24
test/os/mac/pkgconfig_spec: fix libffi detection on 12.3+ SDK
2022-04-27 00:59:15 +01:00
Bo Anderson
a2f95125f0
test/os/mac/dependency_collector_spec: fix svn test on older macOS
2022-03-06 19:04:04 +00:00
Issy Long
cb2a09e65e
Fix (auto-correct) more RSpec/BeNil
offenses
...
- The `RSpec/BeEq` auto-corrections made more `RSpec/BeNil` offenses, so another go of `brew style --only=RSpec/BeNil --fix\` is needed.
2022-03-01 00:36:37 +00:00
Issy Long
72e48024f0
Fix (auto-correct) RuboCop Rspec/BeEq
offenses
2022-03-01 00:10:14 +00:00
Issy Long
6b76fd012a
Fix (auto-correct) RuboCop RSpec/BeNil
offenses
2022-03-01 00:10:10 +00:00
Carlo Cabrera
b040775e16
Fix diagnostic_spec
...
The test case needs to be adjusted for the new diagnostic output.
2021-10-21 21:05:51 +08:00
Mike McQuaid
0cda6a0657
Only use patchelf.rb
...
Remove support for using the `patchelf` formula for writing as it's been
off by default for a long time now.
2021-10-19 15:15:56 +01:00
Mike McQuaid
3e15023269
test/os/mac: fix uses_from_macos_elements tests.
2021-09-14 09:47:00 +01:00
Bo Anderson
9686ebe355
os/mac/diagnostic: prevent some double diagostic failures
2021-08-11 14:19:22 +01:00
Sam Ford
0752d25125
OS::Mac: Move version methods into ::Version
2021-06-23 09:03:46 -04:00
Mike McQuaid
30a65342e8
Deprecate, disable, delete code for Homebrew 3.2.0
...
Do the usual deprecation, disable, delete dance for Homebrew 3.2.0.
2021-06-17 11:34:32 +01:00
Bo Anderson
20d86c0185
Refactor some tag handling into a Utils::Bottles::Tag class
2021-04-08 17:23:57 +01:00
Issy Long
e143dfdad6
Merge pull request #10658 from issyl0/rubocop-enable-rspec-context-wording
...
rubocop: Enable RSpec/ContextWording cop & fix offenses
2021-02-23 00:14:02 +00:00
Issy Long
ead84825a6
test: Fix all RSpec/RepeatedExampleGroupDescription offenses
2021-02-21 14:06:24 +00:00
Issy Long
5793be5b86
test: Change more context
s to describe
s for better sentences
...
- We could have added "to" to the `RSpec/ContextWording` list of valid
`context` prefixes, but switching these to `describe` is less special.
2021-02-21 13:31:26 +00:00
Issy Long
e1ad07190e
rubocop: Fix RSpec/ContextWording
offenses
...
- For some of these I changed `context` to `describe` as it fit better
rather than contriving a "when", "with" or "without", or massively
restructuring the tests.
2021-02-19 23:30:41 +00:00
Bo Anderson
323ff660fa
rubocop: use consistent array/hash indentation
2021-02-11 13:27:42 +00:00
Bo Anderson
87b6fe8f84
test/os/mac/sdk: add tests
2021-02-11 01:20:02 +00:00