-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
5 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. |