rok commented on code in PR #14623:
URL: https://github.com/apache/arrow/pull/14623#discussion_r1020604048
##########
docs/source/developers/java/building.rst:
##########
@@ -132,7 +132,12 @@ Maven
$ cd arrow/java
$ export JAVA_HOME=<absolute path to your java home>
$ java --version
- $ mvn generate-resources -Pgenerate-libs-jni-macos-linux -N
+ $ mvn generate-resources \
+ -Pgenerate-libs-jni-macos-linux \
+ -DARROW_GANDIVA=ON \
+ -DARROW_JAVA_JNI_ENABLE_GANDIVA=ON \
+ -DARROW_JAVA_JNI_ENABLE_C=ON \
Review Comment:
> I'm OK with changing the description. (We need to update "To build only
the JNI C Data Interface library (MacOS / Linux)" and related items too with
the approach.)
Ok, I'll push a change.
> BTW, if you run the "To build only the JNI C Data Interface library (MacOS
/ Linux)" item separately, can we build without error?
```
mvn clean install
mvn generate-resources -Pgenerate-libs-cdata-all-os -N
mvn -Darrow.c.jni.dist.dir=$PWD/../java-dist/lib -Parrow-c-data clean install
```
builds fine on master on my M1.
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]