Skip to content

Commit

Permalink
Update libgmp-external.toml - add Fedora detection
Browse files Browse the repository at this point in the history
As indicated in the open issue [#1320](alire-project/alire#1320) the detection of `gmp` does not work with `alr` with the Fedora Linux OS. This PR adds the suggested missing config line to detect the Fedora `gmp-devel` library. 

Tested by editing the local cache file `~/.config/alire/indexes/community/repo/index/li/libgmp/libgmp-external.toml` to add the line suggested in the open issue:

```
fedora = ["gmp-devel"]
````
The detection then works as expected, and the previously failing build of `libadalang` on Fedora 38 (x86_64) now works.
  • Loading branch information
wiremoons authored Sep 22, 2023
1 parent 1202a49 commit 6aaed8e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions index/li/libgmp/libgmp-external.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ arch = ["gmp"]
msys2 = ["mingw-w64-x86_64-gmp"]
homebrew = ["gmp"]
macports = ["gmp"]
fedora = ["gmp-devel"]

[[external]]
kind = "version-output"
Expand Down

0 comments on commit 6aaed8e

Please sign in to comment.