Skip to content

layer.conf: Mark it scarthgap compatible #924

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

Merged
merged 1 commit into from
Mar 19, 2024
Merged

Conversation

saininav
Copy link
Contributor

Downstream projects need time to switch to opaque
pointers in llvm16 which requires in some cases
significant effort.

Downstream projects need time to switch to opaque
pointers in llvm16 which requires in some cases
significant effort.

Signed-off-by: Naveen Saini <[email protected]>
@saininav saininav requested a review from kraj as a code owner March 19, 2024 01:59
Copy link
Owner

@kraj kraj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

scarthgap is LTS and this would mean it will have to be supported for that long. is this something transitional ?

@saininav
Copy link
Contributor Author

Yes it is transitional. Once llvm16 support is available, we can remove it.
intel/intel-graphics-compiler#289

@kraj kraj merged commit 8fbc4b4 into kraj:mickledore Mar 19, 2024
@zboszor
Copy link
Contributor

zboszor commented Jun 18, 2024

My alternative suggestion would be to introduce parallel versions of llvm in meta-clang to satisfy diverse software projects supporting specific llvm versions. E.g.:

  • intel-graphics-compiler in meta-intel supports llvm 11-15
  • python3-llvmlite in meta-python-ai supports llvm 14-15
  • chipStar (soon to be introduced in meta-python-ai) is documented to support llvm 17, 15-16 mentioned as "maybe", and I tested that it at least builds with 18

FWIW, when using meta-clang/mickledore under scarthgap, I was able to build the Intel OpenCL runtime (a.k.a. intel-compute-runtime) but chromium-x11 (120.x) from meta-browser failed to build, even when pinned to the commit before the one that enabled Rust to build Chromium. Later versions need a newer clang version. This is a time when you can't satisfy everyone with a single LLVM version. YMMV.

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.

3 participants