Hi Dominique,

Thanks! I was able to install these.
> I see the system's llvm (12) got installed as the copr's llvm12 instead,
> and llvm became the snapshot -- would it make sense to keep llvm as the
> system's llvm (12), and install the lvm snapshot as llvm14 instead?
>

I understand why you would want that. But let me explain why we decided to
do it differently. I encourage you to check the contents of clang12 for
example. You will not find a binary executable file like "clang" inside
there. That is because it is a "compatibility package" and it only serves
the purpose to keep software running that dynamically links against a *.so
file from the version that ships with Fedora in that version you're
running. Once you decide to install a new version of clang, or llvm for
that matter, the assumption is that you want to use that without any hassle
by typing "clang" and not "clangXX", where XX is the version. This way your
migration effort to get to a new version in your compile pipeline stays
close to zero while existing software still continues to run.


> That would let people keep using the system's trusted llvm by default,
> and only use the snapshot when they explicitely require it.
>

I get that. In theory every Fedora version provides its own compat package
for llvm and clang. But sometimes they are too outdated for snapshots or
simply don't exist yet. That's why I began including them in my repo for
snapshots. you should see clang10-* packages for example coming from
fedora's official repos and there's not a single binary inside them.

dnf -q repoquery -l clang10-* | grep /bin

Replace the 10 with anything available on your system.

If you by "trusted" mean that it comes from Fedora directly, then yes, you
should be able to just install what's available in Fedora. But please note
that any llvm*.so file from the Fedora compat package is also something
that was built separately from the original llvm package. It's done
internally with a build condition.

Regards
Konrad


>
> Cheers,
> --
> Dominique Martinet
> _______________________________________________
> devel mailing list -- devel@lists.fedoraproject.org
> To unsubscribe send an email to devel-le...@lists.fedoraproject.org
> Fedora Code of Conduct:
> https://docs.fedoraproject.org/en-US/project/code-of-conduct/
> List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
> List Archives:
> https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
> Do not reply to spam on the list, report it:
> https://pagure.io/fedora-infrastructure
>
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure

Reply via email to