-
Notifications
You must be signed in to change notification settings - Fork 181
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
Target triple option #92
Comments
I don’t really know how building kernels with dpkg works but I am fairly certain that the “unknown” part of the tuple comes from the fact that we set |
Thanks for the feedback. I checked the target-triple of
I tried
Is it possible to pass individual "extra" options to tc-build? |
I checked Looks like the required cmake option is See reference [1] to set [1] https://sources.debian.org/src/llvm-toolchain-10/1:10.0.1%7E+rc1-1%7Eexp1/debian/rules/#L99 |
I tried this:
My build-log now says:
|
I was not able to pass an empty string thus the brutal way:
With the above change together
|
I don't want to hardcode the host triple because the script can actually run on arm64 (it does not work great but it runs) and at the same time, I do not want to add a heuristic to the script for figuring out what the host triple should be. Looking into handling an empty |
Agreed and thanks for taking care @nathanchance |
Can I pass some cmake-options together with
[CMake] Pass LLVM_HOST_TRIPLE to external projects see [1]. |
No good triple
Next try:
|
LOL:
|
My snippet:
You can close this if you like. |
Thanks. I’ll take a look at the other issue soon hopefully. |
Since I use tc-build I see in my logs:
My generated clang-10 says
Target: x86_64-unknown-linux-gnu
:Whereas Debian's gcc-10 says
Target: x86_64-linux-gnu
:So an option is desired to pass "triple"for the target(s).
Unsure which target triple options are allowed in the LLVM world.
Thanks.
The text was updated successfully, but these errors were encountered: