Skip to content

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

Closed

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

Activity

  1. lidavidm commented on Jan 27, 2025

    @lidavidm
    Member

    If anything, every version <13 seems to be end-of-life already (though 11 and 12 got their last update recently-ish so maybe there's no need to drop them, 10.13 was last updated in 2018...)

  2. raulcd commented on Jan 27, 2025

    @raulcd
    Member
  3. assignUser commented on Jan 27, 2025

    @assignUser
    Member

    Yes, CRAN is no longer using the 10.13 runner. I'll have to check but iirc 11 is now the lowest they test on.

  4. assignUser commented on Jan 27, 2025

    @assignUser
    Member
  5. added a commit that references this issue on Jan 27, 2025
  6. kou commented on Jan 27, 2025

    @kou
    MemberAuthor

    OK. Let's use 11.6: GH-45363

  7. added a commit that references this issue on Jan 28, 2025
  8. added this to the 20.0.0 milestone on Jan 28, 2025
  9. kou commented on Jan 28, 2025

    @kou
    MemberAuthor

    Issue resolved by pull request 45363
    #45363

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions