lgbo-ustc commented on issue #10242: URL: https://github.com/apache/incubator-gluten/issues/10242#issuecomment-3154941835
Please try this ### prepare environment ```bash # from ubutnu 20.04 apt install curl dnsutils gnupg iputils-ping lsb-release wget python3 yasm nasm gawk --yes --no-install-recommends --verbose-versions apt install openjdk-8-jdk ccache apt install build-essential apt install lsb-release wget software-properties-common gnupg apt install ninja-build wget https://apt.llvm.org/llvm.sh && chmod +x llvm.sh && ./llvm.sh 19 all wget https://github.com/Kitware/CMake/releases/download/v4.1.0-rc4/cmake-4.1.0-rc4-linux-x86_64.sh && chmod +x cmake-4.1.0-rc4-linux-x86_64.sh && ./cmake-4.1.0-rc4-linux-x86_64.sh --skip-license --prefix=/usr/local curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh rustup toolchain install nightly-2025-07-07 ``` ### compile the code ```bash mkdir build && cd build cmake "-DCMAKE_C_COMPILER=$(command -v clang-19)" "-DCMAKE_CXX_COMPILER=$(command -v clang++-19)" "-DLLD_WRAPPER=$(command -v ld.lld-19)" "-DENABLE_CHECK_HEAVY_BUILDS=1 -DCMAKE_BUILD_TYPE=RelWithDebInfo" "-DENABLE_PROTOBUF=1" "-DWERROR=OFF" "-DENABLE_JEMALLOC=0 -DCMAKE_BUILD_WITH_INSTALL_RPATH=OFF" "-DENABLE_EXTERN_LOCAL_ENGINE=ON" "-DENABLE_TESTS=OFF" -DENABLE_THINLTO=false "-DENABLE_GWP_ASAN=OFF" "-DCMAKE_POLICY_DEFAULT_CMP0177=OLD" "-DENABLE_NUMACTL=OFF" ../ ninja ``` The dockerfile should be updated later -- 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
