A-little-bit-of-data commented on issue #10102: URL: https://github.com/apache/incubator-gluten/issues/10102#issuecomment-3071767485
> > > Can you try to build in docker? https://github.com/apache/incubator-gluten/blob/main/docs/developers/velox-backend-build-in-docker.md > > > > > > Hello, I checked the document you mentioned, and both methods in it have official compilation images, which is great! But the spark image is the default Ubuntu image. I looked for the official compilation base image, which is based on centos. If I use this centos-based image to compile, will there be any impact or problems? Then I am using the kirin operating system of the arm architecture. Can this machine be applied to the above compilation method? > > [@A-little-bit-of-data](https://github.com/A-little-bit-of-data), Gluten doesn't require that the build time OS must be consistent with runtime OS. But glibc compatibility should be guaranteed. And the CPU architecture, whether ARM or x86, should remain consistent between the build and runtime environments. In our CI, we build Gluten on centos-7 with static link, and run some test jobs on ubuntu-20.04/22.04, centos-8. glibc compatibility should be guaranteed. I checked the document and found the supported spark3.5.2 version. I pulled the spark3.5.2 image and checked the version. The results are as follows: ``` ldd --version ldd (Ubuntu GLIBC 2.31-0ubuntu9.16) 2.31 Copyright (C) 2020 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Written by Roland McGrath and Ulrich Drepper. ``` I checked `https://github.com/apache/incubator-gluten/blob/main/docs/developers/velox-backend-build-in-docker.md` and `https://hub.docker.com/r/apache/gluten/tags ` I found that they are all centos related images, but not ubuntu. Can I directly use, for example, apache/gluten:vcpkg-centos-7 image to compile, and then use it in spark3.5.2 image? -- 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]
