Skip to content

[R] Can we bump MACOSX_DEPLOYMENT_TARGET from 10.13? #45356

@kou

Description

@kou

Describe the enhancement requested

I'm working on updating bundled AWS SDK for C++: #45306

It's for bumping minimum CMake version to 3.25: #44989

It seems that the latest AWS SDK for C++ requires macOS 10.15 or later: https://github.com/ursacomputing/crossbow/actions/runs/12983964025/job/36206123040#step:5:1166

/Users/runner/work/crossbow/crossbow/arrow/r/libarrow/dist/_deps/aws-sdk-cpp-src/src/aws-cpp-sdk-core/source/utils/memory/AWSMemory.cpp:98:19: error: 'aligned_alloc' is only available on macOS 10.15 or newer [-Werror,-Wunguarded-availability-new]
            ret = aligned_alloc(alignment, blockSize);
                  ^~~~~~~~~~~~~
/Applications/Xcode_15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/malloc/_malloc.h:65:7: note: 'aligned_alloc' has been marked as being introduced in macOS 10.15 here, but the deployment target is macOS 10.13.0
void *aligned_alloc(size_t __alignment, size_t __size) __result_use_check __alloc_align(1) __alloc_size(2) _MALLOC_TYPED(malloc_type_aligned_alloc, 2) __OSX_AVAILABLE(10.15) __IOS_AVAILABLE(13.0) __TVOS_AVAILABLE(13.0) __WATCHOS_AVAILABLE(6.0);
      ^
/Users/runner/work/crossbow/crossbow/arrow/r/libarrow/dist/_deps/aws-sdk-cpp-src/src/aws-cpp-sdk-core/source/utils/memory/AWSMemory.cpp:98:19: note: enclose 'aligned_alloc' in a __builtin_available check to silence this warning
            ret = aligned_alloc(alignment, blockSize);
                  ^~~~~~~~~~~~~

Can we bump

MACOSX_DEPLOYMENT_TARGET: "10.13"
to at least "10.15"?

FYI: Wheels use "12.0": #43137

Component(s)

R

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions