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

LLVM 14 update #1

Closed
wants to merge 61 commits into from
Closed

LLVM 14 update #1

wants to merge 61 commits into from

Conversation

jusito
Copy link

@jusito jusito commented Aug 7, 2022

Because you created already a pull request and latest ci failed after components.json.

Fixed it and merged most changes from llvm-core recipe + updated it here and there.
There are still some smaller todos, but recipe is working again, so what do you think?

Edit:

  • shared / static are sometimes mixed, for some enabled projects shared / static lib creation seems crossed, e.g. omp.so in static and omp.a in shared build. According to documentation using BUILD_SHARED_LIBS shouldn't be used.
  • for shared build all non shared libs are removed, should we add it for static as well?

@jusito
Copy link
Author

jusito commented May 9, 2023

@sykhro Iam currently optimizing the conan2 migration, minimal configuration and most others are looking fine at the end of the day. Do you have time testing it on windows?

@sykhro
Copy link

sykhro commented May 9, 2023

@sykhro Iam currently optimizing the conan2 migration, minimal configuration and most others are looking fine at the end of the day. Do you have time testing it on windows?

Yeah, happy to test whenever you’re ready.
Unfortunately on Windows the DIASDK is needed for PDB generation. We have made a recipe for it so that LLVM doesn’t go fetching it from the visual studio installation, but it’s a bit problematic to fix properly

@jusito
Copy link
Author

jusito commented May 9, 2023

@sykhro merged my latest changes, so I tested llvm 13,14,15,16 in latest patch version in minimal, complete, with dynlib.

edit:
llvm 13,14,15,16 on linux with clang 15

  • every with_{project,runtime}=False = minimal configuration
  • every with_{project,runtime}=True = complete configuration
    • compiler-rt/libc/lldb seems like they always need some special handling. compiler-rt needs system libs, libc produces a compiler crash, lldb
  • llvm_build_llvm_dylib=True tested and test_package checks for it too
    Iam currently looking into libxml2 issues with lldb, tests seem to run whole night but looks good as of now.

So in essence, minimal / minimal+clang / minimal+clang+dynlib would be a good start if that is working fine.
Does it match your preferred configuration?

If you see anything which looks strange or isn't well documented but should be in your opinion, always welcome as feedback.

cheers

@jusito
Copy link
Author

jusito commented May 10, 2023

moved to conan-io#17509

@jusito jusito closed this May 10, 2023
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

Successfully merging this pull request may close these issues.

2 participants