From 6aaed8e6d18f89e0ea202c44af6b635b1899b98d Mon Sep 17 00:00:00 2001 From: Simon Rowe Date: Fri, 22 Sep 2023 21:58:15 +0100 Subject: [PATCH] Update libgmp-external.toml - add Fedora detection As indicated in the open issue [#1320](https://github.com/alire-project/alire/issues/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. --- index/li/libgmp/libgmp-external.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/index/li/libgmp/libgmp-external.toml b/index/li/libgmp/libgmp-external.toml index 5451d660a..17f5ebd32 100644 --- a/index/li/libgmp/libgmp-external.toml +++ b/index/li/libgmp/libgmp-external.toml @@ -12,6 +12,7 @@ arch = ["gmp"] msys2 = ["mingw-w64-x86_64-gmp"] homebrew = ["gmp"] macports = ["gmp"] +fedora = ["gmp-devel"] [[external]] kind = "version-output"