Revision c3e82b1c7b6c358719f3d1dd5cf4871cde3446a7 authored by Raul Infante-Sainz on 19 March 2021, 17:52:08 UTC, committed by Mohammad Akhlaghi on 20 March 2021, 00:53:37 UTC
Until now, each time there was a problem in the configuration of Maneage'd projects and debugging was necessary, we had to take the following changes: - Run the configuration on a single thread ('-j1') to see the building of only the problematic software. - Disable the Zenodo check manually by commenting those parts of 'reproduce/software/shell/configure.sh'. Because the internet connection wastes a few seconds and is thus very annoying during repeated runs! - Manually remove the '-k' option that was passed to Make (when building the software). With the '-k', Make keeps going with the execution of other targets if something crashes and this usually causes confusions during the debugging. Doing the manual changes within the code was both very annoying and prone to errors (forgetting to correct it!). With this commit, the existing '--debug' option has been generalized to the software configuration phase of Maneage also. Until now, it was only available in the analysis phase (and would directly be passed to the 'make' command that would run the analysis). When this option is used, and the project is in the software configuration phase, the Zenodo check won't be done, it will use one single thread ('-j1'), and it will stop the execution as soon as an error occurs (Make is not run with '-k').
1 parent 1524213
.dir-locals.el
;; This files contains Emacs Directory Local Variables.
;;
;; Emacs is an extensible, customizable, free/libre text editor. It
;; allows specification of certain settings that will be applied to
;; all files in current directory and its subdirectories. This is
;; useful in order to automatically enforce certain coding conventions
;; for all contributors of Gnuastro, like the maximum length of lines
;; or the number of spaces to be used for indentation.
;;
;; For more information see (info "(emacs) Directory Variables")
;;
;; Copyright (C) 2017-2020 Mosè Giordano <mose@gnu.org>
;; Copyright (C) 2018-2020 Mohammad Akhlaghi <mohammad@akhlaghi.org>
;;
;; Copying and distribution of this file, with or without modification,
;; are permitted in any medium without royalty provided the copyright
;; notice and this notice are preserved. This file is offered as-is,
;; without any warranty.
(
;; C files.
(c-mode
(c-basic-offset . 2) ;; 2 spaces of indentation
(c-file-style . "gnu")) ;; GNU style for braces
;; Makefiles.
(makefile-mode
(indent-tabs-mode . t)) ;; Real TABs are important in makefiles
;; All other files (this has to be in the end).
(nil
(indent-tabs-mode . nil) ;; No tabs as indentation
(fill-column . 75)) ;; 75-character wide lines
)
Computing file changes ...