This is an automated email from the ASF dual-hosted git repository.
kou pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/arrow.git
The following commit(s) were added to refs/heads/master by this push:
new 8ecb730155 ARROW-17782: [C++][R] R package not building on macos 10.13
with C++17 std lib (#14178)
8ecb730155 is described below
commit 8ecb73015560498fc28b9fe498b3568296e3f4ab
Author: Jacob Wujciak-Jens <[email protected]>
AuthorDate: Tue Sep 20 23:10:04 2022 +0200
ARROW-17782: [C++][R] R package not building on macos 10.13 with C++17 std
lib (#14178)
r-binary-package build ✔️
[here](https://github.com/ursacomputing/crossbow/actions/runs/3091654213) the
failure in "test source" is unrelated.
An error message without `-D_LIBCPP_DISABLE_AVAILABILITY`:
https://github.com/ursacomputing/crossbow/actions/runs/3081084528/jobs/4979666988#step:13:10847
/Users/voltrondata/tmp/build-apache-arrow/opt/apache-arrow/include/arrow/compute/exec.h:340:12:
error: call to unavailable function 'get': introduced in macOS 10.14
return std::get<std::shared_ptr<ArrayData>>(this->value);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Authored-by: Jacob Wujciak-Jens <[email protected]>
Signed-off-by: Sutou Kouhei <[email protected]>
---
r/tools/autobrew | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/r/tools/autobrew b/r/tools/autobrew
index d895b57eaf..73e6e11a16 100644
--- a/r/tools/autobrew
+++ b/r/tools/autobrew
@@ -74,7 +74,7 @@ for FILE in $BREWDIR/Cellar/*/*/lib/*.a; do
PKG_LIBS=`echo $PKG_LIBS | sed "s/-l$LIBNAME/-lbrew$LIBNAME/g"`
done
-PKG_CFLAGS="-I$BREWDIR/opt/$PKG_BREW_NAME/include -DARROW_R_WITH_PARQUET
-DARROW_R_WITH_DATASET -DARROW_R_WITH_JSON -DARROW_R_WITH_S3 -DARROW_R_WITH_GCS"
+PKG_CFLAGS="-I$BREWDIR/opt/$PKG_BREW_NAME/include -DARROW_R_WITH_PARQUET
-DARROW_R_WITH_DATASET -DARROW_R_WITH_JSON -DARROW_R_WITH_S3 -DARROW_R_WITH_GCS
-D_LIBCPP_DISABLE_AVAILABILITY"
unset HOMEBREW_NO_ANALYTICS
unset HOMEBREW_NO_AUTO_UPDATE