Skip to content

Latest commit

 

History

History
14 lines (11 loc) · 695 Bytes

project-instructions.md

File metadata and controls

14 lines (11 loc) · 695 Bytes

For instructions on how to use this repository, consult the official docs.

We need a bit of post-configuration after enabling the copr repository for this project:

$ dnf -y install jq envsubst
$ dnf -y install --skip-broken 'dnf-command(copr)' 'dnf5-command(copr)'
$ dnf -y copr enable @fedora-llvm-team/llvm-snapshots
$ repo_file=$(dnf repoinfo --json *llvm-snapshots* | jq -r ".[0].repo_file_path")
$ distname=$(rpm --eval "%{?fedora:fedora}%{?rhel:rhel}") envsubst '$distname' < $repo_file > /tmp/new_repo_file
$ cat /tmp/new_repo_file > $repo_file

Then install clang or some of the other packages.