AlenkaF commented on code in PR #36296: URL: https://github.com/apache/arrow/pull/36296#discussion_r1252663587
########## docs/source/developers/java/building.rst: ########## @@ -195,7 +195,7 @@ CMake - To build all JNI libraries (MacOS / Linux) except the JNI C Data Interface library: - .. code-block:: + .. code-block:: text Review Comment: Unfortunately the `console` code block also triggers this warning I tried to fix: ``` /Users/alenkafrim/repos/arrow-new-docs/docs/source/developers/java/building.rst:198: WARNING: Could not lex literal_block "$ cd arrow\n$ brew bundle --file=cpp/Brewfile\nHomebrew Bundle complete! 25 Brewfile dependencies now installed.\n$ brew uninstall aws-sdk-cpp\n(We can't use aws-sdk-cpp installed by Homebrew because it has\nan issue: https://github.com/aws/aws-sdk-cpp/issues/1809 )\n$ export JAVA_HOME=<absolute path to your java home>\n$ mkdir -p java-dist cpp-jni\n$ cmake \\\n -S cpp \\\n -B cpp-jni \\\n -DARROW_BUILD_SHARED=OFF \\\n -DARROW_CSV=ON \\\n -DARROW_DATASET=ON \\\n -DARROW_DEPENDENCY_SOURCE=BUNDLED \\\n -DARROW_DEPENDENCY_USE_SHARED=OFF \\\n -DARROW_FILESYSTEM=ON \\\n -DARROW_GANDIVA=ON \\\n -DARROW_GANDIVA_STATIC_LIBSTDCPP=ON \\\n -DARROW_ORC=ON \\\n -DARROW_PARQUET=ON \\\n -DARROW_S3=ON \\\n -DARROW_USE_CCACHE=ON \\\n -DCMAKE_BUILD_TYPE=Release \\\n -DCMAKE_INSTALL_LIBDIR=lib/<your system's architecture> \\\n - DCMAKE_INSTALL_PREFIX=java-dist \\\n -DCMAKE_UNITY_BUILD=ON\n$ cmake --build cpp-jni --target install --config Release\n$ cmake \\\n -S java \\\n -B java-jni \\\n -DARROW_JAVA_JNI_ENABLE_C=OFF \\\n -DARROW_JAVA_JNI_ENABLE_DEFAULT=ON \\\n -DBUILD_TESTING=OFF \\\n -DCMAKE_BUILD_TYPE=Release \\\n -DCMAKE_INSTALL_LIBDIR=lib/<your system's architecture> \\\n -DCMAKE_INSTALL_PREFIX=java-dist \\\n -DCMAKE_PREFIX_PATH=$PWD/java-dist\n$ cmake --build java-jni --target install --config Release\n$ ls -latr java-dist/lib/<your system's architecture>/*_{jni,java}.*\n|__ libarrow_dataset_jni.dylib\n|__ libarrow_orc_jni.dylib\n|__ libgandiva_jni.dylib" as "console". Highlighting skipped. ``` -- 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]
