Revision 8161194d68665648b93389adb333e741ba230497 authored by Mohammad Akhlaghi on 22 May 2023, 22:44:20 UTC, committed by Mohammad Akhlaghi on 23 May 2023, 06:42:11 UTC
SUMMARY: no change is necessary in your project, unless you use the Fortran features of WCSLIB in your project. Until now, there were two compilation failures on recent macOS computers with an M1 CPU: Less would crash because it couldn't find the relevant PCRE (perl-compatible regular expression) libraries and WCSLIB would crash because the LLVM compiler's Fortran features could not be built. With this commit, both issues have been fixed by disabling the relevant feature. Extensive comments have been placed in both places in case your project needs these features, so please see the comments in the relevant part of 'reproduce/software/make/basic.mk' for Less and 'reproduce/software/make/high-level.mk' for WCSLIB. In fact the previous solution (where we would not have Fortran features in WCSLIB on macOS systems was problematic and non-reproducibile (the features of WCSLIB depended on the operating system!). Another minor change was that for macOS, we now directly use the version-string of WCSLIB to fix the internal linking issue there. As a result, WCSLIB is no longer a "Version-dependent build" software (in 'reproduce/software/config/versions.conf'). Recall that these are software that when changing the version, it is also necessary to inspect their build recipe. These two issues and their fix were discovered and fixed with the help of James Robinson.
1 parent 644a236
preamble-project.tex
%% Necessary macros for this project.
%%
%% These are a set of packages that have been commonly necessary in most
%% LaTeX usages. However, if any are not needed in your work, please feel
%% free to remove them.
%
%% Copyright (C) 2018-2023 Mohammad Akhlaghi <mohammad@akhlaghi.org>
%% Copyright (C) YYYY Your Name <your@email.address>
%
%% This file is free software: you can redistribute it and/or modify it
%% under the terms of the GNU General Public License as published by the
%% Free Software Foundation, either version 3 of the License, or (at your
%% option) any later version.
%
%% This file is distributed in the hope that it will be useful, but WITHOUT
%% ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
%% FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
%% for more details.
%
%% You should have received a copy of the GNU General Public License along
%% with this file. If not, see <http://www.gnu.org/licenses/>.
%% Packages you may need in your project
%% -------------------------------------
%
%% Here you can add/remove any custom LaTeX package that you need for this
%% project that aren't provided by the journal's style.
%% For loading images into the output (with '\includegraphics').
\usepackage{graphicx}
%% Ordering correction between 'figure' and 'figure*' ('figure*' is
%% commonly used in two-column documents, where the figure should span both
%% columns).
\usepackage{fixltx2e}
%% Color management.
\usepackage{xcolor}
\color{black} % Color of main text.
\definecolor{DarkBlue}{RGB}{0,0,90}
%% Caption management: The 'setspace' package defines the 'stretch'
%% variable. 'abovecaptionskip' is the distance between the figure and the
%% caption. You can use 'captionof{figure}{...}' to use these custom
%% 'figure' caption that is defined here.
\usepackage{setspace, caption}
\captionsetup{font=footnotesize, labelfont={color=DarkBlue,bf}, skip=1pt}
\captionsetup[figure]{font={stretch=1, small}}
\setlength{\abovecaptionskip}{3pt plus 1pt minus 1pt}
\setlength{\belowcaptionskip}{-1.25em}
%% Manage links in the produced paper (for example their colors), and
%% include document information in the "Properties" of the PDF.
\usepackage[
colorlinks,
urlcolor=blue,
citecolor=blue,
linkcolor=blue,
linktocpage]{hyperref}
\renewcommand\UrlFont{\rmfamily}
\hypersetup{
pdftitle={\projecttitle},
pdfauthor={\projectcopyrightowner},
pdfsubject={\projectgitrepo{} (commit \projectversion)},
pdfkeywords={Reproducible research, Maneage, ADD YOUR OWN}
}
%% BibLaTeX or PGFPlots templates
%% ------------------------------
%
%% These are ready-made customizations of these two commonly used packages
%% that you can use as a template for your own project: BibLaTeX (advanced
%% bibliography management) or PGFPlots (for drawing plots within LaTeX
%% directly from tables of data). If you don't use them, you can just
%% delete these two lines and also delete their files from your branch (to
%% keep the 'tex/src' directory on your branch clean).
\input{tex/src/preamble-biblatex.tex}
\input{tex/src/preamble-pgfplots.tex}
%% Style of default paper (DELETE IF USING JOURNAL STYLES)
%% -------------------------------------------------------
%
%% This is primarily defined for the default Maneage paper style. So when
%% you later import your journal's style, delete this line (and these
%% comments). Also delete the file (to keep your project source branch
%% clean from files you don't need/use).
\input{tex/src/preamble-maneage-default-style.tex}

Computing file changes ...