diff --git a/CHANGELOG.md b/CHANGELOG.md index 600bdb9549e368e78811ee65a06fb5d831c84b68..c98a45f9fcddbf204a63fd517cecdcfa4f99865f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,12 @@ # FSL base project changelog +## 2111.8 (Friday 26th November 2021) + +* Work around an issue with compiling against older versions of `libxml++`, + when using `-std=c++17`. +* The `FSLLOCKDIR`, `FSLMACHINELIST`, `FSLREMOTECALL` and `FSLPARALLEL` + variables are not defined by default. + ## 2111.7 (Friday 19th November 2021) diff --git a/config/buildSettings.mk b/config/buildSettings.mk index 450bc75fec3644af715d8dd18dbdd612737be482..2bff6c1f6cfbf894ddd43e1d67fa7a0f3cc0c6f8 100644 --- a/config/buildSettings.mk +++ b/config/buildSettings.mk @@ -114,6 +114,13 @@ ifeq ($(SYSTYPE), Darwin) LDFLAGS += -Wl,-rpath,"${FSLDIR}/lib" ARCHLIBS += -llapack -lblas -lz -lm + # Old versions of libxml++ (which is used by + # ciftilib) use std::auto_ptr, which has been + # removed from the llvm C++17 implementation. + # Adding this flag is a hack which allows us + # to continue to use std::auto_ptr. + ARCHCPPFLAGS += -D_LIBCPP_ENABLE_CXX17_REMOVED_AUTO_PTR + # On macOS, we need to change the install # name of shared libs so that they can be # looked up according to the rpath of diff --git a/etc/fslconf/fsl.sh b/etc/fslconf/fsl.sh index 4e58353533cfc5a3335adf6a50d103a565a9db1a..17f40ca4a6af8dfbf6998d343f680e0ffb04eacf 100644 --- a/etc/fslconf/fsl.sh +++ b/etc/fslconf/fsl.sh @@ -43,8 +43,8 @@ fi # NIFTI_PAIR_GZ # NIFTI2_PAIR_GZ # -# This would typically be overwritten in ${HOME}/.fslconf/fsl.sh if the user wished -# to write files with a different format +# This would typically be overwritten in ${HOME}/.fslconf/fsl.sh if the user +# wished to write files with a different format export FSLOUTPUTTYPE=NIFTI_GZ # Comment out the definition of FSLMULTIFILEQUIT to enable @@ -62,9 +62,10 @@ export FSLWISH=$FSLDIR/bin/fslwish # The following variables are used for running code in parallel across # several machines ( i.e. for FDT ) -export FSLLOCKDIR= -export FSLMACHINELIST= -export FSLREMOTECALL= +# export FSLLOCKDIR= +# export FSLMACHINELIST= +# export FSLREMOTECALL= +# export FSLPARALLEL= # The following variables are used to configure CUDA capable queues - if you # are using Grid Engine then this queue will be used to enqueue tasks that