paleolimbot commented on a change in pull request #12564:
URL: https://github.com/apache/arrow/pull/12564#discussion_r836635079



##########
File path: r/configure
##########
@@ -244,6 +244,14 @@ if [ $? -eq 0 ]; then
     # NOTE: arrow-dataset is assumed to have the same -L flag as arrow
     # so there is no need to add its location to PKG_DIRS
   fi
+  # Check for Arrow Engine subcomponent
+  grep -i 'set(ARROW_ENGINE "ON")' $ARROW_OPTS_CMAKE >/dev/null 2>&1
+  if [ $? -eq 0 ]; then
+    PKG_CFLAGS="$PKG_CFLAGS -DARROW_R_WITH_ENGINE"
+    PKG_LIBS="-larrow_engine $PKG_LIBS"
+    # NOTE: arrow-engine is assumed to have the same -L flag as arrow
+    # so there is no need to add its location to PKG_DIRS
+  fi

Review comment:
       Done! I really need to get a Windows environment up and running so that 
I notice these kinds of things.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscr...@arrow.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to