From fada18edd8905f3321fd1719b1c0a46c66d214af Mon Sep 17 00:00:00 2001 From: Nicolas Graves Date: Wed, 27 Mar 2024 06:29:25 +0100 Subject: [PATCH] scilab: Better debugging in compilerDetection.sh. --- .../dynamic_link/src/scripts/compilerDetection.sh | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/scilab/modules/dynamic_link/src/scripts/compilerDetection.sh b/scilab/modules/dynamic_link/src/scripts/compilerDetection.sh index 0a22a695555..ead86eb58ac 100755 --- a/scilab/modules/dynamic_link/src/scripts/compilerDetection.sh +++ b/scilab/modules/dynamic_link/src/scripts/compilerDetection.sh @@ -18,10 +18,16 @@ if test -x "$(which gcc 2>/dev/null)"; then fi # Relaunch configure if files are missing -if test ! -s Makefile.orig -o ! -s libtool; then +if test ! -s Makefile.orig -o ! -s libtool; then echo "Detection of C/C++/Fortran Compilers" ./configure --disable-static --disable-dependency-tracking "$@" - mv Makefile Makefile.orig -else + configure_exit_status=$? + if [ $configure_exit_status -ne 0 ]; then + cat config.log + exit $configure_exit_status + else + mv Makefile Makefile.orig + fi +else echo "Detection of compilers already done" fi -- 2.41.0 /guix/commit/gnu/packages.scm?id=237d90a7808cfdced34b34595eba16632cbcb89e'>commitdiff
path: root/gnu/packages.scm
AgeCommit message (Expand)Author
2022-04-04packages: Add 'package-unique-version-prefix'....* gnu/packages.scm (package-unique-version-prefix): New procedure. * guix/scripts/package.scm (manifest-entry-version-prefix): Use it. * tests/packages.scm ("package-unique-version-prefix, gcc@8") ("package-unique-version-prefix, grep"): New tests. Ludovic Courtès
2022-01-11shell: Cache profiles even when using package specs....This enables profile caching not just when '-m' or '-f' is used, but also when package specs are passed on the command line, as in: guix shell -D guix git It also changes profile cache keys to include the system type, which was previously ignored. * guix/scripts/shell.scm (options-with-caching)[single-file-for-caching]: Remove. Call 'profile-cached-gc-root' instead; adjust to accept two values. (profile-cache-primary-key): New procedure. (profile-cache-key): Remove. (profile-file-cache-key, profile-spec-cache-key): New procedures. (profile-cached-gc-root): Rewrite to include functionality formally in 'single-file-for-caching', but extend to handle package specs. * gnu/packages.scm (cache-is-authoritative?): Export. * guix/transformations.scm (transformation-option-key?): New procedure. * doc/guix.texi (Invoking guix shell): Move '--rebuild-cache' documentation to the bottom, just above '--root'. Explain caching and how these two options relate to that. Ludovic Courtès
2020-07-30packages: 'generate-package-cache' is deterministic....Fixes <https://bugs.gnu.org/42009>. Reported by Marinus <marinus.savoritias@disroot.org>. * gnu/packages.scm (generate-package-cache)[entry-key, entry<?] [variables]: New variables. [expand-cache]: Change to take two arguments. [exp]: Fold over VARIABLES. Ludovic Courtès