ClangBuiltLinux / llvm-distributors-conf-2021

A day of lightning talks for folks who distribute and release builds of LLVM, with a focus on configuration, testing, and unique constraints.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[CFP] Fedora /Red Hat LLVM Toolchain

tstellar opened this issue · comments

Title

Fedora / Red Hat LLVM Toolchain

Author

Tom Stellard, tstellar@redhat.com, Red Hat

Distribution

LLVM and various sub-projects packaged for Fedora Linux and Red Hat Enterprise Linux

Abstract (optional)

We provide LLVM packages for both Fedora Linux and Red Hat Enterprise Linux. Our goal it to provide up-to-date LLVM packages that integrate well with the rest of the distribution. We support both the toolchain and library for users within the distribution (i.e. other packages) and for end users as well.

In this presentation we will look at the process of building an LLVM package, from sources to all the way to RPMs in the dnf repos, and discuss some of the unique challenges we face packaging LLVM for a general purpose distribution.

What's unique about the environment you package LLVM for? (optional)

We have a number of distribution-wide rules for packaging, like shared library requirements, hardening flags, standard install paths, etc. that put constraints on how we can package LLVM.

What makes your distribution of LLVM unique? (optional)

We do 'stand-alone' builds of the LLVM sub-projects, which means that we build each sub-project separately rather than building them all together from the monorepo sources. We also require other packages (including other LLVM sub-projects) that ship in Fedora and Red Hat Enterprise Linux to use the LLVM dynamic libraries instead of the static ones.

What might others learn from your experience? (optional)

How to package LLVM for a Linux distribution.

What could be improved in upstream LLVM to make working with it easier as a downstream packager? (optional)

More stable and/or smaller APIs for the LLVM libraries.


Reminder that this is meant to be a 15 minute lightning talk; enough to pique
interests but follow up should be done after. Slides can always include links
to more info; we will ask that you send a PR to this repo with your slides when
they are ready.

Thanks for taking the time to write up a CFP; we'd be overjoyed to have you present at LLVM Distributors Conf 2021! If you still plan on presenting, this is a reminder to get started on your slides for next week. Once they're done, we will contact you about submitting a PDF of your slides as either a pull request to this repository or via email to the organizer. We hope to have a schedule finalized by EOW; we may iterate on the schedule based on whether presenters have conflicts. Please keep this issue open for attendees to ask questions, or close this issue if you no longer plan on attending. Reminder to keep your talk concise (15 minutes); we wont be doing time for questions in order to fit as much content as possible. Attendees should ask questions here in this github issue.