From e58bef309677fc158b1d7b5a63b134d9e6644402 Mon Sep 17 00:00:00 2001 From: "Rex(Hui) An" Date: Tue, 9 Jul 2024 10:51:47 +0800 Subject: [PATCH] [VL] Update ubuntu docker to use cmake 3.28 (#6373) Since the velox needs cmake version > 3.28, we better update the doc to align this change --- docs/developers/docker_ubuntu22.04.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/docs/developers/docker_ubuntu22.04.md b/docs/developers/docker_ubuntu22.04.md index 7d73d0ac322d..b139fecdcf6e 100644 --- a/docs/developers/docker_ubuntu22.04.md +++ b/docs/developers/docker_ubuntu22.04.md @@ -21,7 +21,8 @@ apt-get update #install gcc and libraries to build arrow apt install software-properties-common -apt install maven build-essential cmake libssl-dev libre2-dev libcurl4-openssl-dev clang lldb lld libz-dev git ninja-build uuid-dev autoconf-archive curl zip unzip tar pkg-config bison libtool flex vim +apt install maven build-essential libssl-dev libre2-dev libcurl4-openssl-dev clang lldb lld libz-dev git ninja-build uuid-dev autoconf-archive curl zip unzip tar pkg-config bison libtool flex vim python3-pip +pip3 install cmake==3.28.3 #velox script needs sudo to install dependency libraries apt install sudo @@ -57,4 +58,8 @@ cd incubator-gluten/ # It's suggested to build using static link, enabled by `--enable_vcpkg=ON` # For developer, it's suggested to enable Debug info, by --build_type=RelWithDebInfo. Note RelWithDebInfo uses -o2, release uses -o3 ./dev/buildbundle-veloxbe.sh --enable_vcpkg=ON --build_type=RelWithDebInfo + +# If you meet the error like `epoll_wait: Function not implemented` when running tests, +# Please enable epoll_pwait by, +export EVENT_NOEPOLL=1 ```