Skip to content

Commit

Permalink
sync back changes from apache/arrow#14832
Browse files Browse the repository at this point in the history
  • Loading branch information
h-vetinari committed Dec 6, 2022
1 parent 190c8d3 commit fed9e16
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion recipe/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,13 @@ set -ex

export DISABLE_AUTOBREW=1

# set C++17 due to abseil
# arrow uses C++17
export ARROW_R_CXXFLAGS="${ARROW_R_CXXFLAGS} -std=c++17"

if [[ "${target_platform}" == osx-* ]]; then
# See https://conda-forge.org/docs/maintainer/knowledge_base.html#newer-c-features-with-old-sdk
export ARROW_R_CXXFLAGS="${ARROW_R_CXXFLAGS} -D_LIBCPP_DISABLE_AVAILABILITY"
fi

# ${R_ARGS} necessary to support cross-compilation
${R} CMD INSTALL --build r/. ${R_ARGS}

0 comments on commit fed9e16

Please sign in to comment.