https://codeberg.org/gnuastro/papers
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
Tip revision: 8161194d68665648b93389adb333e741ba230497 authored by Mohammad Akhlaghi on 22 May 2023, 22:44:20 UTC
Configuration: portability fixes in Less and WCSLIB
Configuration: portability fixes in Less and WCSLIB
Tip revision: 8161194
.gitignore
# Files to ignore in version control (Git) -*- conf-unix -*-
# ==========================================================
#
# The files satisfying the patterns here (one per line) are ignored by
# the version control using Git, they are all outputs of the various
# tools used to built Gnuastro, so we don't need to keep their
# history.
#
# To help readability, please add new files based on the length of the
# line you wish to add.
#
# 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.
*~
*\#
*.txt
*.aux
*.log
*.pdf
*.out
*.zip
*.swp
.nfs*
mmap_*
*.tar.gz
*.auxlock
.tex
build
.local
.build
Makefile
tex/tikz
.gnuastro
.DS_Store
.texlive*
LOCAL.conf
docker-run
tex/pipeline
LOCAL_tmp.mk
LOCAL_old.mk
gnuastro-local.conf
.compiler_test_dir_please_delete

Computing file changes ...