@@ -603,7 +603,7 @@ if ! cmake --find-package -DNAME=ghc_filesystem -DCOMPILER_ID=GNU -DLANGUAGE=CXX
603603fi
604604
605605# Build and install Apache Arrow with Parquet and Snappy
606- if ! cmake --find-package -DNAME=Arrow -DCOMPILER_ID=GNU -DLANGUAGE-CXX -DMODE=EXIST > /dev/null 2> /dev/null && \
606+ if ! pkg-config " arrow " && \
607607 should_build " apache-arrow" " for Arrow/Parquet support" ; then
608608 ARROW_TAG=${ARROW_TAG:- apache-arrow-16.1.0}
609609 ARROW_REPO=${ARROW_REPO:- https:// github.com/ apache/ arrow.git}
@@ -631,7 +631,7 @@ if ! cmake --find-package -DNAME=Arrow -DCOMPILER_ID=GNU -DLANGUAGE-CXX -DMODE=E
631631 popd
632632fi
633633
634- # Build and install restclient-cpp required for delta_sharing node
634+ # Build and install restclient-cpp required for delta_sharing node. Package not available in package managers.
635635if ! find ${PREFIX} /{lib,lib64} -name " *restclient-cpp*" 2> /dev/null | grep -q . && \
636636 should_build " restclient-cpp" " for the delta-sharing node-type" ; then
637637 git clone ${GIT_OPTS} --branch 0.5.2 https://github.com/mrtazz/restclient-cpp.git
@@ -645,8 +645,8 @@ if ! find ${PREFIX}/{lib,lib64} -name "*restclient-cpp*" 2>/dev/null | grep -q .
645645 popd
646646fi
647647
648- # Build and install nlohmann/josn required for delta_sharing node
649- if ! find ${PREFIX} /{include,share} -name " *nlohmann* " 2> /dev/null | grep -q . && \
648+ # Build and install nlohmann/json required for delta_sharing node
649+ if ! pkg-config " nlohmann_json " && \
650650 should_build " nlohman_json" " for the delta-sharing node-type" ; then
651651 git clone https://github.com/nlohmann/json.git json
652652 mkdir -p json/build
0 commit comments