Update leak suppressions and init file

This commit is contained in:
Matthias Krack 2022-01-18 18:33:31 +01:00
parent 48a928ca82
commit 047e78895d
2 changed files with 8 additions and 0 deletions

View file

@ -923,6 +923,7 @@ done
if [ "${dry_run}" = "__TRUE__" ]; then
echo "Wrote only configuration files (--dry-run)."
else
echo "# Leak suppressions" > ${INSTALLDIR}/lsan.supp
./scripts/stage0/install_stage0.sh
./scripts/stage1/install_stage1.sh
./scripts/stage2/install_stage2.sh

View file

@ -165,6 +165,13 @@ EOF
cat "${BUILDDIR}/setup_mpich" >> ${SETUPFILE}
fi
# Update leak suppression file
cat << EOF >> ${INSTALLDIR}/lsan.supp
# MPICH 3.3.2 with GCC 10.3.0
leak:MPIR_Find_local_and_external
leak:MPIU_Find_local_and_external
EOF
load "${BUILDDIR}/setup_mpich"
write_toolchain_env "${INSTALLDIR}"