-
Notifications
You must be signed in to change notification settings - Fork 4k
Closed
Description
Describe the enhancement requested
red-arrow has auto dependency install configurations:
arrow/ruby/red-arrow/red-arrow.gemspec
Lines 65 to 115 in aa564a9
| repository_url_prefix = "https://packages.apache.org/artifactory/arrow" | |
| [ | |
| # Try without additional repository | |
| ["amazon_linux", "arrow-glib-devel"], | |
| # Retry with additional repository | |
| [ | |
| "amazon_linux", | |
| "#{repository_url_prefix}/amazon-linux/%{version}/" + | |
| "apache-arrow-release-latest.rpm", | |
| ], | |
| ["amazon_linux", "arrow-glib-devel"], | |
| # Try without additional repository | |
| ["centos", "arrow-glib-devel"], | |
| # Retry with additional repository | |
| [ | |
| "centos", | |
| "#{repository_url_prefix}/centos/%{major_version}-stream/" + | |
| "apache-arrow-release-latest.rpm", | |
| ], | |
| ["centos", "arrow-glib-devel"], | |
| ["conda", "arrow-c-glib"], | |
| # Try without additional repository | |
| ["debian", "libarrow-glib-dev"], | |
| # Retry with additional repository | |
| [ | |
| "debian", | |
| "#{repository_url_prefix}/%{distribution}/" + | |
| "apache-arrow-apt-source-latest-%{code_name}.deb", | |
| ], | |
| ["debian", "libarrow-glib-dev"], | |
| ["fedora", "libarrow-glib-devel"], | |
| # Try without additional repository | |
| ["rhel", "arrow-glib-devel"], | |
| # Retry with additional repository | |
| [ | |
| "rhel", | |
| "#{repository_url_prefix}/almalinux/%{major_version}/" + | |
| "apache-arrow-release-latest.rpm", | |
| ], | |
| ["rhel", "arrow-glib-devel"], | |
| ].each do |platform, package| | |
| spec.requirements << | |
| "system: arrow-glib>=#{required_arrow_glib_version}: " + | |
| "#{platform}: #{package}" | |
| end | |
| end |
But the current configurations misses Homebrew. We can install Apache Arrow C++ and GLib automatically on macOS by gem install red-arrow with the configuration for Homebrew.
Component(s)
Ruby
Reactions are currently unavailable