Skip to content
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

Does LKL be patched on LLVMLinux ? #2

Closed
alephman opened this issue Jan 30, 2019 · 4 comments
Closed

Does LKL be patched on LLVMLinux ? #2

alephman opened this issue Jan 30, 2019 · 4 comments

Comments

@alephman
Copy link

I want to separate LKL and LLVMlinux, but can't find the point where the first LKL patch imported on ?

@retrage
Copy link
Owner

retrage commented Jan 30, 2019

Do you mention the code of LKL.js?
LKL is not related to LLVMLinux. It can be built with LLVM/Clang out-of-box.

@alephman
Copy link
Author

Thanks for your reply.
I'm not sure whether my understanding for those steps is right or not:
The LKL.js dependents on Emscripten. But the Emscripten is based on LLVM. So the LKL have to be compiled by LLVM. As the upstream mainline linux kernel doesn't support the LLVM compiler, we have to apply the LKL patch to LLVMLinux that is specific for LLVM.
So the steps for this project is: LLVMLinux ---> apply LKL patch on LLVMLinux ---> using Emscripten to translate to LKL.js.

@retrage
Copy link
Owner

retrage commented Jan 30, 2019

LKL is not based on LLVMLinux. You can build LKL with LLVM/Clang without any patch. So, LKL.js is not patched for building LLVM.

@alephman
Copy link
Author

Thanks for your reply

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants