-
Notifications
You must be signed in to change notification settings - Fork 129
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
How to modify the default llvm version 10 to 16? #790
Comments
Hey @sparks-code sorry for the slow response. Bumping to LLVM 16 will require code changes. The pass list will be a little different, and there may be some other API changes. To get you started, you could:
Unfortunately there's no simple recipe for this. It may require some work. Hope that helps. Cheers, |
We have a long term project to overhaul the build system in a way that would make it much easier to plug in different versions of LLVM (including custom forks), but sadly no bandwidth to work on this at the moment. |
hello,@ChrisCummins.thanks for your advice. I'm already trying to upgrade the llvm version, buthttps://github.com/facebookresearch/CompilerGym/blob/development/compiler_gym/envs/llvm/service/RunService.ccthis file generat errors during the build process,
|
Hi @sparks-code, good to here that you're making progress. Is the build error happening when you switch the LLVM to 16? Does the build error happen using the default LLVM 10? If not, then it must be some change in LLVM's initialization routines. You could check the changelogs to see how those routines changed. Your best bet for help on LLVM-specific questions will be on their discord, I'm not an LLVM dev. Cheers, |
Hi Chris, I followed all these steps. It appears that I can build the However, then I tried details here: #788 (comment) |
I tried to dive into it a little bit.. The
|
Followed up on #788. |
Hi, I'm doing the same job. Have you built successfully so far? |
Hi, I'm doing the same job. Have you built successfully so far? |
|
Okay, I got it. Thank you. |
How to modify the binary downloaded by |
❓ Questions and Help
Hello,ChrisCummins! thank you again for your last help!
I noticed the compiler_ The default compiler version used by Gym is 10. If I want to update it to 16 and possibly modify the action space, what do I need to do?
Additional Context
The text was updated successfully, but these errors were encountered: