Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Sutou Kouhei <kou@cozmixng.org>
  • Loading branch information
assignUser and kou authored Oct 5, 2023
1 parent 99cfe8a commit eca2134
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion cpp/cmake_modules/SetupCxxFlags.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -460,7 +460,7 @@ elseif(CMAKE_CXX_COMPILER_ID STREQUAL "AppleClang" OR CMAKE_CXX_COMPILER_ID STRE
# Avoid clang / libc++ error about C++17 aligned allocation on macOS.
# See https://chromium.googlesource.com/chromium/src/+/eee44569858fc650b635779c4e34be5cb0c73186%5E%21/#F0
# for details.
set(CXX_ONLY_FLAGS "${CXX_ONLY_FLAGS} -fno-aligned-new")
string(APPEND CXX_ONLY_FLAGS " -fno-aligned-new")

if(CMAKE_HOST_SYSTEM_VERSION VERSION_LESS 20)
# Avoid C++17 std::get 'not available' issue on macOS 10.13
Expand Down
9 changes: 6 additions & 3 deletions dev/tasks/r/github.packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,14 +57,17 @@ jobs:
path: arrow/r/arrow_*.tar.gz

macos-cpp:
name: C++ Binary macOS OpenSSL {{ '${{ matrix.openssl }}' }} {{ '${{ matrix.platform.arch }}'}}
runs-on: {{ '${{ matrix.platform.runs_on }}'}}
name: C++ Binary macOS OpenSSL {{ '${{ matrix.openssl }}' }} {{ '${{ matrix.platform.arch }}' }}

runs-on: {{ '${{ matrix.platform.runs_on }}' }}

needs: source
strategy:
fail-fast: false
matrix:
platform:
- { runs_on: ["self-hosted", "macos-10.13"], arch: "x86_64" }
- { runs_on: ["self-hosted", "macos-10.13"], arch: "x86_64" }

- { runs_on: ["self-hosted", "macOS", "arm64", "devops-managed"], arch: "arm64" }
openssl: ['3.0', '1.1']

Expand Down

0 comments on commit eca2134

Please sign in to comment.