From 0de0cc2fcef826422cf8ce8be4544e24d185b227 Mon Sep 17 00:00:00 2001 From: Matthias Krack Date: Wed, 27 Mar 2024 18:41:06 +0100 Subject: [PATCH] Change build type for spglib from Release to RelWithDebInfo --- tools/toolchain/scripts/stage7/install_spglib.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/toolchain/scripts/stage7/install_spglib.sh b/tools/toolchain/scripts/stage7/install_spglib.sh index 3a91a7d1ec..37dc5203fd 100755 --- a/tools/toolchain/scripts/stage7/install_spglib.sh +++ b/tools/toolchain/scripts/stage7/install_spglib.sh @@ -42,14 +42,14 @@ case "$with_spglib" in cd build cmake \ -DCMAKE_INSTALL_PREFIX="${pkg_install_dir}" \ - -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_BUILD_TYPE="RelWithDebInfo" \ -DCMAKE_VERBOSE_MAKEFILE=ON \ -DSPGLIB_SHARED_LIBS=OFF \ -DSPGLIB_USE_OMP=ON \ -DSPGLIB_WITH_TESTS=OFF \ .. > configure.log 2>&1 || tail -n ${LOG_LINES} configure.log make -j $(get_nprocs) > make.log 2>&1 || tail -n ${LOG_LINES} make.log - make install >> install.log 2>&1 || tail -n ${LOG_LINES} install.log + make install > install.log 2>&1 || tail -n ${LOG_LINES} install.log write_checksums "${install_lock_file}" "${SCRIPT_DIR}/stage7/$(basename ${SCRIPT_NAME})" fi