From fcc5ffe3a2e36be13ddb6c2403dedb13d50aac5a Mon Sep 17 00:00:00 2001 From: "H. Vetinari" Date: Wed, 12 Jun 2024 23:33:03 +1100 Subject: [PATCH 1/4] enable azure bindings on windows; backport fix --- recipe/bld.bat | 2 +- recipe/meta.yaml | 20 ++--- recipe/patches/0001-disable-gcsfs_test.patch | 2 +- ...2-skip-NonExistentBucket-test-on-osx.patch | 2 +- ...C-Use-base-Azure-Core-RequestFailedE.patch | 2 +- ...-use-standard-calendar-timezone-APIs.patch | 2 +- ...ndiva-tests-related-to-tzdb-handling.patch | 2 +- ...id-std-unique_ptr-Impl-in-azurefs.cc.patch | 81 +++++++++++++++++++ 8 files changed, 97 insertions(+), 16 deletions(-) create mode 100644 recipe/patches/0006-avoid-std-unique_ptr-Impl-in-azurefs.cc.patch diff --git a/recipe/bld.bat b/recipe/bld.bat index 67a0064bf..3f1aaf175 100644 --- a/recipe/bld.bat +++ b/recipe/bld.bat @@ -17,7 +17,7 @@ set "READ_RECIPE_META_YAML_WHY_NOT=OFF" :: https://github.com/apache/arrow/blame/apache-arrow-12.0.0/cpp/cmake_modules/DefineOptions.cmake cmake -G "Ninja" ^ -DARROW_ACERO=ON ^ - -DARROW_AZURE=%READ_RECIPE_META_YAML_WHY_NOT% ^ + -DARROW_AZURE=ON ^ -DARROW_BOOST_USE_SHARED:BOOL=ON ^ -DARROW_BUILD_STATIC:BOOL=OFF ^ -DARROW_BUILD_TESTS:BOOL=ON ^ diff --git a/recipe/meta.yaml b/recipe/meta.yaml index 5a6d0cf32..0de138d00 100644 --- a/recipe/meta.yaml +++ b/recipe/meta.yaml @@ -28,6 +28,8 @@ source: - patches/0004-GH-48593-C-C-20-use-standard-calendar-timezone-APIs.patch # disable gandiva tests that are "unmaintained" and failing on windows - patches/0005-disable-some-gandiva-tests-related-to-tzdb-handling.patch # [win] + # possible fix for https://github.com/apache/arrow/issues/41990 + - patches/0006-avoid-std-unique_ptr-Impl-in-azurefs.cc.patch # testing-submodules not part of release tarball - git_url: https://github.com/apache/arrow-testing.git @@ -70,12 +72,10 @@ requirements: - llvmdev {{ llvm_version }} - aws-crt-cpp - aws-sdk-cpp - # azure filesystem dependencies, currently broken on windows, see - # https://github.com/apache/arrow/issues/41990 - - azure-core-cpp # [unix] - - azure-identity-cpp # [unix] - - azure-storage-blobs-cpp # [unix] - - azure-storage-files-datalake-cpp # [unix] + - azure-core-cpp + - azure-identity-cpp + - azure-storage-blobs-cpp + - azure-storage-files-datalake-cpp - brotli - bzip2 - gflags @@ -223,10 +223,10 @@ outputs: host: - aws-crt-cpp - aws-sdk-cpp - - azure-core-cpp # [unix] - - azure-identity-cpp # [unix] - - azure-storage-blobs-cpp # [unix] - - azure-storage-files-datalake-cpp # [unix] + - azure-core-cpp + - azure-identity-cpp + - azure-storage-blobs-cpp + - azure-storage-files-datalake-cpp - brotli - bzip2 - gflags diff --git a/recipe/patches/0001-disable-gcsfs_test.patch b/recipe/patches/0001-disable-gcsfs_test.patch index 0080a4a58..1e6314fb3 100644 --- a/recipe/patches/0001-disable-gcsfs_test.patch +++ b/recipe/patches/0001-disable-gcsfs_test.patch @@ -1,7 +1,7 @@ From 8e54e12c2954360c1552509c712c1a392708564d Mon Sep 17 00:00:00 2001 From: "H. Vetinari" Date: Sat, 2 Nov 2024 15:41:34 +1100 -Subject: [PATCH 1/5] disable gcsfs_test +Subject: [PATCH 1/6] disable gcsfs_test it cannot work unless we package https://github.com/googleapis/storage-testbench, which however has extremely tight dependencies on protobuf etc., making it very diff --git a/recipe/patches/0002-skip-NonExistentBucket-test-on-osx.patch b/recipe/patches/0002-skip-NonExistentBucket-test-on-osx.patch index 920aa9048..0873a887c 100644 --- a/recipe/patches/0002-skip-NonExistentBucket-test-on-osx.patch +++ b/recipe/patches/0002-skip-NonExistentBucket-test-on-osx.patch @@ -1,7 +1,7 @@ From 0420ba3d4af352103ec4b5a31cc7f95470e60dc8 Mon Sep 17 00:00:00 2001 From: "H. Vetinari" Date: Sun, 24 Nov 2024 20:22:35 +1100 -Subject: [PATCH 2/5] skip NonExistentBucket test on osx +Subject: [PATCH 2/6] skip NonExistentBucket test on osx --- cpp/src/arrow/filesystem/s3fs_test.cc | 4 ++++ diff --git a/recipe/patches/0003-GH-48894-Python-C-Use-base-Azure-Core-RequestFailedE.patch b/recipe/patches/0003-GH-48894-Python-C-Use-base-Azure-Core-RequestFailedE.patch index a79c685bf..adfeb213d 100644 --- a/recipe/patches/0003-GH-48894-Python-C-Use-base-Azure-Core-RequestFailedE.patch +++ b/recipe/patches/0003-GH-48894-Python-C-Use-base-Azure-Core-RequestFailedE.patch @@ -1,7 +1,7 @@ From 1208d461bf2c3b241f993758de5ab9287d638aa5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ra=C3=BAl=20Cumplido?= Date: Tue, 20 Jan 2026 15:32:01 +0100 -Subject: [PATCH 3/5] GH-48894: [Python][C++] Use base +Subject: [PATCH 3/6] GH-48894: [Python][C++] Use base Azure::Core::RequestFailedException instead of final Azure::Storage::StorageException and set minimum nodejs on conda env to 16 for Azurite to work (#48895) diff --git a/recipe/patches/0004-GH-48593-C-C-20-use-standard-calendar-timezone-APIs.patch b/recipe/patches/0004-GH-48593-C-C-20-use-standard-calendar-timezone-APIs.patch index 0187316b0..3909ac617 100644 --- a/recipe/patches/0004-GH-48593-C-C-20-use-standard-calendar-timezone-APIs.patch +++ b/recipe/patches/0004-GH-48593-C-C-20-use-standard-calendar-timezone-APIs.patch @@ -1,7 +1,7 @@ From c245279a11d81506bbea12233f4415405dcda478 Mon Sep 17 00:00:00 2001 From: Rok Mihevc Date: Fri, 19 Dec 2025 23:49:22 +0100 -Subject: [PATCH 4/5] GH-48593: [C++] C++20: use standard calendar / timezone +Subject: [PATCH 4/6] GH-48593: [C++] C++20: use standard calendar / timezone APIs --- diff --git a/recipe/patches/0005-disable-some-gandiva-tests-related-to-tzdb-handling.patch b/recipe/patches/0005-disable-some-gandiva-tests-related-to-tzdb-handling.patch index 6e9ce1b6b..7d9730d2f 100644 --- a/recipe/patches/0005-disable-some-gandiva-tests-related-to-tzdb-handling.patch +++ b/recipe/patches/0005-disable-some-gandiva-tests-related-to-tzdb-handling.patch @@ -1,7 +1,7 @@ From 399a52e7d2a62dc56dbbd1e5aba4b41a5bcb436f Mon Sep 17 00:00:00 2001 From: "H. Vetinari" Date: Fri, 23 Jan 2026 23:51:29 +1100 -Subject: [PATCH 5/5] disable some gandiva tests related to tzdb handling +Subject: [PATCH 5/6] disable some gandiva tests related to tzdb handling from upstream: "Gandiva is unmaintained, feel free to disable those tests." see https://github.com/apache/arrow/issues/48874 diff --git a/recipe/patches/0006-avoid-std-unique_ptr-Impl-in-azurefs.cc.patch b/recipe/patches/0006-avoid-std-unique_ptr-Impl-in-azurefs.cc.patch new file mode 100644 index 000000000..64a1f1a07 --- /dev/null +++ b/recipe/patches/0006-avoid-std-unique_ptr-Impl-in-azurefs.cc.patch @@ -0,0 +1,81 @@ +From a76ea1f1d494ec99cf9e0fbaaa8999a4da40102d Mon Sep 17 00:00:00 2001 +From: Sutou Kouhei +Date: Wed, 12 Jun 2024 23:30:55 +1100 +Subject: [PATCH 6/6] avoid std::unique_ptr&& in azurefs.cc + +--- + cpp/src/arrow/filesystem/azurefs.cc | 27 +++++++++++++-------------- + cpp/src/arrow/filesystem/azurefs.h | 3 ++- + 2 files changed, 15 insertions(+), 15 deletions(-) + +diff --git a/cpp/src/arrow/filesystem/azurefs.cc b/cpp/src/arrow/filesystem/azurefs.cc +index 6580476d38..b6d79f180a 100644 +--- a/cpp/src/arrow/filesystem/azurefs.cc ++++ b/cpp/src/arrow/filesystem/azurefs.cc +@@ -1674,19 +1674,14 @@ class AzureFileSystem::Impl { + std::unique_ptr blob_service_client_; + HNSSupport cached_hns_support_ = HNSSupport::kUnknown; + ++ public: + Impl(AzureOptions options, io::IOContext io_context) + : io_context_(std::move(io_context)), options_(std::move(options)) {} + +- public: +- static Result> Make(AzureOptions options, +- io::IOContext io_context) { +- auto self = std::unique_ptr( +- new AzureFileSystem::Impl(std::move(options), std::move(io_context))); +- ARROW_ASSIGN_OR_RAISE(self->blob_service_client_, +- self->options_.MakeBlobServiceClient()); +- ARROW_ASSIGN_OR_RAISE(self->datalake_service_client_, +- self->options_.MakeDataLakeServiceClient()); +- return self; ++ Status Init() { ++ ARROW_ASSIGN_OR_RAISE(blob_service_client_, options_.MakeBlobServiceClient()); ++ ARROW_ASSIGN_OR_RAISE(datalake_service_client_, options_.MakeDataLakeServiceClient()); ++ return Status::OK(); + } + + io::IOContext& io_context() { return io_context_; } +@@ -3218,19 +3213,23 @@ class AzureFileSystem::Impl { + std::atomic LeaseGuard::latest_known_expiry_time_ = + SteadyClock::time_point{SteadyClock::duration::zero()}; + +-AzureFileSystem::AzureFileSystem(std::unique_ptr&& impl) +- : FileSystem(impl->io_context()), impl_(std::move(impl)) { ++AzureFileSystem::AzureFileSystem(const AzureOptions& options, ++ const io::IOContext& io_context) ++ : FileSystem(io_context), impl_(std::make_unique(options, io_context)) { + default_async_is_sync_ = false; + } + ++Status AzureFileSystem::Init() { return impl_->Init(); } ++ + void AzureFileSystem::ForceCachedHierarchicalNamespaceSupport(int hns_support) { + impl_->ForceCachedHierarchicalNamespaceSupport(hns_support); + } + + Result> AzureFileSystem::Make( + const AzureOptions& options, const io::IOContext& io_context) { +- ARROW_ASSIGN_OR_RAISE(auto impl, AzureFileSystem::Impl::Make(options, io_context)); +- return std::shared_ptr(new AzureFileSystem(std::move(impl))); ++ std::shared_ptr filesystem(new AzureFileSystem(options, io_context)); ++ ARROW_RETURN_NOT_OK(filesystem->Init()); ++ return filesystem; + } + + const AzureOptions& AzureFileSystem::options() const { return impl_->options(); } +diff --git a/cpp/src/arrow/filesystem/azurefs.h b/cpp/src/arrow/filesystem/azurefs.h +index ee0956afdd..135b7b35b2 100644 +--- a/cpp/src/arrow/filesystem/azurefs.h ++++ b/cpp/src/arrow/filesystem/azurefs.h +@@ -245,7 +245,8 @@ class ARROW_EXPORT AzureFileSystem : public FileSystem { + class Impl; + std::unique_ptr impl_; + +- explicit AzureFileSystem(std::unique_ptr&& impl); ++ explicit AzureFileSystem(const AzureOptions& options, const io::IOContext& io_context); ++ Status Init(); + + friend class TestAzureFileSystem; + void ForceCachedHierarchicalNamespaceSupport(int hns_support); From 5c30d76be8eefe34676dd28a181caecc53cd6444 Mon Sep 17 00:00:00 2001 From: "H. Vetinari" Date: Mon, 24 Jun 2024 15:52:26 +1100 Subject: [PATCH 2/4] DEBUG: only non-CUDA windows --- recipe/meta.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/recipe/meta.yaml b/recipe/meta.yaml index 0de138d00..88d0aca50 100644 --- a/recipe/meta.yaml +++ b/recipe/meta.yaml @@ -44,6 +44,8 @@ build: # for cuda support, building with one version is enough to be compatible with # all later versions, since arrow is only using libcuda, and not libcudart. skip: true # [cuda_compiler_version not in ("None", cuda_compiler_version_min)] + # debug + skip: true # [not (win and cuda_compiler_version == "None")] requirements: build: From 5c5a17fc7e047ff1e29ca98407bb6e3d1ff2fd57 Mon Sep 17 00:00:00 2001 From: "H. Vetinari" Date: Sat, 24 Jan 2026 15:56:36 +1100 Subject: [PATCH 3/4] backport new patch attempt --- recipe/meta.yaml | 4 +- .../0006-Fix-MSVC-build-for-Azure.patch | 156 ++++++++++++++++++ ...id-std-unique_ptr-Impl-in-azurefs.cc.patch | 81 --------- 3 files changed, 158 insertions(+), 83 deletions(-) create mode 100644 recipe/patches/0006-Fix-MSVC-build-for-Azure.patch delete mode 100644 recipe/patches/0006-avoid-std-unique_ptr-Impl-in-azurefs.cc.patch diff --git a/recipe/meta.yaml b/recipe/meta.yaml index 88d0aca50..0aa40f08a 100644 --- a/recipe/meta.yaml +++ b/recipe/meta.yaml @@ -28,8 +28,8 @@ source: - patches/0004-GH-48593-C-C-20-use-standard-calendar-timezone-APIs.patch # disable gandiva tests that are "unmaintained" and failing on windows - patches/0005-disable-some-gandiva-tests-related-to-tzdb-handling.patch # [win] - # possible fix for https://github.com/apache/arrow/issues/41990 - - patches/0006-avoid-std-unique_ptr-Impl-in-azurefs.cc.patch + # backport of https://github.com/apache/arrow/pull/48971 + - patches/0006-Fix-MSVC-build-for-Azure.patch # testing-submodules not part of release tarball - git_url: https://github.com/apache/arrow-testing.git diff --git a/recipe/patches/0006-Fix-MSVC-build-for-Azure.patch b/recipe/patches/0006-Fix-MSVC-build-for-Azure.patch new file mode 100644 index 000000000..0735c2d90 --- /dev/null +++ b/recipe/patches/0006-Fix-MSVC-build-for-Azure.patch @@ -0,0 +1,156 @@ +From 7d3ec3c772d02159eba2d6e934e5dd47da40310b Mon Sep 17 00:00:00 2001 +From: Nate Prewitt +Date: Thu, 22 Jan 2026 13:22:28 -0700 +Subject: [PATCH 6/6] Fix MSVC build for Azure + +- Change kMaxBlockSizeBytes to Long Long for cross platform compatibility +--- + .github/workflows/cpp_windows.yml | 2 ++ + cpp/cmake_modules/ThirdpartyToolchain.cmake | 22 +++++++++++++++++++++ + cpp/src/arrow/filesystem/azurefs.cc | 8 +++++--- + cpp/src/arrow/filesystem/azurefs.h | 2 +- + cpp/thirdparty/versions.txt | 5 +++++ + 5 files changed, 35 insertions(+), 4 deletions(-) + +diff --git a/.github/workflows/cpp_windows.yml b/.github/workflows/cpp_windows.yml +index 3f13097a6e..3bbf814626 100644 +--- a/.github/workflows/cpp_windows.yml ++++ b/.github/workflows/cpp_windows.yml +@@ -41,12 +41,14 @@ jobs: + runs-on: ${{ inputs.os }} + timeout-minutes: 60 + env: ++ ARROW_AZURE: ON + ARROW_BOOST_USE_SHARED: OFF + ARROW_BUILD_BENCHMARKS: ON + ARROW_BUILD_SHARED: ON + ARROW_BUILD_STATIC: OFF + ARROW_BUILD_TESTS: ON + ARROW_DATASET: ON ++ ARROW_FILESYSTEM: ON + ARROW_FLIGHT: OFF + ARROW_HDFS: ON + ARROW_HOME: /usr +diff --git a/cpp/cmake_modules/ThirdpartyToolchain.cmake b/cpp/cmake_modules/ThirdpartyToolchain.cmake +index b95d649145..eb3c94e89d 100644 +--- a/cpp/cmake_modules/ThirdpartyToolchain.cmake ++++ b/cpp/cmake_modules/ThirdpartyToolchain.cmake +@@ -595,6 +595,13 @@ else() + ) + endif() + ++if(DEFINED ENV{ARROW_WIL_URL}) ++ set(ARROW_WIL_URL "$ENV{ARROW_WIL_URL}") ++else() ++ set_urls(ARROW_WIL_URL ++ "https://github.com/microsoft/wil/archive/${ARROW_WIL_BUILD_VERSION}.tar.gz") ++endif() ++ + if(DEFINED ENV{ARROW_BOOST_URL}) + set(BOOST_SOURCE_URL "$ENV{ARROW_BOOST_URL}") + else() +@@ -4054,6 +4061,21 @@ endif() + + function(build_azure_sdk) + message(STATUS "Building Azure SDK for C++ from source") ++ ++ # On Windows, Azure SDK's WinHTTP transport requires WIL (Windows Implementation Libraries). ++ # Fetch WIL before Azure SDK so the WIL::WIL target is available. ++ if(WIN32) ++ message(STATUS "Fetching WIL (Windows Implementation Libraries) for Azure SDK") ++ fetchcontent_declare(wil ++ ${FC_DECLARE_COMMON_OPTIONS} OVERRIDE_FIND_PACKAGE ++ URL ${ARROW_WIL_URL} ++ URL_HASH "SHA256=${ARROW_WIL_BUILD_SHA256_CHECKSUM}") ++ prepare_fetchcontent() ++ set(WIL_BUILD_PACKAGING OFF) ++ set(WIL_BUILD_TESTS OFF) ++ fetchcontent_makeavailable(wil) ++ endif() ++ + fetchcontent_declare(azure_sdk + ${FC_DECLARE_COMMON_OPTIONS} + URL ${ARROW_AZURE_SDK_URL} +diff --git a/cpp/src/arrow/filesystem/azurefs.cc b/cpp/src/arrow/filesystem/azurefs.cc +index 6580476d38..5500d1845b 100644 +--- a/cpp/src/arrow/filesystem/azurefs.cc ++++ b/cpp/src/arrow/filesystem/azurefs.cc +@@ -970,7 +970,7 @@ Status StageBlock(Blobs::BlockBlobClient* block_blob_client, const std::string& + /// Writes will be buffered up to this size (in bytes) before actually uploading them. + static constexpr int64_t kBlockUploadSizeBytes = 10 * 1024 * 1024; + /// The maximum size of a block in Azure Blob (as per docs). +-static constexpr int64_t kMaxBlockSizeBytes = 4UL * 1024 * 1024 * 1024; ++static constexpr int64_t kMaxBlockSizeBytes = 4LL * 1024 * 1024 * 1024; + + /// This output stream, similar to other arrow OutputStreams, is not thread-safe. + class ObjectAppendStream final : public io::OutputStream { +@@ -1362,7 +1362,7 @@ Result CheckIfHierarchicalNamespaceIsEnabled( + // without hierarchical namespace enabled. + directory_client.GetAccessControlList(); + return HNSSupport::kEnabled; +- } catch (std::out_of_range& exception) { ++ } catch (const std::out_of_range&) { + // Azurite issue detected. + DCHECK(IsDfsEmulator(options)); + return HNSSupport::kDisabled; +@@ -2499,7 +2499,7 @@ class AzureFileSystem::Impl { + try { + auto delete_result = deferred_response.GetResponse(); + success = delete_result.Value.Deleted; +- } catch (const Core::RequestFailedException& exception) { ++ } catch (const Core::RequestFailedException&) { + success = false; + } + if (!success) { +@@ -3218,6 +3218,8 @@ class AzureFileSystem::Impl { + std::atomic LeaseGuard::latest_known_expiry_time_ = + SteadyClock::time_point{SteadyClock::duration::zero()}; + ++AzureFileSystem::~AzureFileSystem() = default; ++ + AzureFileSystem::AzureFileSystem(std::unique_ptr&& impl) + : FileSystem(impl->io_context()), impl_(std::move(impl)) { + default_async_is_sync_ = false; +diff --git a/cpp/src/arrow/filesystem/azurefs.h b/cpp/src/arrow/filesystem/azurefs.h +index ee0956afdd..ae374d487b 100644 +--- a/cpp/src/arrow/filesystem/azurefs.h ++++ b/cpp/src/arrow/filesystem/azurefs.h +@@ -251,7 +251,7 @@ class ARROW_EXPORT AzureFileSystem : public FileSystem { + void ForceCachedHierarchicalNamespaceSupport(int hns_support); + + public: +- ~AzureFileSystem() override = default; ++ ~AzureFileSystem() override; + + static Result> Make( + const AzureOptions& options, const io::IOContext& = io::default_io_context()); +diff --git a/cpp/thirdparty/versions.txt b/cpp/thirdparty/versions.txt +index 51edbe2b99..178c1949de 100644 +--- a/cpp/thirdparty/versions.txt ++++ b/cpp/thirdparty/versions.txt +@@ -114,6 +114,9 @@ ARROW_THRIFT_BUILD_VERSION=0.22.0 + ARROW_THRIFT_BUILD_SHA256_CHECKSUM=794a0e455787960d9f27ab92c38e34da27e8deeda7a5db0e59dc64a00df8a1e5 + ARROW_UTF8PROC_BUILD_VERSION=v2.10.0 + ARROW_UTF8PROC_BUILD_SHA256_CHECKSUM=6f4f1b639daa6dca9f80bc5db1233e9cbaa31a67790887106160b33ef743f136 ++# WIL (Windows Implementation Libraries) is required by Azure SDK on Windows for WinHTTP transport ++ARROW_WIL_BUILD_VERSION=v1.0.250325.1 ++ARROW_WIL_BUILD_SHA256_CHECKSUM=c9e667d5f86ded43d17b5669d243e95ca7b437e3a167c170805ffd4aa8a9a786 + ARROW_XSIMD_BUILD_VERSION=14.0.0 + ARROW_XSIMD_BUILD_SHA256_CHECKSUM=17de0236954955c10c09d6938d4c5f3a3b92d31be5dadd1d5d09fc1b15490dce + ARROW_ZLIB_BUILD_VERSION=1.3.1 +@@ -142,6 +145,7 @@ DEPENDENCIES=( + "ARROW_AWS_CRT_CPP_URL aws-crt-cpp-${ARROW_AWS_CRT_CPP_BUILD_VERSION}.tar.gz https://github.com/awslabs/aws-crt-cpp/archive/${ARROW_AWS_CRT_CPP_BUILD_VERSION}.tar.gz" + "ARROW_AWS_LC_URL aws-lc-${ARROW_AWS_LC_BUILD_VERSION}.tar.gz https://github.com/awslabs/aws-lc/archive/${ARROW_AWS_LC_BUILD_VERSION}.tar.gz" + "ARROW_AWSSDK_URL aws-sdk-cpp-${ARROW_AWSSDK_BUILD_VERSION}.tar.gz https://github.com/aws/aws-sdk-cpp/archive/${ARROW_AWSSDK_BUILD_VERSION}.tar.gz" ++ "ARROW_AZURE_SDK_URL azure-sdk-for-cpp-${ARROW_AZURE_SDK_BUILD_VERSION}.tar.gz https://github.com/Azure/azure-sdk-for-cpp/archive/${ARROW_AZURE_SDK_BUILD_VERSION}.tar.gz" + "ARROW_BOOST_URL boost-${ARROW_BOOST_BUILD_VERSION}-cmake.tar.gz https://github.com/boostorg/boost/releases/download/boost-${ARROW_BOOST_BUILD_VERSION}/boost-${ARROW_BOOST_BUILD_VERSION}-cmake.tar.gz" + "ARROW_BROTLI_URL brotli-${ARROW_BROTLI_BUILD_VERSION}.tar.gz https://github.com/google/brotli/archive/${ARROW_BROTLI_BUILD_VERSION}.tar.gz" + "ARROW_BZIP2_URL bzip2-${ARROW_BZIP2_BUILD_VERSION}.tar.gz https://sourceware.org/pub/bzip2/bzip2-${ARROW_BZIP2_BUILD_VERSION}.tar.gz" +@@ -168,6 +172,7 @@ DEPENDENCIES=( + "ARROW_SUBSTRAIT_URL substrait-${ARROW_SUBSTRAIT_BUILD_VERSION}.tar.gz https://github.com/substrait-io/substrait/archive/${ARROW_SUBSTRAIT_BUILD_VERSION}.tar.gz" + "ARROW_THRIFT_URL thrift-${ARROW_THRIFT_BUILD_VERSION}.tar.gz https://www.apache.org/dyn/closer.lua/thrift/${ARROW_THRIFT_BUILD_VERSION}/thrift-${ARROW_THRIFT_BUILD_VERSION}.tar.gz?action=download" + "ARROW_UTF8PROC_URL utf8proc-${ARROW_UTF8PROC_BUILD_VERSION}.tar.gz https://github.com/JuliaStrings/utf8proc/archive/${ARROW_UTF8PROC_BUILD_VERSION}.tar.gz" ++ "ARROW_WIL_URL wil-${ARROW_WIL_BUILD_VERSION}.tar.gz https://github.com/microsoft/wil/archive/refs/tags/${ARROW_WIL_BUILD_VERSION}.tar.gz" + "ARROW_XSIMD_URL xsimd-${ARROW_XSIMD_BUILD_VERSION}.tar.gz https://github.com/xtensor-stack/xsimd/archive/${ARROW_XSIMD_BUILD_VERSION}.tar.gz" + "ARROW_ZLIB_URL zlib-${ARROW_ZLIB_BUILD_VERSION}.tar.gz https://zlib.net/fossils/zlib-${ARROW_ZLIB_BUILD_VERSION}.tar.gz" + "ARROW_ZSTD_URL zstd-${ARROW_ZSTD_BUILD_VERSION}.tar.gz https://github.com/facebook/zstd/releases/download/v${ARROW_ZSTD_BUILD_VERSION}/zstd-${ARROW_ZSTD_BUILD_VERSION}.tar.gz" diff --git a/recipe/patches/0006-avoid-std-unique_ptr-Impl-in-azurefs.cc.patch b/recipe/patches/0006-avoid-std-unique_ptr-Impl-in-azurefs.cc.patch deleted file mode 100644 index 64a1f1a07..000000000 --- a/recipe/patches/0006-avoid-std-unique_ptr-Impl-in-azurefs.cc.patch +++ /dev/null @@ -1,81 +0,0 @@ -From a76ea1f1d494ec99cf9e0fbaaa8999a4da40102d Mon Sep 17 00:00:00 2001 -From: Sutou Kouhei -Date: Wed, 12 Jun 2024 23:30:55 +1100 -Subject: [PATCH 6/6] avoid std::unique_ptr&& in azurefs.cc - ---- - cpp/src/arrow/filesystem/azurefs.cc | 27 +++++++++++++-------------- - cpp/src/arrow/filesystem/azurefs.h | 3 ++- - 2 files changed, 15 insertions(+), 15 deletions(-) - -diff --git a/cpp/src/arrow/filesystem/azurefs.cc b/cpp/src/arrow/filesystem/azurefs.cc -index 6580476d38..b6d79f180a 100644 ---- a/cpp/src/arrow/filesystem/azurefs.cc -+++ b/cpp/src/arrow/filesystem/azurefs.cc -@@ -1674,19 +1674,14 @@ class AzureFileSystem::Impl { - std::unique_ptr blob_service_client_; - HNSSupport cached_hns_support_ = HNSSupport::kUnknown; - -+ public: - Impl(AzureOptions options, io::IOContext io_context) - : io_context_(std::move(io_context)), options_(std::move(options)) {} - -- public: -- static Result> Make(AzureOptions options, -- io::IOContext io_context) { -- auto self = std::unique_ptr( -- new AzureFileSystem::Impl(std::move(options), std::move(io_context))); -- ARROW_ASSIGN_OR_RAISE(self->blob_service_client_, -- self->options_.MakeBlobServiceClient()); -- ARROW_ASSIGN_OR_RAISE(self->datalake_service_client_, -- self->options_.MakeDataLakeServiceClient()); -- return self; -+ Status Init() { -+ ARROW_ASSIGN_OR_RAISE(blob_service_client_, options_.MakeBlobServiceClient()); -+ ARROW_ASSIGN_OR_RAISE(datalake_service_client_, options_.MakeDataLakeServiceClient()); -+ return Status::OK(); - } - - io::IOContext& io_context() { return io_context_; } -@@ -3218,19 +3213,23 @@ class AzureFileSystem::Impl { - std::atomic LeaseGuard::latest_known_expiry_time_ = - SteadyClock::time_point{SteadyClock::duration::zero()}; - --AzureFileSystem::AzureFileSystem(std::unique_ptr&& impl) -- : FileSystem(impl->io_context()), impl_(std::move(impl)) { -+AzureFileSystem::AzureFileSystem(const AzureOptions& options, -+ const io::IOContext& io_context) -+ : FileSystem(io_context), impl_(std::make_unique(options, io_context)) { - default_async_is_sync_ = false; - } - -+Status AzureFileSystem::Init() { return impl_->Init(); } -+ - void AzureFileSystem::ForceCachedHierarchicalNamespaceSupport(int hns_support) { - impl_->ForceCachedHierarchicalNamespaceSupport(hns_support); - } - - Result> AzureFileSystem::Make( - const AzureOptions& options, const io::IOContext& io_context) { -- ARROW_ASSIGN_OR_RAISE(auto impl, AzureFileSystem::Impl::Make(options, io_context)); -- return std::shared_ptr(new AzureFileSystem(std::move(impl))); -+ std::shared_ptr filesystem(new AzureFileSystem(options, io_context)); -+ ARROW_RETURN_NOT_OK(filesystem->Init()); -+ return filesystem; - } - - const AzureOptions& AzureFileSystem::options() const { return impl_->options(); } -diff --git a/cpp/src/arrow/filesystem/azurefs.h b/cpp/src/arrow/filesystem/azurefs.h -index ee0956afdd..135b7b35b2 100644 ---- a/cpp/src/arrow/filesystem/azurefs.h -+++ b/cpp/src/arrow/filesystem/azurefs.h -@@ -245,7 +245,8 @@ class ARROW_EXPORT AzureFileSystem : public FileSystem { - class Impl; - std::unique_ptr impl_; - -- explicit AzureFileSystem(std::unique_ptr&& impl); -+ explicit AzureFileSystem(const AzureOptions& options, const io::IOContext& io_context); -+ Status Init(); - - friend class TestAzureFileSystem; - void ForceCachedHierarchicalNamespaceSupport(int hns_support); From 917c18fd32794754454bf9470b239dbbfcc5554c Mon Sep 17 00:00:00 2001 From: "H. Vetinari" Date: Sat, 24 Jan 2026 15:59:02 +1100 Subject: [PATCH 4/4] MNT: Re-rendered with conda-smithy 3.54.1 and conda-forge-pinning 2026.01.24.04.42.29 Other tools: - conda-build 25.11.1 - rattler-build 0.55.0 - rattler-build-conda-compat 1.4.10 --- .azure-pipelines/azure-pipelines-linux.yml | 85 ----------- .azure-pipelines/azure-pipelines-osx.yml | 40 ----- .azure-pipelines/azure-pipelines-win.yml | 3 - ...ler_version11.8cxx_compiler_version11.yaml | 89 ----------- ...ler_versionNonecxx_compiler_version14.yaml | 89 ----------- ...ler_version11.8cxx_compiler_version11.yaml | 89 ----------- ...ler_versionNonecxx_compiler_version14.yaml | 89 ----------- ...ler_version11.8cxx_compiler_version11.yaml | 89 ----------- ...ler_versionNonecxx_compiler_version14.yaml | 89 ----------- .ci_support/osx_64_.yaml | 85 ----------- .ci_support/osx_arm64_.yaml | 85 ----------- .../win_64_cuda_compiler_version11.8.yaml | 71 --------- .../win_64_cuda_compiler_versionNone.yaml | 15 +- .scripts/build_steps.sh | 100 ------------- .scripts/run_docker_build.sh | 114 -------------- .scripts/run_osx_build.sh | 139 ------------------ README.md | 63 -------- azure-pipelines.yml | 2 - 18 files changed, 8 insertions(+), 1328 deletions(-) delete mode 100755 .azure-pipelines/azure-pipelines-linux.yml delete mode 100755 .azure-pipelines/azure-pipelines-osx.yml delete mode 100644 .ci_support/linux_64_c_compiler_version11cuda_compiler_version11.8cxx_compiler_version11.yaml delete mode 100644 .ci_support/linux_64_c_compiler_version14cuda_compiler_versionNonecxx_compiler_version14.yaml delete mode 100644 .ci_support/linux_aarch64_c_compiler_version11cuda_compiler_version11.8cxx_compiler_version11.yaml delete mode 100644 .ci_support/linux_aarch64_c_compiler_version14cuda_compiler_versionNonecxx_compiler_version14.yaml delete mode 100644 .ci_support/linux_ppc64le_c_compiler_version11cuda_compiler_version11.8cxx_compiler_version11.yaml delete mode 100644 .ci_support/linux_ppc64le_c_compiler_version14cuda_compiler_versionNonecxx_compiler_version14.yaml delete mode 100644 .ci_support/osx_64_.yaml delete mode 100644 .ci_support/osx_arm64_.yaml delete mode 100644 .ci_support/win_64_cuda_compiler_version11.8.yaml delete mode 100755 .scripts/build_steps.sh delete mode 100755 .scripts/run_docker_build.sh delete mode 100755 .scripts/run_osx_build.sh diff --git a/.azure-pipelines/azure-pipelines-linux.yml b/.azure-pipelines/azure-pipelines-linux.yml deleted file mode 100755 index 3eed8c52f..000000000 --- a/.azure-pipelines/azure-pipelines-linux.yml +++ /dev/null @@ -1,85 +0,0 @@ -# This file was generated automatically from conda-smithy. To update this configuration, -# update the conda-forge.yml and/or the recipe/meta.yaml. -# -*- mode: yaml -*- - -jobs: -- job: linux - pool: - vmImage: ubuntu-latest - strategy: - matrix: - linux_64_c_compiler_version11cuda_compiler_version11.8cxx_compiler_version11: - CONFIG: linux_64_c_compiler_version11cuda_compiler_version11.8cxx_compiler_version11 - UPLOAD_PACKAGES: 'True' - DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64-cuda11.8:ubi8 - linux_64_c_compiler_version14cuda_compiler_versionNonecxx_compiler_version14: - CONFIG: linux_64_c_compiler_version14cuda_compiler_versionNonecxx_compiler_version14 - UPLOAD_PACKAGES: 'True' - DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma9 - linux_aarch64_c_compiler_version11cuda_compiler_version11.8cxx_compiler_version11: - CONFIG: linux_aarch64_c_compiler_version11cuda_compiler_version11.8cxx_compiler_version11 - UPLOAD_PACKAGES: 'True' - DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64-cuda11.8:ubi8 - linux_aarch64_c_compiler_version14cuda_compiler_versionNonecxx_compiler_version14: - CONFIG: linux_aarch64_c_compiler_version14cuda_compiler_versionNonecxx_compiler_version14 - UPLOAD_PACKAGES: 'True' - DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma9 - linux_ppc64le_c_compiler_version11cuda_compiler_version11.8cxx_compiler_version11: - CONFIG: linux_ppc64le_c_compiler_version11cuda_compiler_version11.8cxx_compiler_version11 - UPLOAD_PACKAGES: 'True' - DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64-cuda11.8:ubi8 - linux_ppc64le_c_compiler_version14cuda_compiler_versionNonecxx_compiler_version14: - CONFIG: linux_ppc64le_c_compiler_version14cuda_compiler_versionNonecxx_compiler_version14 - UPLOAD_PACKAGES: 'True' - DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma9 - timeoutInMinutes: 360 - variables: {} - - steps: - - script: | - sudo mkdir -p /opt/empty_dir || true - for d in \ - /opt/ghc \ - /opt/hostedtoolcache \ - /usr/lib/jvm \ - /usr/local/.ghcup \ - /usr/local/lib/android \ - /usr/local/share/powershell \ - /usr/share/dotnet \ - /usr/share/swift \ - ; do - sudo rsync --stats -a --delete /opt/empty_dir/ $d || true - done - sudo apt-get purge -y -f firefox \ - google-chrome-stable \ - microsoft-edge-stable - sudo apt-get autoremove -y >& /dev/null - sudo apt-get autoclean -y >& /dev/null - df -h - displayName: Manage disk space - # configure qemu binfmt-misc running. This allows us to run docker containers - # embedded qemu-static - - script: | - docker run --rm --privileged multiarch/qemu-user-static:register --reset --credential yes - ls /proc/sys/fs/binfmt_misc/ - condition: not(startsWith(variables['CONFIG'], 'linux_64')) - displayName: Configure binfmt_misc - - - script: | - export CI=azure - export flow_run_id=azure_$(Build.BuildNumber).$(System.JobAttempt) - export remote_url=$(Build.Repository.Uri) - export sha=$(Build.SourceVersion) - export GIT_BRANCH=$BUILD_SOURCEBRANCHNAME - export FEEDSTOCK_NAME=$(basename ${BUILD_REPOSITORY_NAME}) - if [[ "${BUILD_REASON:-}" == "PullRequest" ]]; then - export IS_PR_BUILD="True" - else - export IS_PR_BUILD="False" - fi - .scripts/run_docker_build.sh - displayName: Run docker build - env: - BINSTAR_TOKEN: $(BINSTAR_TOKEN) - FEEDSTOCK_TOKEN: $(FEEDSTOCK_TOKEN) - STAGING_BINSTAR_TOKEN: $(STAGING_BINSTAR_TOKEN) diff --git a/.azure-pipelines/azure-pipelines-osx.yml b/.azure-pipelines/azure-pipelines-osx.yml deleted file mode 100755 index d08eed2c6..000000000 --- a/.azure-pipelines/azure-pipelines-osx.yml +++ /dev/null @@ -1,40 +0,0 @@ -# This file was generated automatically from conda-smithy. To update this configuration, -# update the conda-forge.yml and/or the recipe/meta.yaml. -# -*- mode: yaml -*- - -jobs: -- job: osx - pool: - vmImage: macOS-15 - strategy: - matrix: - osx_64_: - CONFIG: osx_64_ - UPLOAD_PACKAGES: 'True' - osx_arm64_: - CONFIG: osx_arm64_ - UPLOAD_PACKAGES: 'True' - timeoutInMinutes: 360 - variables: {} - - steps: - # TODO: Fast finish on azure pipelines? - - script: | - export CI=azure - export flow_run_id=azure_$(Build.BuildNumber).$(System.JobAttempt) - export remote_url=$(Build.Repository.Uri) - export sha=$(Build.SourceVersion) - export OSX_FORCE_SDK_DOWNLOAD="1" - export GIT_BRANCH=$BUILD_SOURCEBRANCHNAME - export FEEDSTOCK_NAME=$(basename ${BUILD_REPOSITORY_NAME}) - if [[ "${BUILD_REASON:-}" == "PullRequest" ]]; then - export IS_PR_BUILD="True" - else - export IS_PR_BUILD="False" - fi - ./.scripts/run_osx_build.sh - displayName: Run OSX build - env: - BINSTAR_TOKEN: $(BINSTAR_TOKEN) - FEEDSTOCK_TOKEN: $(FEEDSTOCK_TOKEN) - STAGING_BINSTAR_TOKEN: $(STAGING_BINSTAR_TOKEN) diff --git a/.azure-pipelines/azure-pipelines-win.yml b/.azure-pipelines/azure-pipelines-win.yml index 4396042b1..fb6c0e2d1 100755 --- a/.azure-pipelines/azure-pipelines-win.yml +++ b/.azure-pipelines/azure-pipelines-win.yml @@ -8,9 +8,6 @@ jobs: vmImage: windows-2022 strategy: matrix: - win_64_cuda_compiler_version11.8: - CONFIG: win_64_cuda_compiler_version11.8 - UPLOAD_PACKAGES: 'True' win_64_cuda_compiler_versionNone: CONFIG: win_64_cuda_compiler_versionNone UPLOAD_PACKAGES: 'True' diff --git a/.ci_support/linux_64_c_compiler_version11cuda_compiler_version11.8cxx_compiler_version11.yaml b/.ci_support/linux_64_c_compiler_version11cuda_compiler_version11.8cxx_compiler_version11.yaml deleted file mode 100644 index ffe7a5fbe..000000000 --- a/.ci_support/linux_64_c_compiler_version11cuda_compiler_version11.8cxx_compiler_version11.yaml +++ /dev/null @@ -1,89 +0,0 @@ -aws_crt_cpp: -- 0.35.4 -aws_sdk_cpp: -- 1.11.606 -azure_core_cpp: -- 1.16.1 -azure_identity_cpp: -- 1.13.2 -azure_storage_blobs_cpp: -- 12.16.0 -azure_storage_files_datalake_cpp: -- 12.14.0 -brotli: -- '1.2' -bzip2: -- '1' -c_compiler: -- gcc -c_compiler_version: -- '11' -c_stdlib: -- sysroot -c_stdlib_version: -- '2.17' -channel_sources: -- conda-forge -channel_targets: -- conda-forge main -cuda_compiler: -- nvcc -cuda_compiler_version: -- '11.8' -cuda_compiler_version_min: -- '11.8' -cxx_compiler: -- gxx -cxx_compiler_version: -- '11' -docker_image: -- quay.io/condaforge/linux-anvil-x86_64-cuda11.8:ubi8 -gflags: -- '2.2' -glog: -- '0.7' -libabseil: -- '20250512' -libarrow: -- '*' -libboost_devel: -- '1.88' -libbrotlicommon: -- '1.2' -libgoogle_cloud_devel: -- '2.39' -libgoogle_cloud_storage_devel: -- '2.39' -libgrpc: -- '1.73' -libopentelemetry_cpp: -- '1.21' -libprotobuf: -- 6.31.1 -libutf8proc: -- '2.11' -lz4_c: -- '1.10' -openssl: -- '3.5' -orc: -- 2.2.2 -re2: -- 2025.08.12 -snappy: -- '1.2' -target_platform: -- linux-64 -thrift_cpp: -- 0.22.0 -zip_keys: -- - c_compiler_version - - cxx_compiler_version - - c_stdlib_version - - cuda_compiler_version - - cuda_compiler - - docker_image -zlib: -- '1' -zstd: -- '1.5' diff --git a/.ci_support/linux_64_c_compiler_version14cuda_compiler_versionNonecxx_compiler_version14.yaml b/.ci_support/linux_64_c_compiler_version14cuda_compiler_versionNonecxx_compiler_version14.yaml deleted file mode 100644 index 3beba4281..000000000 --- a/.ci_support/linux_64_c_compiler_version14cuda_compiler_versionNonecxx_compiler_version14.yaml +++ /dev/null @@ -1,89 +0,0 @@ -aws_crt_cpp: -- 0.35.4 -aws_sdk_cpp: -- 1.11.606 -azure_core_cpp: -- 1.16.1 -azure_identity_cpp: -- 1.13.2 -azure_storage_blobs_cpp: -- 12.16.0 -azure_storage_files_datalake_cpp: -- 12.14.0 -brotli: -- '1.2' -bzip2: -- '1' -c_compiler: -- gcc -c_compiler_version: -- '14' -c_stdlib: -- sysroot -c_stdlib_version: -- '2.17' -channel_sources: -- conda-forge -channel_targets: -- conda-forge main -cuda_compiler: -- cuda-nvcc -cuda_compiler_version: -- None -cuda_compiler_version_min: -- '11.8' -cxx_compiler: -- gxx -cxx_compiler_version: -- '14' -docker_image: -- quay.io/condaforge/linux-anvil-x86_64:alma9 -gflags: -- '2.2' -glog: -- '0.7' -libabseil: -- '20250512' -libarrow: -- '*' -libboost_devel: -- '1.88' -libbrotlicommon: -- '1.2' -libgoogle_cloud_devel: -- '2.39' -libgoogle_cloud_storage_devel: -- '2.39' -libgrpc: -- '1.73' -libopentelemetry_cpp: -- '1.21' -libprotobuf: -- 6.31.1 -libutf8proc: -- '2.11' -lz4_c: -- '1.10' -openssl: -- '3.5' -orc: -- 2.2.2 -re2: -- 2025.08.12 -snappy: -- '1.2' -target_platform: -- linux-64 -thrift_cpp: -- 0.22.0 -zip_keys: -- - c_compiler_version - - cxx_compiler_version - - c_stdlib_version - - cuda_compiler_version - - cuda_compiler - - docker_image -zlib: -- '1' -zstd: -- '1.5' diff --git a/.ci_support/linux_aarch64_c_compiler_version11cuda_compiler_version11.8cxx_compiler_version11.yaml b/.ci_support/linux_aarch64_c_compiler_version11cuda_compiler_version11.8cxx_compiler_version11.yaml deleted file mode 100644 index 62636cf11..000000000 --- a/.ci_support/linux_aarch64_c_compiler_version11cuda_compiler_version11.8cxx_compiler_version11.yaml +++ /dev/null @@ -1,89 +0,0 @@ -aws_crt_cpp: -- 0.35.4 -aws_sdk_cpp: -- 1.11.606 -azure_core_cpp: -- 1.16.1 -azure_identity_cpp: -- 1.13.2 -azure_storage_blobs_cpp: -- 12.16.0 -azure_storage_files_datalake_cpp: -- 12.14.0 -brotli: -- '1.2' -bzip2: -- '1' -c_compiler: -- gcc -c_compiler_version: -- '11' -c_stdlib: -- sysroot -c_stdlib_version: -- '2.17' -channel_sources: -- conda-forge -channel_targets: -- conda-forge main -cuda_compiler: -- nvcc -cuda_compiler_version: -- '11.8' -cuda_compiler_version_min: -- '11.8' -cxx_compiler: -- gxx -cxx_compiler_version: -- '11' -docker_image: -- quay.io/condaforge/linux-anvil-x86_64-cuda11.8:ubi8 -gflags: -- '2.2' -glog: -- '0.7' -libabseil: -- '20250512' -libarrow: -- '*' -libboost_devel: -- '1.88' -libbrotlicommon: -- '1.2' -libgoogle_cloud_devel: -- '2.39' -libgoogle_cloud_storage_devel: -- '2.39' -libgrpc: -- '1.73' -libopentelemetry_cpp: -- '1.21' -libprotobuf: -- 6.31.1 -libutf8proc: -- '2.11' -lz4_c: -- '1.10' -openssl: -- '3.5' -orc: -- 2.2.2 -re2: -- 2025.08.12 -snappy: -- '1.2' -target_platform: -- linux-aarch64 -thrift_cpp: -- 0.22.0 -zip_keys: -- - c_compiler_version - - cxx_compiler_version - - c_stdlib_version - - cuda_compiler_version - - cuda_compiler - - docker_image -zlib: -- '1' -zstd: -- '1.5' diff --git a/.ci_support/linux_aarch64_c_compiler_version14cuda_compiler_versionNonecxx_compiler_version14.yaml b/.ci_support/linux_aarch64_c_compiler_version14cuda_compiler_versionNonecxx_compiler_version14.yaml deleted file mode 100644 index 0b4743307..000000000 --- a/.ci_support/linux_aarch64_c_compiler_version14cuda_compiler_versionNonecxx_compiler_version14.yaml +++ /dev/null @@ -1,89 +0,0 @@ -aws_crt_cpp: -- 0.35.4 -aws_sdk_cpp: -- 1.11.606 -azure_core_cpp: -- 1.16.1 -azure_identity_cpp: -- 1.13.2 -azure_storage_blobs_cpp: -- 12.16.0 -azure_storage_files_datalake_cpp: -- 12.14.0 -brotli: -- '1.2' -bzip2: -- '1' -c_compiler: -- gcc -c_compiler_version: -- '14' -c_stdlib: -- sysroot -c_stdlib_version: -- '2.17' -channel_sources: -- conda-forge -channel_targets: -- conda-forge main -cuda_compiler: -- cuda-nvcc -cuda_compiler_version: -- None -cuda_compiler_version_min: -- '11.8' -cxx_compiler: -- gxx -cxx_compiler_version: -- '14' -docker_image: -- quay.io/condaforge/linux-anvil-x86_64:alma9 -gflags: -- '2.2' -glog: -- '0.7' -libabseil: -- '20250512' -libarrow: -- '*' -libboost_devel: -- '1.88' -libbrotlicommon: -- '1.2' -libgoogle_cloud_devel: -- '2.39' -libgoogle_cloud_storage_devel: -- '2.39' -libgrpc: -- '1.73' -libopentelemetry_cpp: -- '1.21' -libprotobuf: -- 6.31.1 -libutf8proc: -- '2.11' -lz4_c: -- '1.10' -openssl: -- '3.5' -orc: -- 2.2.2 -re2: -- 2025.08.12 -snappy: -- '1.2' -target_platform: -- linux-aarch64 -thrift_cpp: -- 0.22.0 -zip_keys: -- - c_compiler_version - - cxx_compiler_version - - c_stdlib_version - - cuda_compiler_version - - cuda_compiler - - docker_image -zlib: -- '1' -zstd: -- '1.5' diff --git a/.ci_support/linux_ppc64le_c_compiler_version11cuda_compiler_version11.8cxx_compiler_version11.yaml b/.ci_support/linux_ppc64le_c_compiler_version11cuda_compiler_version11.8cxx_compiler_version11.yaml deleted file mode 100644 index deb3d0e6d..000000000 --- a/.ci_support/linux_ppc64le_c_compiler_version11cuda_compiler_version11.8cxx_compiler_version11.yaml +++ /dev/null @@ -1,89 +0,0 @@ -aws_crt_cpp: -- 0.35.4 -aws_sdk_cpp: -- 1.11.606 -azure_core_cpp: -- 1.16.1 -azure_identity_cpp: -- 1.13.2 -azure_storage_blobs_cpp: -- 12.16.0 -azure_storage_files_datalake_cpp: -- 12.14.0 -brotli: -- '1.2' -bzip2: -- '1' -c_compiler: -- gcc -c_compiler_version: -- '11' -c_stdlib: -- sysroot -c_stdlib_version: -- '2.17' -channel_sources: -- conda-forge -channel_targets: -- conda-forge main -cuda_compiler: -- nvcc -cuda_compiler_version: -- '11.8' -cuda_compiler_version_min: -- '11.8' -cxx_compiler: -- gxx -cxx_compiler_version: -- '11' -docker_image: -- quay.io/condaforge/linux-anvil-x86_64-cuda11.8:ubi8 -gflags: -- '2.2' -glog: -- '0.7' -libabseil: -- '20250512' -libarrow: -- '*' -libboost_devel: -- '1.88' -libbrotlicommon: -- '1.2' -libgoogle_cloud_devel: -- '2.39' -libgoogle_cloud_storage_devel: -- '2.39' -libgrpc: -- '1.73' -libopentelemetry_cpp: -- '1.21' -libprotobuf: -- 6.31.1 -libutf8proc: -- '2.11' -lz4_c: -- '1.10' -openssl: -- '3.5' -orc: -- 2.2.2 -re2: -- 2025.08.12 -snappy: -- '1.2' -target_platform: -- linux-ppc64le -thrift_cpp: -- 0.22.0 -zip_keys: -- - c_compiler_version - - cxx_compiler_version - - c_stdlib_version - - cuda_compiler_version - - cuda_compiler - - docker_image -zlib: -- '1' -zstd: -- '1.5' diff --git a/.ci_support/linux_ppc64le_c_compiler_version14cuda_compiler_versionNonecxx_compiler_version14.yaml b/.ci_support/linux_ppc64le_c_compiler_version14cuda_compiler_versionNonecxx_compiler_version14.yaml deleted file mode 100644 index d5d2da772..000000000 --- a/.ci_support/linux_ppc64le_c_compiler_version14cuda_compiler_versionNonecxx_compiler_version14.yaml +++ /dev/null @@ -1,89 +0,0 @@ -aws_crt_cpp: -- 0.35.4 -aws_sdk_cpp: -- 1.11.606 -azure_core_cpp: -- 1.16.1 -azure_identity_cpp: -- 1.13.2 -azure_storage_blobs_cpp: -- 12.16.0 -azure_storage_files_datalake_cpp: -- 12.14.0 -brotli: -- '1.2' -bzip2: -- '1' -c_compiler: -- gcc -c_compiler_version: -- '14' -c_stdlib: -- sysroot -c_stdlib_version: -- '2.17' -channel_sources: -- conda-forge -channel_targets: -- conda-forge main -cuda_compiler: -- cuda-nvcc -cuda_compiler_version: -- None -cuda_compiler_version_min: -- '11.8' -cxx_compiler: -- gxx -cxx_compiler_version: -- '14' -docker_image: -- quay.io/condaforge/linux-anvil-x86_64:alma9 -gflags: -- '2.2' -glog: -- '0.7' -libabseil: -- '20250512' -libarrow: -- '*' -libboost_devel: -- '1.88' -libbrotlicommon: -- '1.2' -libgoogle_cloud_devel: -- '2.39' -libgoogle_cloud_storage_devel: -- '2.39' -libgrpc: -- '1.73' -libopentelemetry_cpp: -- '1.21' -libprotobuf: -- 6.31.1 -libutf8proc: -- '2.11' -lz4_c: -- '1.10' -openssl: -- '3.5' -orc: -- 2.2.2 -re2: -- 2025.08.12 -snappy: -- '1.2' -target_platform: -- linux-ppc64le -thrift_cpp: -- 0.22.0 -zip_keys: -- - c_compiler_version - - cxx_compiler_version - - c_stdlib_version - - cuda_compiler_version - - cuda_compiler - - docker_image -zlib: -- '1' -zstd: -- '1.5' diff --git a/.ci_support/osx_64_.yaml b/.ci_support/osx_64_.yaml deleted file mode 100644 index 904039ee1..000000000 --- a/.ci_support/osx_64_.yaml +++ /dev/null @@ -1,85 +0,0 @@ -MACOSX_DEPLOYMENT_TARGET: -- '11.0' -MACOSX_SDK_VERSION: -- '11.0' -aws_crt_cpp: -- 0.35.4 -aws_sdk_cpp: -- 1.11.606 -azure_core_cpp: -- 1.16.1 -azure_identity_cpp: -- 1.13.2 -azure_storage_blobs_cpp: -- 12.16.0 -azure_storage_files_datalake_cpp: -- 12.14.0 -brotli: -- '1.2' -bzip2: -- '1' -c_compiler: -- clang -c_compiler_version: -- '21' -c_stdlib: -- macosx_deployment_target -c_stdlib_version: -- '11.0' -channel_sources: -- conda-forge -channel_targets: -- conda-forge main -cuda_compiler_version: -- None -cxx_compiler: -- clangxx -cxx_compiler_version: -- '21' -gflags: -- '2.2' -glog: -- '0.7' -libabseil: -- '20250512' -libarrow: -- '*' -libboost_devel: -- '1.88' -libbrotlicommon: -- '1.2' -libgoogle_cloud_devel: -- '2.39' -libgoogle_cloud_storage_devel: -- '2.39' -libgrpc: -- '1.73' -libopentelemetry_cpp: -- '1.21' -libprotobuf: -- 6.31.1 -libutf8proc: -- '2.11' -lz4_c: -- '1.10' -macos_machine: -- x86_64-apple-darwin13.4.0 -openssl: -- '3.5' -orc: -- 2.2.2 -re2: -- 2025.08.12 -snappy: -- '1.2' -target_platform: -- osx-64 -thrift_cpp: -- 0.22.0 -zip_keys: -- - c_compiler_version - - cxx_compiler_version -zlib: -- '1' -zstd: -- '1.5' diff --git a/.ci_support/osx_arm64_.yaml b/.ci_support/osx_arm64_.yaml deleted file mode 100644 index c496179bd..000000000 --- a/.ci_support/osx_arm64_.yaml +++ /dev/null @@ -1,85 +0,0 @@ -MACOSX_DEPLOYMENT_TARGET: -- '11.0' -MACOSX_SDK_VERSION: -- '11.0' -aws_crt_cpp: -- 0.35.4 -aws_sdk_cpp: -- 1.11.606 -azure_core_cpp: -- 1.16.1 -azure_identity_cpp: -- 1.13.2 -azure_storage_blobs_cpp: -- 12.16.0 -azure_storage_files_datalake_cpp: -- 12.14.0 -brotli: -- '1.2' -bzip2: -- '1' -c_compiler: -- clang -c_compiler_version: -- '21' -c_stdlib: -- macosx_deployment_target -c_stdlib_version: -- '11.0' -channel_sources: -- conda-forge -channel_targets: -- conda-forge main -cuda_compiler_version: -- None -cxx_compiler: -- clangxx -cxx_compiler_version: -- '21' -gflags: -- '2.2' -glog: -- '0.7' -libabseil: -- '20250512' -libarrow: -- '*' -libboost_devel: -- '1.88' -libbrotlicommon: -- '1.2' -libgoogle_cloud_devel: -- '2.39' -libgoogle_cloud_storage_devel: -- '2.39' -libgrpc: -- '1.73' -libopentelemetry_cpp: -- '1.21' -libprotobuf: -- 6.31.1 -libutf8proc: -- '2.11' -lz4_c: -- '1.10' -macos_machine: -- arm64-apple-darwin20.0.0 -openssl: -- '3.5' -orc: -- 2.2.2 -re2: -- 2025.08.12 -snappy: -- '1.2' -target_platform: -- osx-arm64 -thrift_cpp: -- 0.22.0 -zip_keys: -- - c_compiler_version - - cxx_compiler_version -zlib: -- '1' -zstd: -- '1.5' diff --git a/.ci_support/win_64_cuda_compiler_version11.8.yaml b/.ci_support/win_64_cuda_compiler_version11.8.yaml deleted file mode 100644 index 53697f666..000000000 --- a/.ci_support/win_64_cuda_compiler_version11.8.yaml +++ /dev/null @@ -1,71 +0,0 @@ -aws_crt_cpp: -- 0.35.4 -aws_sdk_cpp: -- 1.11.606 -brotli: -- '1.2' -bzip2: -- '1' -c_compiler: -- vs2022 -c_stdlib: -- vs -channel_sources: -- conda-forge -channel_targets: -- conda-forge main -cuda_compiler: -- nvcc -cuda_compiler_version: -- '11.8' -cuda_compiler_version_min: -- '11.8' -cxx_compiler: -- vs2022 -gflags: -- '2.2' -glog: -- '0.7' -libabseil: -- '20250512' -libarrow: -- '*' -libboost_devel: -- '1.88' -libbrotlicommon: -- '1.2' -libcrc32c: -- '1.1' -libcurl: -- '8' -libgoogle_cloud_devel: -- '2.39' -libgoogle_cloud_storage_devel: -- '2.39' -libgrpc: -- '1.73' -libprotobuf: -- 6.31.1 -libutf8proc: -- '2.11' -lz4_c: -- '1.10' -openssl: -- '3.5' -orc: -- 2.2.2 -re2: -- 2025.08.12 -snappy: -- '1.2' -target_platform: -- win-64 -thrift_cpp: -- 0.22.0 -zip_keys: -- - cuda_compiler_version - - cuda_compiler -zlib: -- '1' -zstd: -- '1.5' diff --git a/.ci_support/win_64_cuda_compiler_versionNone.yaml b/.ci_support/win_64_cuda_compiler_versionNone.yaml index bb503ec82..f623cc492 100644 --- a/.ci_support/win_64_cuda_compiler_versionNone.yaml +++ b/.ci_support/win_64_cuda_compiler_versionNone.yaml @@ -2,6 +2,14 @@ aws_crt_cpp: - 0.35.4 aws_sdk_cpp: - 1.11.606 +azure_core_cpp: +- 1.16.1 +azure_identity_cpp: +- 1.13.2 +azure_storage_blobs_cpp: +- 12.16.0 +azure_storage_files_datalake_cpp: +- 12.14.0 brotli: - '1.2' bzip2: @@ -14,12 +22,8 @@ channel_sources: - conda-forge channel_targets: - conda-forge main -cuda_compiler: -- cuda-nvcc cuda_compiler_version: - None -cuda_compiler_version_min: -- '11.8' cxx_compiler: - vs2022 gflags: @@ -62,9 +66,6 @@ target_platform: - win-64 thrift_cpp: - 0.22.0 -zip_keys: -- - cuda_compiler_version - - cuda_compiler zlib: - '1' zstd: diff --git a/.scripts/build_steps.sh b/.scripts/build_steps.sh deleted file mode 100755 index 780a358ff..000000000 --- a/.scripts/build_steps.sh +++ /dev/null @@ -1,100 +0,0 @@ -#!/usr/bin/env bash - -# PLEASE NOTE: This script has been automatically generated by conda-smithy. Any changes here -# will be lost next time ``conda smithy rerender`` is run. If you would like to make permanent -# changes to this script, consider a proposal to conda-smithy so that other feedstocks can also -# benefit from the improvement. - -# -*- mode: jinja-shell -*- - -set -xeuo pipefail -export FEEDSTOCK_ROOT="${FEEDSTOCK_ROOT:-/home/conda/feedstock_root}" -source ${FEEDSTOCK_ROOT}/.scripts/logging_utils.sh - - -( endgroup "Start Docker" ) 2> /dev/null - -( startgroup "Configuring conda" ) 2> /dev/null - -export PYTHONUNBUFFERED=1 -export RECIPE_ROOT="${RECIPE_ROOT:-/home/conda/recipe_root}" -export CI_SUPPORT="${FEEDSTOCK_ROOT}/.ci_support" -export CONFIG_FILE="${CI_SUPPORT}/${CONFIG}.yaml" - -cat >~/.condarc < /opt/conda/conda-meta/history -micromamba install --root-prefix ~/.conda --prefix /opt/conda \ - --yes --override-channels --channel conda-forge --strict-channel-priority \ - pip python=3.12 conda-build conda-forge-ci-setup=4 "conda-build>=24.1" -export CONDA_LIBMAMBA_SOLVER_NO_CHANNELS_FROM_INSTALLED=1 - -# set up the condarc -setup_conda_rc "${FEEDSTOCK_ROOT}" "${RECIPE_ROOT}" "${CONFIG_FILE}" - -source run_conda_forge_build_setup - - - -# make the build number clobber -make_build_number "${FEEDSTOCK_ROOT}" "${RECIPE_ROOT}" "${CONFIG_FILE}" - -if [[ "${HOST_PLATFORM}" != "${BUILD_PLATFORM}" ]] && [[ "${HOST_PLATFORM}" != linux-* ]] && [[ "${BUILD_WITH_CONDA_DEBUG:-0}" != 1 ]]; then - EXTRA_CB_OPTIONS="${EXTRA_CB_OPTIONS:-} --no-test" -fi - - -( endgroup "Configuring conda" ) 2> /dev/null - -if [[ -f "${FEEDSTOCK_ROOT}/LICENSE.txt" ]]; then - cp "${FEEDSTOCK_ROOT}/LICENSE.txt" "${RECIPE_ROOT}/recipe-scripts-license.txt" -fi - -if [[ "${BUILD_WITH_CONDA_DEBUG:-0}" == 1 ]]; then - if [[ "x${BUILD_OUTPUT_ID:-}" != "x" ]]; then - EXTRA_CB_OPTIONS="${EXTRA_CB_OPTIONS:-} --output-id ${BUILD_OUTPUT_ID}" - fi - conda debug "${RECIPE_ROOT}" -m "${CI_SUPPORT}/${CONFIG}.yaml" \ - ${EXTRA_CB_OPTIONS:-} \ - --clobber-file "${CI_SUPPORT}/clobber_${CONFIG}.yaml" - - # Drop into an interactive shell - /bin/bash -else - conda-build "${RECIPE_ROOT}" -m "${CI_SUPPORT}/${CONFIG}.yaml" \ - --suppress-variables ${EXTRA_CB_OPTIONS:-} \ - --clobber-file "${CI_SUPPORT}/clobber_${CONFIG}.yaml" \ - --extra-meta flow_run_id="${flow_run_id:-}" remote_url="${remote_url:-}" sha="${sha:-}" - ( startgroup "Inspecting artifacts" ) 2> /dev/null - - # inspect_artifacts was only added in conda-forge-ci-setup 4.9.4 - command -v inspect_artifacts >/dev/null 2>&1 && inspect_artifacts --recipe-dir "${RECIPE_ROOT}" -m "${CONFIG_FILE}" || echo "inspect_artifacts needs conda-forge-ci-setup >=4.9.4" - - ( endgroup "Inspecting artifacts" ) 2> /dev/null - ( startgroup "Validating outputs" ) 2> /dev/null - - validate_recipe_outputs "${FEEDSTOCK_NAME}" - - ( endgroup "Validating outputs" ) 2> /dev/null - - ( startgroup "Uploading packages" ) 2> /dev/null - - if [[ "${UPLOAD_PACKAGES}" != "False" ]] && [[ "${IS_PR_BUILD}" == "False" ]]; then - upload_package --validate --feedstock-name="${FEEDSTOCK_NAME}" "${FEEDSTOCK_ROOT}" "${RECIPE_ROOT}" "${CONFIG_FILE}" - fi - - ( endgroup "Uploading packages" ) 2> /dev/null -fi - -( startgroup "Final checks" ) 2> /dev/null - -touch "${FEEDSTOCK_ROOT}/build_artifacts/conda-forge-build-done-${CONFIG}" diff --git a/.scripts/run_docker_build.sh b/.scripts/run_docker_build.sh deleted file mode 100755 index b63b5a05a..000000000 --- a/.scripts/run_docker_build.sh +++ /dev/null @@ -1,114 +0,0 @@ -#!/usr/bin/env bash - -# PLEASE NOTE: This script has been automatically generated by conda-smithy. Any changes here -# will be lost next time ``conda smithy rerender`` is run. If you would like to make permanent -# changes to this script, consider a proposal to conda-smithy so that other feedstocks can also -# benefit from the improvement. - -source .scripts/logging_utils.sh - -( startgroup "Configure Docker" ) 2> /dev/null - -set -xeo pipefail - -THISDIR="$( cd "$( dirname "$0" )" >/dev/null && pwd )" -PROVIDER_DIR="$(basename "$THISDIR")" - -FEEDSTOCK_ROOT="$( cd "$( dirname "$0" )/.." >/dev/null && pwd )" -RECIPE_ROOT="${FEEDSTOCK_ROOT}/recipe" - -if [ -z ${FEEDSTOCK_NAME} ]; then - export FEEDSTOCK_NAME=$(basename ${FEEDSTOCK_ROOT}) -fi - -if [[ "${sha:-}" == "" ]]; then - pushd "${FEEDSTOCK_ROOT}" - sha=$(git rev-parse HEAD) - popd -fi - -docker info - -# In order for the conda-build process in the container to write to the mounted -# volumes, we need to run with the same id as the host machine, which is -# normally the owner of the mounted volumes, or at least has write permission -export HOST_USER_ID=$(id -u) -# Check if docker-machine is being used (normally on OSX) and get the uid from -# the VM -if hash docker-machine 2> /dev/null && docker-machine active > /dev/null; then - export HOST_USER_ID=$(docker-machine ssh $(docker-machine active) id -u) -fi - -ARTIFACTS="$FEEDSTOCK_ROOT/build_artifacts" - -if [ -z "$CONFIG" ]; then - set +x - FILES=`ls .ci_support/linux_*` - CONFIGS="" - for file in $FILES; do - CONFIGS="${CONFIGS}'${file:12:-5}' or "; - done - echo "Need to set CONFIG env variable. Value can be one of ${CONFIGS:0:-4}" - exit 1 -fi - -if [ -z "${DOCKER_IMAGE}" ]; then - SHYAML_INSTALLED="$(shyaml -h || echo NO)" - if [ "${SHYAML_INSTALLED}" == "NO" ]; then - echo "WARNING: DOCKER_IMAGE variable not set and shyaml not installed. Trying to parse with coreutils" - DOCKER_IMAGE=$(cat .ci_support/${CONFIG}.yaml | grep '^docker_image:$' -A 1 | tail -n 1 | cut -b 3-) - if [ "${DOCKER_IMAGE}" = "" ]; then - echo "No docker_image entry found in ${CONFIG}. Falling back to quay.io/condaforge/linux-anvil-comp7" - DOCKER_IMAGE="quay.io/condaforge/linux-anvil-comp7" - fi - else - DOCKER_IMAGE="$(cat "${FEEDSTOCK_ROOT}/.ci_support/${CONFIG}.yaml" | shyaml get-value docker_image.0 quay.io/condaforge/linux-anvil-comp7 )" - fi -fi - -mkdir -p "$ARTIFACTS" -DONE_CANARY="$ARTIFACTS/conda-forge-build-done-${CONFIG}" -rm -f "$DONE_CANARY" - -# Allow people to specify extra default arguments to `docker run` (e.g. `--rm`) -DOCKER_RUN_ARGS="${CONDA_FORGE_DOCKER_RUN_ARGS}" -if [ -z "${CI}" ]; then - DOCKER_RUN_ARGS="-it ${DOCKER_RUN_ARGS}" -fi - -( endgroup "Configure Docker" ) 2> /dev/null - -( startgroup "Start Docker" ) 2> /dev/null - -export UPLOAD_PACKAGES="${UPLOAD_PACKAGES:-True}" -export IS_PR_BUILD="${IS_PR_BUILD:-False}" -docker pull "${DOCKER_IMAGE}" -docker run ${DOCKER_RUN_ARGS} \ - -v "${RECIPE_ROOT}":/home/conda/recipe_root:rw,z,delegated \ - -v "${FEEDSTOCK_ROOT}":/home/conda/feedstock_root:rw,z,delegated \ - -e CONFIG \ - -e HOST_USER_ID \ - -e UPLOAD_PACKAGES \ - -e IS_PR_BUILD \ - -e GIT_BRANCH \ - -e UPLOAD_ON_BRANCH \ - -e CI \ - -e FEEDSTOCK_NAME \ - -e CPU_COUNT \ - -e BUILD_WITH_CONDA_DEBUG \ - -e BUILD_OUTPUT_ID \ - -e flow_run_id \ - -e remote_url \ - -e sha \ - -e BINSTAR_TOKEN \ - -e FEEDSTOCK_TOKEN \ - -e STAGING_BINSTAR_TOKEN \ - "${DOCKER_IMAGE}" \ - bash \ - "/home/conda/feedstock_root/${PROVIDER_DIR}/build_steps.sh" - -# verify that the end of the script was reached -test -f "$DONE_CANARY" - -# This closes the last group opened in `build_steps.sh` -( endgroup "Final checks" ) 2> /dev/null diff --git a/.scripts/run_osx_build.sh b/.scripts/run_osx_build.sh deleted file mode 100755 index bac7141a9..000000000 --- a/.scripts/run_osx_build.sh +++ /dev/null @@ -1,139 +0,0 @@ -#!/usr/bin/env bash - -# -*- mode: jinja-shell -*- - -source .scripts/logging_utils.sh - -set -xe - -MINIFORGE_HOME="${MINIFORGE_HOME:-${HOME}/miniforge3}" -MINIFORGE_HOME="${MINIFORGE_HOME%/}" # remove trailing slash -export CONDA_BLD_PATH="${CONDA_BLD_PATH:-${MINIFORGE_HOME}/conda-bld}" - -( startgroup "Provisioning base env with micromamba" ) 2> /dev/null -MICROMAMBA_VERSION="1.5.10-0" -if [[ "$(uname -m)" == "arm64" ]]; then - osx_arch="osx-arm64" -else - osx_arch="osx-64" -fi -MICROMAMBA_URL="https://github.com/mamba-org/micromamba-releases/releases/download/${MICROMAMBA_VERSION}/micromamba-${osx_arch}" -MAMBA_ROOT_PREFIX="${MINIFORGE_HOME}-micromamba-$(date +%s)" -echo "Downloading micromamba ${MICROMAMBA_VERSION}" -micromamba_exe="$(mktemp -d)/micromamba" -curl -L -o "${micromamba_exe}" "${MICROMAMBA_URL}" -chmod +x "${micromamba_exe}" -echo "Creating environment" -"${micromamba_exe}" create --yes --root-prefix "${MAMBA_ROOT_PREFIX}" --prefix "${MINIFORGE_HOME}" \ - --channel conda-forge \ - pip python=3.12 conda-build conda-forge-ci-setup=4 "conda-build>=24.1" -echo "Moving pkgs cache from ${MAMBA_ROOT_PREFIX} to ${MINIFORGE_HOME}" -mv "${MAMBA_ROOT_PREFIX}/pkgs" "${MINIFORGE_HOME}" -echo "Cleaning up micromamba" -rm -rf "${MAMBA_ROOT_PREFIX}" "${micromamba_exe}" || true -( endgroup "Provisioning base env with micromamba" ) 2> /dev/null - -( startgroup "Configuring conda" ) 2> /dev/null -echo "Activating environment" -source "${MINIFORGE_HOME}/etc/profile.d/conda.sh" -conda activate base -export CONDA_SOLVER="libmamba" -export CONDA_LIBMAMBA_SOLVER_NO_CHANNELS_FROM_INSTALLED=1 - - - - - -echo -e "\n\nSetting up the condarc and mangling the compiler." -setup_conda_rc ./ ./recipe ./.ci_support/${CONFIG}.yaml - -if [[ "${CI:-}" != "" ]]; then - mangle_compiler ./ ./recipe .ci_support/${CONFIG}.yaml -fi - -if [[ "${CI:-}" != "" ]]; then - echo -e "\n\nMangling homebrew in the CI to avoid conflicts." - /usr/bin/sudo mangle_homebrew - /usr/bin/sudo -k -else - echo -e "\n\nNot mangling homebrew as we are not running in CI" -fi - -if [[ "${sha:-}" == "" ]]; then - sha=$(git rev-parse HEAD) -fi - -if [[ "${OSX_SDK_DIR:-}" == "" ]]; then - if [[ "${CI:-}" == "" ]]; then - echo "Please set OSX_SDK_DIR to a directory where SDKs can be downloaded to. Aborting" - exit 1 - else - export OSX_SDK_DIR=/opt/conda-sdks - /usr/bin/sudo mkdir -p "${OSX_SDK_DIR}" - /usr/bin/sudo chown "${USER}" "${OSX_SDK_DIR}" - fi -else - if tmpf=$(mktemp -p "$OSX_SDK_DIR" tmp.XXXXXXXX 2>/dev/null); then - rm -f "$tmpf" - echo "OSX_SDK_DIR is writeable without sudo, continuing" - else - echo "User-provided OSX_SDK_DIR is not writeable for current user! Aborting" - exit 1 - fi -fi - -echo -e "\n\nRunning the build setup script." -source run_conda_forge_build_setup - - - -( endgroup "Configuring conda" ) 2> /dev/null - -echo -e "\n\nMaking the build clobber file" -make_build_number ./ ./recipe ./.ci_support/${CONFIG}.yaml - -if [[ -f LICENSE.txt ]]; then - cp LICENSE.txt "recipe/recipe-scripts-license.txt" -fi - -if [[ "${BUILD_WITH_CONDA_DEBUG:-0}" == 1 ]]; then - if [[ "x${BUILD_OUTPUT_ID:-}" != "x" ]]; then - EXTRA_CB_OPTIONS="${EXTRA_CB_OPTIONS:-} --output-id ${BUILD_OUTPUT_ID}" - fi - conda debug ./recipe -m ./.ci_support/${CONFIG}.yaml \ - ${EXTRA_CB_OPTIONS:-} \ - --clobber-file ./.ci_support/clobber_${CONFIG}.yaml - - # Drop into an interactive shell - /bin/bash -else - - if [[ "${HOST_PLATFORM}" != "${BUILD_PLATFORM}" ]]; then - EXTRA_CB_OPTIONS="${EXTRA_CB_OPTIONS:-} --no-test" - fi - - conda-build ./recipe -m ./.ci_support/${CONFIG}.yaml \ - --suppress-variables ${EXTRA_CB_OPTIONS:-} \ - --clobber-file ./.ci_support/clobber_${CONFIG}.yaml \ - --extra-meta flow_run_id="$flow_run_id" remote_url="$remote_url" sha="$sha" - - ( startgroup "Inspecting artifacts" ) 2> /dev/null - - # inspect_artifacts was only added in conda-forge-ci-setup 4.9.4 - command -v inspect_artifacts >/dev/null 2>&1 && inspect_artifacts --recipe-dir ./recipe -m ./.ci_support/${CONFIG}.yaml || echo "inspect_artifacts needs conda-forge-ci-setup >=4.9.4" - - ( endgroup "Inspecting artifacts" ) 2> /dev/null - ( startgroup "Validating outputs" ) 2> /dev/null - - validate_recipe_outputs "${FEEDSTOCK_NAME}" - - ( endgroup "Validating outputs" ) 2> /dev/null - - ( startgroup "Uploading packages" ) 2> /dev/null - - if [[ "${UPLOAD_PACKAGES}" != "False" ]] && [[ "${IS_PR_BUILD}" == "False" ]]; then - upload_package --validate --feedstock-name="${FEEDSTOCK_NAME}" ./ ./recipe ./.ci_support/${CONFIG}.yaml - fi - - ( endgroup "Uploading packages" ) 2> /dev/null -fi diff --git a/README.md b/README.md index 02670e3c3..109690bdc 100644 --- a/README.md +++ b/README.md @@ -139,69 +139,6 @@ Current build status - - - - - - - - - - - - - - - - - - - - - - - - - - -
VariantStatus
linux_64_c_compiler_version11cuda_compiler_version11.8cxx_compiler_version11 - - variant - -
linux_64_c_compiler_version14cuda_compiler_versionNonecxx_compiler_version14 - - variant - -
linux_aarch64_c_compiler_version11cuda_compiler_version11.8cxx_compiler_version11 - - variant - -
linux_aarch64_c_compiler_version14cuda_compiler_versionNonecxx_compiler_version14 - - variant - -
linux_ppc64le_c_compiler_version11cuda_compiler_version11.8cxx_compiler_version11 - - variant - -
linux_ppc64le_c_compiler_version14cuda_compiler_versionNonecxx_compiler_version14 - - variant - -
osx_64 - - variant - -
osx_arm64 - - variant - -
win_64_cuda_compiler_version11.8 - - variant - -
win_64_cuda_compiler_versionNone diff --git a/azure-pipelines.yml b/azure-pipelines.yml index eff4ad66b..879c4a9ee 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -28,6 +28,4 @@ stages: condition: and(succeeded(), eq(dependencies.Check.outputs['Skip.result.start_main'], 'true')) dependsOn: Check jobs: - - template: ./.azure-pipelines/azure-pipelines-linux.yml - - template: ./.azure-pipelines/azure-pipelines-osx.yml - template: ./.azure-pipelines/azure-pipelines-win.yml \ No newline at end of file