Logo
Explore Help
Sign In
admin/brew
1
0
Fork 0
You've already forked brew
Code Issues Packages Projects Releases 6 Wiki Activity
brew/Library/Homebrew/extend/os/dependency_collector.rb

9 lines
174 B
Ruby
Raw Normal View History

Move type annotations into files.
2020-10-10 14:16:11 +02:00
# typed: strict
Add frozen_string_literal to all files.
2019-04-19 15:38:03 +09:00
# frozen_string_literal: true
install glibc/gcc automatically if too old. Right now this is done through the gcc@5 formula. See https://github.com/Homebrew/homebrew-core/blob/9692318ca653f58857fec12136381c9cec290aa9/Formula/gcc%405.rb#L33 This is fragile because when we will migrate to gcc@11 we have to think about migrating the installation from one gcc formula to another.. Also, not having the right glibc version results in a non-functional brew installation on an older Linux: the glibc installation needs to be done by brew, and not by a workaround in a specific formula Co-Authored-By: Mike McQuaid <mike@mikemcquaid.com> Co-Authored-By: Bo Anderson <mail@boanderson.me> Co-Authored-By: Shaun Jackman <sjackman@gmail.com>
2022-08-25 11:04:37 +01:00
if OS.mac?
require "extend/os/mac/dependency_collector"
elsif OS.linux?
require "extend/os/linux/dependency_collector"
end
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.23.8 Page: 1402ms Template: 15ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API