You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/source/developers/java/building.rst
+40-48Lines changed: 40 additions & 48 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -75,78 +75,70 @@ We can build these manually or we can use `Archery`_ to build them using a Docke
75
75
|__ libarrow_dataset_jni.so
76
76
|__ libarrow_orc_jni.so
77
77
|__ libgandiva_jni.so
78
+
|__ libplasma_java.so
78
79
79
80
Building JNI Libraries on MacOS
80
81
-------------------------------
81
82
Note: If you are building on Apple Silicon, be sure to use a JDK version that was compiled for that architecture. See, for example, the `Azul JDK <https://www.azul.com/downloads/?os=macos&architecture=arm-64-bit&package=jdk>`_.
82
83
83
-
To build only the C Data Interface library:
84
+
First, you need to build Apache Arrow C++:
84
85
85
86
.. code-block::
86
87
87
88
$ cd arrow
88
89
$ brew bundle --file=cpp/Brewfile
89
90
Homebrew Bundle complete! 25 Brewfile dependencies now installed.
91
+
$ brew uninstall aws-sdk-cpp
92
+
(We can't use aws-sdk-cpp installed by Homebrew because it has
93
+
an issue: https://github.com/aws/aws-sdk-cpp/issues/1809 )
90
94
$ export JAVA_HOME=<absolute path to your java home>
91
-
$ mkdir -p java-dist java-native-c
92
-
$ cd java-native-c
95
+
$ mkdir -p java-dist cpp-jni
93
96
$ cmake \
94
-
-DCMAKE_BUILD_TYPE=Release \
95
-
-DCMAKE_INSTALL_PREFIX=../java-dist/lib \
96
-
../java
97
-
$ cmake --build . --target install
98
-
$ ls -latr ../java-dist/lib
99
-
|__ libarrow_cdata_jni.dylib
100
-
101
-
To build other JNI libraries:
102
-
103
-
.. code-block::
104
-
105
-
$ cd arrow
106
-
$ brew bundle --file=cpp/Brewfile
107
-
Homebrew Bundle complete! 25 Brewfile dependencies now installed.
108
-
$ export JAVA_HOME=<absolute path to your java home>
0 commit comments