Skip to content

Commit

Permalink
more verbosity, different test
Browse files Browse the repository at this point in the history
  • Loading branch information
jonkeane committed Aug 3, 2021
1 parent 02bd56a commit 6f2f0f7
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions r/inst/build_arrow_static.sh
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,14 @@ else
ARROW_DEFAULT_PARAM="OFF"
fi

if echo "$ARROW_R_CXXFLAGS" | grep -q "flto"; then
ARROW_LTO="ON"
else

R_CONFIG_LTO=`"${R_HOME}"/bin/R CMD config LTO`
if [ "$R_CONFIG_LTO" = "" ]; then
echo "*********** inside the build-static LTO if"
ARROW_LTO="OFF"
else
echo "*********** inside the build-static LTO else"
ARROW_LTO="ON"
fi

mkdir -p "${BUILD_DIR}"
Expand Down

0 comments on commit 6f2f0f7

Please sign in to comment.