File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -77,8 +77,19 @@ cmake \
7777cmake --build " ${build_dir} /cpp" --target install
7878github_actions_group_end
7979
80+ absl_build_dir=" ${build_dir} /cpp/_deps/absl-build"
81+ if [ -d " ${absl_build_dir} " ]; then
82+ github_actions_group_begin " Installing bundled Abseil"
83+ cmake --install " ${absl_build_dir} " --prefix " ${install_dir} " --config Release
84+ github_actions_group_end
85+ fi
86+
8087JAVA_JNI_CMAKE_ARGS=" -DProtobuf_ROOT=${build_dir} /cpp/_deps/protobuf-build"
8188JAVA_JNI_CMAKE_ARGS+=" -DProtobuf_SRC_ROOT_FOLDER=${build_dir} /cpp/_deps/protobuf-src"
89+ absl_cmake_dir=" ${install_dir} /lib/cmake/absl"
90+ if [ -d " ${absl_cmake_dir} " ]; then
91+ JAVA_JNI_CMAKE_ARGS+=" -Dabsl_DIR=${absl_cmake_dir} "
92+ fi
8293export JAVA_JNI_CMAKE_ARGS
8394" ${source_dir} /ci/scripts/jni_build.sh" \
8495 " ${source_dir} " \
You can’t perform that action at this time.
0 commit comments