Skip to content

Commit

Permalink
fix for project instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
kwk committed Aug 27, 2024
1 parent b21d85c commit d2a05bc
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion project-instructions.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,14 @@
For instructions on how to use this repository, consult the [official docs](https://docs.pagure.org/copr.copr/how_to_enable_repo.html#how-to-enable-repo).

It should be enough to enable the copr repository for this project using the following command:
We need a bit of post-configuration after enabling the copr repository for this project:

```
$ dnf install -y jq envsubst
$ dnf install 'dnf-command(copr)'
$ dnf copr enable -y @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.

0 comments on commit d2a05bc

Please sign in to comment.