From 906ae818dacf8e581370eb253e4c2353c8f54d26 Mon Sep 17 00:00:00 2001 From: Axel Kohlmeyer Date: Wed, 18 Sep 2024 15:43:56 -0400 Subject: [PATCH] add package removal warnings and GNU make deprecation warnings --- cmake/CMakeLists.txt | 9 +++++++++ src/ATC/Install.sh | 13 +++++++++++++ src/AWPMD/Install.sh | 13 +++++++++++++ src/COLVARS/Install.sh | 13 +++++++++++++ src/GPU/Install.sh | 13 +++++++++++++ src/LEPTON/Install.sh | 13 +++++++++++++ src/PLUMED/Install.sh | 13 +++++++++++++ src/POEMS/Install.sh | 13 +++++++++++++ 8 files changed, 100 insertions(+) diff --git a/cmake/CMakeLists.txt b/cmake/CMakeLists.txt index b10823aba4..9ec3996c64 100644 --- a/cmake/CMakeLists.txt +++ b/cmake/CMakeLists.txt @@ -358,6 +358,15 @@ foreach(PKG ${STANDARD_PACKAGES} ${SUFFIX_PACKAGES}) option(PKG_${PKG} "Build ${PKG} Package" OFF) endforeach() +set(DEPRECATED_PACKAGES AWPMD ATC POEMS) +foreach(PKG ${DEPRECATED_PACKAGES}) + message(WARNING + "The ${PKG} package will be removed from LAMMPS in Summer 2025 due to lack of " + "maintenance and use of code constructs that conflict with modern C++ compilers " + "and standards. Please contact developers@lammps.org if you have any concerns " + "about this step.") +endforeach() + ###################################################### # packages with special compiler needs or external libs ###################################################### diff --git a/src/ATC/Install.sh b/src/ATC/Install.sh index 2194685f92..04f4f7c8ac 100755 --- a/src/ATC/Install.sh +++ b/src/ATC/Install.sh @@ -9,6 +9,19 @@ mode=$1 LC_ALL=C export LC_ALL +cat <