2288 Commits

Author SHA1 Message Date
Lukas Oberhuber
c2a95f077f Compiler -g flag set based on --debug-symbols 2022-07-26 17:18:01 +01:00
Lukas Oberhuber
d195f22522 Connecting up --debug-symbols flag
This connects the calling of dsymutil and the retention of temporary
files. Still need to connect compilation to flag.
2022-07-26 12:15:53 +01:00
Lukas Oberhuber
74dd365a56 Hardcoded symbol production
Needs to be toggled by the `--debug-symbols` flag instead of hard coded
2022-07-26 12:13:38 +01:00
Lukas Oberhuber
2d4c792b0b Make one function 2022-07-26 10:00:05 +01:00
Lukas Oberhuber
e1ea9da507 Conceptual draft of dsym support for macos 2022-07-26 00:00:45 +01:00
Rylan Polster
91cf9f2ad8
Use SimulateSystem for uses_from_macos deps 2022-07-23 03:09:29 +02:00
Rylan Polster
34a1bc6618
Use SimulateSystem for ignore_missing_libraries 2022-07-23 03:09:29 +02:00
Rylan Polster
fa384b03fa
Simplify SimulateSystem usage 2022-07-23 03:08:56 +02:00
danielnachun
47b6492098
extend/os/linux/extend/ENV/super.rb: add homebrew_extra_include_paths 2022-07-17 17:15:06 -07:00
Rylan Polster
5e5c78ebef
Fix tests and improve style 2022-07-11 04:03:37 -04:00
Rylan Polster
57417dd016
Add on_system :linux, macos: wrapper to OnSystem 2022-07-11 02:19:24 -04:00
Rylan Polster
39453f87ef
Fix on_{macos_version} blocks on Linux 2022-07-05 19:05:42 -04:00
Rylan Polster
aade3bcc6c
Merge pull request #13491 from Rylan12/include-on-system
`OnSystem`: provide `::MacOSAndLinux` and `::MacOSOnly`
2022-06-30 20:10:12 -04:00
Rylan Polster
99447bb1c0
OnSystem: provide ::MacOSAndLinux and ::MacOSOnly 2022-06-30 12:57:35 -04:00
Bo Anderson
01d1f1ecb6
Fix Keg.bottle_dependencies including unneeded build dependencies 2022-06-30 04:11:15 +01:00
Bo Anderson
2ddce84225
Remove Keg.relocation_formulae
We no longer use any formulae for relocation.
2022-06-30 03:39:29 +01:00
Rylan Polster
a9e62b9e38
include OnSystem to define DSL methods 2022-06-29 11:38:55 -04:00
Rylan Polster
ac067eedb2
Create MacOSVersions module 2022-06-29 11:34:49 -04:00
Rylan Polster
5ec19adf58
Rename Override module to SimulateSystem 2022-06-28 15:35:20 -04:00
Rylan Polster
b538ce7361
Add OnSystem module to generate on_* methods for formulae and casks 2022-06-24 14:37:50 -04:00
Bo Anderson
02164a35db
Use ORIGINAL_PATHS over envs; reject nil PATH 2022-06-17 19:47:57 +01:00
Rylan Polster
cff0122fc4
Remove unnecessary HOMEBREW_INSTALL_FROM_API checks 2022-06-15 16:35:50 -04:00
Bo Anderson
75e76361ac
Preliminary macOS 13 support 2022-06-07 02:39:36 +01:00
Bo Anderson
d857c8416d
os/mac: allow fake El Capitan setup for Portable Ruby builds 2022-05-31 17:56:25 +01:00
Michael Cho
b6905fe0f9
superenv: prioritize dependencies' opt_lib in Linux rpath 2022-05-03 23:14:30 -07:00
Bo Anderson
e6cb1f18e7
Merge pull request #13151 from Bo98/libcrypt-1-deprecation
linkage_checker: deprecate linkage to libcrypt.so.1
2022-04-27 16:00:22 +01:00
EricFromCanada
a4590f394e
search: drop Homebrew cask tap names from list
Results in searching a list of tokens from official Homebrew cask taps and fully-qualified tokens from other taps, matching the list when searching formulae.
2022-04-25 22:22:03 -04:00
Bo Anderson
6db3ee6b0a
extend/os/linux/keg_relocate: restore checking only GCC major versions 2022-04-22 01:41:23 +01:00
Bo Anderson
b2a896eec6
Merge pull request #13065 from xxyzz/skip_build_deps
Skip build deps to avoid downloading bottles
2022-04-22 01:33:44 +01:00
Bo Anderson
5d28c5166b
linkage_checker: deprecate linkage to libcrypt.so.1 2022-04-18 16:42:08 +01:00
Daniel Nachun
23cf66df6a
Merge pull request #13114 from danielnachun/move_codesign_patched_binary
Move codesign_patched_binary to extend/os/mac/keg.rb
2022-04-11 17:05:58 -07:00
Bo Anderson
4de9dd0cfa
ENV/super: always set HOMEBREW_DEVELOPER_DIR regardless of macOS version 2022-04-11 15:13:33 +01:00
danielnachun
4c19d67176
extend/os/mac/keg.rb: move codesign_patched_binary here 2022-04-08 18:09:25 -07:00
Mike McQuaid
b4a9182e3f
Merge pull request #13048 from hyuraku/repair_search_casks
repair cask's fuzzy_search in `search_casks`
2022-04-04 13:40:18 +01:00
EricFromCanada
2fdc70c3bf
desc, search: also search cask descriptions 2022-03-30 11:23:55 -04:00
xxyzz
990b61250a
Get gcc version from API to avoid downloading gcc bottles on Linux 2022-03-30 20:37:19 +08:00
Caleb Xu
d9780bd260
diagnostic: skip linuxbrew-core tap check when installing from API 2022-03-28 14:59:32 -04:00
hyuraku
e486c8710b change the operator 2022-03-28 23:57:21 +09:00
hyuraku
0758631d3d remove if condition 2022-03-28 21:41:40 +09:00
hyuraku
94625d51d6 repair search_casks 2022-03-24 23:02:55 +09:00
Daniel Nachun
d2857e0dd8
Merge pull request #12964 from danielnachun/new_binary_grep
Use simpler method to detect binaries
2022-03-09 16:39:21 -08:00
danielnachun
a9dd3a76eb
extend/os/mac/keg_relocate: change egrep_args 2022-03-09 13:33:50 -08:00
Carlo Cabrera
1447f0853b
Merge pull request #12584 from chris-araman/chris-araman/missing-rpath
linkage: display executables with missing rpath
2022-03-08 17:33:07 +08:00
Daniel Nachun
76e4f6bc79
Merge pull request #12890 from danielnachun/add_binary_grep
Add binary grep method to keg_relocate
2022-02-28 11:27:09 -08:00
danielnachun
94e22d49fa
os/mac/keg_relocate.rb: override grep args 2022-02-28 08:59:33 -08:00
Michka Popoff
bc83c39337
debian7: force usage of brewed ca-certificates 2022-02-22 13:26:59 +01:00
Mike McQuaid
a37f24f439
Revert "Binary patching of build prefixes" 2022-02-14 10:55:08 +00:00
danielnachun
ebea3175f1
extend/os/mac/keg_relocate.rb: override egrep_args 2022-02-10 22:48:45 -08:00
Carlo Cabrera
568bc94f3e
os/mac/keg: use MachOFile#delete_rpath instead of MachO::Tools
This will allow us to avoid keeping track of the number of `RPATH`s
while trying to delete duplicates.

See discussion at #12745.
2022-01-19 00:34:39 +08:00
Carlo Cabrera
ffb3c9cff9
Fuse the rpath loops.
We previously looped twice over the `rpath`s, but we actually only need
to do that once.
2022-01-18 19:29:58 +08:00