diff --git a/src/libscotch/library.h b/src/libscotch/library.h index 1891c19..ecc0533 100644 --- a/src/libscotch/library.h +++ b/src/libscotch/library.h @@ -67,6 +67,8 @@ /*+ Integer type. +*/ +#include + typedef DUMMYIDX SCOTCH_Idx; typedef DUMMYINT SCOTCH_Num; diff --git a/src/libscotchmetis/library_metis.h b/src/libscotchmetis/library_metis.h index e6767e1..04e71c3 100644 --- a/src/libscotchmetis/library_metis.h +++ b/src/libscotchmetis/library_metis.h @@ -99,6 +99,7 @@ typedef enum { */ #ifndef SCOTCH_H /* In case "scotch.h" not included before */ +#include typedef DUMMYINT SCOTCH_Num; #endif /* SCOTCH_H */ diff --git a/src/libscotchmetis/library_parmetis.h b/src/libscotchmetis/library_parmetis.h index 6d2f0b0..3c803fc 100644 --- a/src/libscotchmetis/library_parmetis.h +++ b/src/libscotchmetis/library_parmetis.h @@ -106,6 +106,7 @@ typedef enum { */ #ifndef SCOTCH_H /* In case "scotch.h" not included before */ +#include typedef DUMMYINT SCOTCH_Num; #endif /* SCOTCH_H */ a1030d215197148aa0b86b75edccb70884c3769f'>refslogtreecommitdiff
AgeCommit message (Expand)Author
2021-03-17daemon: Correctly handle '--discover' with no value....Previously, we'd get: $ guix-daemon --discover error: basic_string::_M_construct null not valid * nix/nix-daemon/guix-daemon.cc (parse_opt): Change second argument to 'settings.set' to properly handle case where ARG is NULL. Ludovic Courtès
2020-11-29Use substitute servers on the local network....* guix/scripts/discover.scm: New file. * Makefile.am (MODULES): Add it. * nix/nix-daemon/guix-daemon.cc (options): Add "discover" option, (parse-opt): parse it, (main): start "guix discover" process when the option is set. * guix/scripts/substitute.scm (%local-substitute-urls): New variable, (substitute-urls): add it. * gnu/services/base.scm (<guix-configuration>): Add "discover?" field, (guix-shepherd-service): honor it. * doc/guix.texi (Invoking guix-daemon): Document "discover" option, (Base Services): ditto. Mathieu Othacehe