-
Notifications
You must be signed in to change notification settings - Fork 18
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
LLVM11: llvmtools: LLVM fails to build llvm-tblgen #14
Comments
Added So far build has surpassed 220 built targets! |
Could you add a file "../files/libunwind-llvm12/compact_unwind_encoding.h" for libunwind in BMLFS repo, because I want to try build llvm 12 and catch errors, too? |
I actually have llvm12 working for bmlfs. Let me check which branch... |
Ops. I forgot to extract the missing header from libunwind! Sorry. Misread |
There is some code in file build-scripts/llvm12.build:
When I cloned BMLFS repo, this file is absent. |
Sorry. I’ll upload it |
It is the same file like in $LLVMSRC/projects/libunwind/include/mach-o? Or this file is different? it’s the same |
I’ve uploaded the file to master branch of BMLFS |
Now
|
no need |
perhaps, I should have added |
is this issue related to build llvm in llvmtools? |
For LLVM 12, I just fine while building. See #12 (comment) Now moving to chroot steps. I'll report if an issue appeared. |
yes for llvm11 (master). First build fails after 4mins for |
Before you were contributing, i was working on LLVM12 branch...lol, but i was stuck on libcxx of llvmtools (by now, you, and others already fixed that). I thought i'd work on master (llvm11) to have it updated with latest software versions of June 18th 2021. Hopefully, no GCC dependencies for |
I use GNU Make for LLVM, so mostly never install ninja (and less dependencies) until entering chroot (meson). I prefer Samurai. May I ask. What packages that requires meson? |
Good point. I like ninja for the clean text output... although, make can do that too. Make is pretty common and less dependencies, i'd likely switch from ninja to make |
Right, Ninja can show the total of source code and not showing the enter-close directory like Make. |
Samurai looks good. I do hate how ninja is either built with python or cmake. I may replace ninja with samurai in both CMLFS and MLFS. For CMLFS, meson is not used. It is built so that a CMLFS system can build packages that use meson as their build system.... I forgot the original reason meson was added to LFS. |
I think so! |
In LFS Appendix, meson is used when building Systemd. |
Try this, and don't forget to enable |
I noticed hasn't been updated for a while. I suppose i'll switch to zlib-ng, just like how i dropped pkg-config for pkgconf |
And maybe pigz instead of gzip, but pigz requires zlib (zlib-ng works too). Cons: pigz doesn't have wrapper script such as for grep (zgrep). Can be installed for both, gzip just for wrapper script if needed 😄 lol |
I'm closing this as I don't think anyone will want to build LLVM-11 for CMLFS. |
Re-built
llvmtools
and made surelibcxx
did not require libatomic.now llvm/clang for
llvmtools
fails to build:Originally posted by @dslm4515 in #12 (comment)
The text was updated successfully, but these errors were encountered: