Skip to content

Commit

Permalink
[native] Remove RE2 dependency from centos setup script
Browse files Browse the repository at this point in the history
RE2 is installed in the Velox centos setup script
  • Loading branch information
majetideepak committed Feb 5, 2024
1 parent 6588bab commit 1bd7843
Showing 1 changed file with 1 addition and 13 deletions.
14 changes: 1 addition & 13 deletions presto-native-execution/scripts/setup-centos.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,7 @@ export FB_OS_VERSION=v2023.12.04.00
export RE2_VERSION=2021-04-01
export nproc=$(getconf _NPROCESSORS_ONLN)

dnf install -y maven
dnf install -y java
dnf install -y python3-devel
dnf install -y clang-tools-extra
dnf install -y jq
dnf install -y perl-XML-XPath
dnf install -y maven java python3-devel clang-tools-extra jq perl-XML-XPath

python3 -m pip install regex pyyaml chevron black six

Expand Down Expand Up @@ -59,12 +54,5 @@ export COMPILER_FLAGS=$(echo -n $(get_cxx_flags $CPU_TARGET))
cmake_install -DBUILD_TESTS=OFF -DBUILD_SHARED_LIBS=ON
)

(
git clone https://github.com/google/re2 &&
cd re2 &&
git checkout $RE2_VERSION &&
cmake_install -DBUILD_SHARED_LIBS=ON
)


dnf clean all

0 comments on commit 1bd7843

Please sign in to comment.