-
Notifications
You must be signed in to change notification settings - Fork 4k
GH-46757: [CI][Packaging][Conan] Synchronize upstream conan #46758
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
Merged
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 |
|---|---|---|
| @@ -0,0 +1,79 @@ | ||
| MIT License | ||
|
|
||
| Copyright (c) 2025 Conan.io | ||
|
|
||
| Permission is hereby granted, free of charge, to any person obtaining a copy | ||
| of this software and associated documentation files (the "Software"), to deal | ||
| in the Software without restriction, including without limitation the rights | ||
| to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
| copies of the Software, and to permit persons to whom the Software is | ||
| furnished to do so, subject to the following conditions: | ||
|
|
||
| The above copyright notice and this permission notice shall be included in all | ||
| copies or substantial portions of the Software. | ||
|
|
||
| THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
| IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
| FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
| AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
| LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
| OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
| SOFTWARE. | ||
|
|
||
| diff --git a/cpp/cmake_modules/FindThriftAlt.cmake b/cpp/cmake_modules/FindThriftAlt.cmake | ||
| index 98a706d..edf195e 100644 | ||
| --- a/cpp/cmake_modules/FindThriftAlt.cmake | ||
| +++ b/cpp/cmake_modules/FindThriftAlt.cmake | ||
| @@ -45,22 +45,20 @@ endif() | ||
| # * https://github.com/apache/thrift/pull/2725 | ||
| # * https://github.com/apache/thrift/pull/2726 | ||
| # * https://github.com/conda-forge/thrift-cpp-feedstock/issues/68 | ||
| -if(NOT WIN32) | ||
| - set(find_package_args "") | ||
| - if(ThriftAlt_FIND_VERSION) | ||
| - list(APPEND find_package_args ${ThriftAlt_FIND_VERSION}) | ||
| - endif() | ||
| - if(ThriftAlt_FIND_QUIETLY) | ||
| - list(APPEND find_package_args QUIET) | ||
| - endif() | ||
| - find_package(Thrift ${find_package_args}) | ||
| - if(Thrift_FOUND) | ||
| - set(ThriftAlt_FOUND TRUE) | ||
| - add_executable(thrift::compiler IMPORTED) | ||
| - set_target_properties(thrift::compiler PROPERTIES IMPORTED_LOCATION | ||
| - "${THRIFT_COMPILER}") | ||
| - return() | ||
| - endif() | ||
| +set(find_package_args "") | ||
| +if(ThriftAlt_FIND_VERSION) | ||
| + list(APPEND find_package_args ${ThriftAlt_FIND_VERSION}) | ||
| +endif() | ||
| +if(ThriftAlt_FIND_QUIETLY) | ||
| + list(APPEND find_package_args QUIET) | ||
| +endif() | ||
| +find_package(Thrift ${find_package_args}) | ||
| +if(Thrift_FOUND) | ||
| + set(ThriftAlt_FOUND TRUE) | ||
| + add_executable(thrift::compiler IMPORTED) | ||
| + set_target_properties(thrift::compiler PROPERTIES IMPORTED_LOCATION | ||
| + "${THRIFT_COMPILER}") | ||
| + return() | ||
| endif() | ||
|
|
||
| function(extract_thrift_version) | ||
| diff --git a/cpp/src/parquet/size_statistics.cc b/cpp/src/parquet/size_statistics.cc | ||
| index 1ce6c937a..e45eef3f0 100644 | ||
| --- a/cpp/src/parquet/size_statistics.cc | ||
| +++ b/cpp/src/parquet/size_statistics.cc | ||
| @@ -18,9 +18,11 @@ | ||
| #include "parquet/size_statistics.h" | ||
|
|
||
| #include <algorithm> | ||
| +#include <array> | ||
| #include <numeric> | ||
| #include <ostream> | ||
| #include <string_view> | ||
| +#include <vector> | ||
|
|
||
| #include "arrow/util/logging.h" | ||
| #include "parquet/exception.h" |
37 changes: 37 additions & 0 deletions
37
ci/conan/all/patches/19.0.1-0002-fix-downloaded-mimalloc.patch
This file contains hidden or 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 |
|---|---|---|
| @@ -0,0 +1,37 @@ | ||
| MIT License | ||
|
|
||
| Copyright (c) 2025 Conan.io | ||
|
|
||
| Permission is hereby granted, free of charge, to any person obtaining a copy | ||
| of this software and associated documentation files (the "Software"), to deal | ||
| in the Software without restriction, including without limitation the rights | ||
| to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
| copies of the Software, and to permit persons to whom the Software is | ||
| furnished to do so, subject to the following conditions: | ||
|
|
||
| The above copyright notice and this permission notice shall be included in all | ||
| copies or substantial portions of the Software. | ||
|
|
||
| THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
| IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
| FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
| AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
| LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
| OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
| SOFTWARE. | ||
|
|
||
| diff --git a/cpp/cmake_modules/ThirdpartyToolchain.cmake b/cpp/cmake_modules/ThirdpartyToolchain.cmake | ||
| index abfe6d2..cc0f3c5 100644 | ||
| --- a/cpp/cmake_modules/ThirdpartyToolchain.cmake | ||
| +++ b/cpp/cmake_modules/ThirdpartyToolchain.cmake | ||
| @@ -2259,6 +2259,10 @@ endif() | ||
| # mimalloc - Cross-platform high-performance allocator, from Microsoft | ||
|
|
||
| if(ARROW_MIMALLOC) | ||
| + find_package(mimalloc REQUIRED CONFIG) | ||
| +endif() | ||
| + | ||
| +if(0) | ||
| if(NOT ARROW_ENABLE_THREADING) | ||
| message(FATAL_ERROR "Can't use mimalloc with ARROW_ENABLE_THREADING=OFF") | ||
| endif() |
This file contains hidden or 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 hidden or 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 |
|---|---|---|
|
|
@@ -21,6 +21,8 @@ | |
| # SOFTWARE. | ||
|
|
||
| versions: | ||
| "19.0.1": | ||
| folder: all | ||
| "18.1.0": | ||
| folder: all | ||
| "18.0.0": | ||
|
|
||
This file contains hidden or 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
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.
Uh oh!
There was an error while loading. Please reload this page.