-
-
Notifications
You must be signed in to change notification settings - Fork 12.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
apache-arrow-glib apache-arrow 16.0.0 #169664
Merged
Merged
Changes from all commits
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
e981910
apache-arrow-glib 16.0.0
chenrui333 30fe7e3
apache-arrow 16.0.0
chenrui333 8edc5e8
dvc: revision bump (apache-arrow 16.0.0)
chenrui333 00f6c98
gdal: revision bump (apache-arrow 16.0.0)
chenrui333 cc906f9
vineyard: revision bump (apache-arrow 16.0.0)
chenrui333 7555639
apache-arrow: update 16.0.0 bottle.
cho-m 01d86e4
apache-arrow-glib: update 16.0.0 bottle.
cho-m e5e0410
dvc: update 3.50.0_1 bottle.
cho-m d2217a3
gdal: update 3.8.5_2 bottle.
cho-m bb4ff39
vineyard: update 0.22.1_1 bottle.
cho-m File filter
Filter by extension
Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,20 +6,20 @@ class Vineyard < Formula | |
url "https://github.com/v6d-io/v6d/releases/download/v0.22.1/v6d-0.22.1.tar.gz" | ||
sha256 "16aea4dc63830925c2d8cd89dc36580ff80dd7610793d56ae5d0d09972cf2fcc" | ||
license "Apache-2.0" | ||
revision 1 | ||
|
||
bottle do | ||
sha256 arm64_sonoma: "735777e66863fde84e3d493d7d514eb81207aff7414bb338ecb95a7bc330381f" | ||
sha256 arm64_ventura: "112ca291c6de7c2a92b3f41fd431930d2d0a4b5b569644aa418c8124f59831ed" | ||
sha256 arm64_monterey: "3d4001555091698f10d57f2d100df41d0449a7f803fe48fe5ef132ff46a67e39" | ||
sha256 sonoma: "720983a2beeea2aaf584c0be1685845b5573d7795a331e13c1291689a92241df" | ||
sha256 ventura: "b6fb3149867768f4f61aba0cb2b566d70f117ea49a56a990b300187dbe6ff904" | ||
sha256 monterey: "2e6999a381668f1ffab2b35704482195daa9181e4444e5d67403832a8e7244df" | ||
sha256 cellar: :any_skip_relocation, x86_64_linux: "fef2b7a9c5e634c269a735e60a2ca7f224d1c81bbbdbe9954ebbde872ddb65f2" | ||
sha256 arm64_sonoma: "6f92524f4f5d2e5b71a68a54314e20b0f23caac1ab578a73d5ee2cd5fe942030" | ||
sha256 arm64_ventura: "1b1789c73b0e745d13a2d57a5620a348b622f4d8967f73b1dd2846c7d58d0bd1" | ||
sha256 arm64_monterey: "30a0aabb3277ea75a836db664cb7929fe2a24807f239ac0632434cbf10274cec" | ||
sha256 sonoma: "94154dde18c24c431103d4db402bb260c99f15e79bb6c56fa0d6c0ee4f0ee435" | ||
sha256 ventura: "f0dd8408d2fdd0b693ee4baeb0f28562275891f61a48ad615929305846e82de2" | ||
sha256 monterey: "a597e092c45f61dfc0ad60971dcfe80223e7b4ce7913cd45608b31d66888bd10" | ||
sha256 cellar: :any_skip_relocation, x86_64_linux: "4e218fd701201885a89ee5da2d7ce4d7b08b06f8b93f6fc81399269b3a4e42bd" | ||
end | ||
|
||
depends_on "cmake" => [:build, :test] | ||
depends_on "llvm" => [:build, :test] | ||
depends_on "python-setuptools" => :build | ||
depends_on "[email protected]" => :build | ||
depends_on "apache-arrow" | ||
depends_on "boost" | ||
|
@@ -37,19 +37,31 @@ class Vineyard < Formula | |
|
||
fails_with gcc: "5" | ||
|
||
resource "setuptools" do | ||
url "https://files.pythonhosted.org/packages/d6/4f/b10f707e14ef7de524fe1f8988a294fb262a29c9b5b12275c7e188864aed/setuptools-69.5.1.tar.gz" | ||
sha256 "6c1fccdac05a97e598fb0ae3bbed5904ccb317337a51139dcd51453611bbb987" | ||
end | ||
|
||
def install | ||
python = "python3.12" | ||
venv = virtualenv_create(libexec, python) | ||
venv.pip_install resources | ||
# LLVM is keg-only. | ||
ENV.prepend_path "PYTHONPATH", Formula["llvm"].opt_prefix/Language::Python.site_packages(python) | ||
|
||
# Work around an Xcode 15 linker issue which causes linkage against LLVM's | ||
# libunwind due to it being present in a library search path. | ||
ENV.remove "HOMEBREW_LIBRARY_PATHS", Formula["llvm"].opt_lib | ||
|
||
# Work around API changes in `apache-arrow` 16+. | ||
# Issue ref: https://github.com/v6d-io/v6d/issues/1881 | ||
arrow_uri_files = %w[modules/io/io/local_io_adaptor.cc modules/io/io/io_factory.cc] | ||
inreplace arrow_uri_files, "arrow::internal::Uri", "arrow::util::Uri" | ||
|
||
system "cmake", "-S", ".", "-B", "build", | ||
"-DCMAKE_CXX_STANDARD=17", | ||
"-DCMAKE_CXX_STANDARD_REQUIRED=TRUE", | ||
"-DPYTHON_EXECUTABLE=#{which(python)}", | ||
"-DPYTHON_EXECUTABLE=#{venv.root}/bin/python", | ||
"-DUSE_EXTERNAL_ETCD_LIBS=ON", | ||
"-DUSE_EXTERNAL_REDIS_LIBS=ON", | ||
"-DUSE_EXTERNAL_HIREDIS_LIBS=ON", | ||
|
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In a follow up PR, I will switch to upstream commit v6d-io/v6d@e8b8c82 (which was done after I reported issue v6d-io/v6d#1881 so not available at time of original run). The changes are the same, i.e. replacing all
arrow::internal::Uri*
usage witharrow::util::Uri*
.