-
-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
sync with upstream; be explicit about -std=c++17
- Loading branch information
1 parent
d453742
commit cc81b3d
Showing
3 changed files
with
16 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,14 @@ | ||
@echo on | ||
|
||
bash %RECIPE_DIR%/build_win.sh | ||
IF %ERRORLEVEL% NEQ 0 exit 1 | ||
|
||
cp %RECIPE_DIR%/configure.win r | ||
IF %ERRORLEVEL% NEQ 0 exit 1 | ||
|
||
cp %RECIPE_DIR%/install.libs.R r/src | ||
IF %ERRORLEVEL% NEQ 0 exit 1 | ||
|
||
set "MAKEFLAGS=-j%CPU_COUNT%" | ||
"%R%" CMD INSTALL --build r | ||
IF %ERRORLEVEL% NEQ 0 exit 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,15 @@ | ||
#!/bin/bash | ||
set -ex | ||
|
||
export DISABLE_AUTOBREW=1 | ||
|
||
# set C++17 due to abseil | ||
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 | ||
|
||
# shellcheck disable=SC2086 | ||
${R} CMD INSTALL --build r/. ${R_ARGS} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters