-
Notifications
You must be signed in to change notification settings - Fork 418
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cannot build gluten (velox backend) in Amazon Linux 2 #489
Comments
What's the OS and version do you use? Velox currently only support Ubuntu20.04+. We are adding support to Centos 8. On old OS, there are much dependency issues to solve. Velox community is adding conda env support, once it's done the old OS support can be much easier. |
it's in Amazon Linux 2 , basically AWS's own distro.... I have installed all corresponding dependencies based on https://github.com/oap-project/velox/blob/main/scripts/setup-ubuntu.sh (either replacement in AWS Linux 2 or build from the source) I am wondering what does error like |
@zhejiangxiaomai Do you know what's the issue? Looks it's used in Velox's experimental codegen |
Hi, @CodingCat what is your build option for velox? In fact, we do not use libvelox_all_link.a in gluten. |
This comment was marked as outdated.
This comment was marked as outdated.
yeah, I copied the command from this line
except that I turned off HDFS support |
@CodingCat would you give me the commit id of your velox project? I will reproduce it. In fact, we use this build option to build velox nightly. |
Thanks! it's
|
hmmmm..... I think I got what's the issue
I saw this in velox cmake file....I do use clang in the system, so it builds codegen even we don't use it.... are you using g++? |
yes, you need to disable Codegen. |
thanks, I will give a try, and hopefully I can contribute back with a doc or something about how to run gluten in Amazon Linux 2 which is what EMR relies on (well....if S3 can be supported soon, it would make it really valuable) |
That's really good. |
I have made more progress on this, now I am hitting
I am using clang++ 14.0.6 and specified std=c++17 as velox docs says it requires that.... any idea on what might be happening here? |
Looks it's Velox's compile issue. We may ask from Velox channel. Are you in? |
not yet, today is tough for meta folks, I will ask for joining tmr |
@CodingCat Is there still a problem now? |
we can close this now, I have been able to run it in AL2 |
@CodingCat Did you end up writing that doc you mentioned above? I'm trying to run this on AL2, and I'm facing the below error.
|
Describe the bug
I am trying to build gluten in Amazon Linux 2 (for EMR env) (I have upgraded cmake to 3.16.9, using clang/clang++ 14.0.6 as compilers)
but I always get the error when trying to compile Velox
No SOURCES given to target: velox_all_link
To Reproduce
Steps to reproduce the behavior:
I am using EMR 6.6 image (https://docs.aws.amazon.com/emr/latest/ReleaseGuide/emr-release-6x.html), but you do need to install tons of dependencies manually since it is using a very old version of linux
I used the above command to build (Arrow is already built successfully), hopefully it is an easy fix
(I did turn off LIBHDFS3 build in Velox which is another mess tho, but I don't think it is relevant?)
Expected behavior
can build Gluten
The text was updated successfully, but these errors were encountered: