-
Notifications
You must be signed in to change notification settings - Fork 3.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Java] Consolidate JNI compilation #2 #20367
Comments
David Dali Susanibar Arce / @davisusanibar:
|
Kouhei Sutou / @kou:
|
David Dali Susanibar Arce / @davisusanibar: @kou For Window DLL stuff could be possible to consider that in your scope also? If yes, then, I could move to review migrate ORC JNI to use C-Data-Interface.
|
Kouhei Sutou / @kou: |
David Dali Susanibar Arce / @davisusanibar: |
David Dali Susanibar Arce / @davisusanibar: Please let me know if there are some other task pending to you could help us with [Java] Add windows build script that produces DLLs for JNI modules? |
Kouhei Sutou / @kou: |
David Dali Susanibar Arce / @davisusanibar: |
Kouhei Sutou / @kou: |
David Dali Susanibar Arce / @davisusanibar: cmake \
-S java \
-B java-jni \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=java-dist/lib \
-DCMAKE_PREFIX_PATH=java-dist I am seeing messages like this: CMake Error at CMakeLists.txt:60 (find_package):
By not providing "FindArrowTesting.cmake" in CMAKE_MODULE_PATH this project
has asked CMake to find a package configuration file provided by
"ArrowTesting", but CMake did not find one.
Could not find a package configuration file provided by "ArrowTesting" with
any of the following names:
ArrowTestingConfig.cmake
arrowtesting-config.cmake
Add the installation prefix of "ArrowTesting" to CMAKE_PREFIX_PATH or set
"ArrowTesting_DIR" to a directory containing one of the above files. If
"ArrowTesting" provides a separate development package or SDK, be sure it
has been installed. Is there some steps missing on building.rst file?
Then trying with cmake \
-S java \
-B java-jni \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=java-dist/lib \
-DCMAKE_PREFIX_PATH=java-dist \
-DBUILD_TESTING=OFF Seeing error like this: -- Building using CMake version: 3.24.1
CMake Error at dataset/CMakeLists.txt:18 (find_package):
By not providing "FindArrowDataset.cmake" in CMAKE_MODULE_PATH this project
has asked CMake to find a package configuration file provided by
"ArrowDataset", but CMake did not find one. Could not find a package configuration file provided by "ArrowDataset" with
any of the following names: ArrowDatasetConfig.cmake
arrowdataset-config.cmake Add the installation prefix of "ArrowDataset" to CMAKE_PREFIX_PATH or set
"ArrowDataset_DIR" to a directory containing one of the above files. If
"ArrowDataset" provides a separate development package or SDK, be sure it
has been installed.
|
Kouhei Sutou / @kou: |
Apache Arrow JIRA Bot: |
Kouhei Sutou / @kou: |
Umbrella ticket for consolidating Java JNI compilation initiative #2
Initial part of consolidate JNI Java initiative was: Consolidate ORC/Dataset code and Separate JNI CMakeLists.txt compilation.
This 2nd part consist on:
1.- Make the Java library able to compile with a single mvn command
2.- Make Java library able to compile from an installed libarrow
3.- Migrate remaining C++ CMakeLists.txt specific to Java into the Java project: ORC / Dataset / Gandiva
4.- Add windows build script that produces DLLs
5.- Incorporate Windows DLLs into the maven packages
6.- Migrate ORC JNI to use C-Data-Interface
Reporter: David Dali Susanibar Arce / @davisusanibar
Subtasks:
Related issues:
Note: This issue was originally created as ARROW-17404. Please see the migration documentation for further details.
The text was updated successfully, but these errors were encountered: