USE_ASAN conflicts with MALLOC_PERTURB_ [ci skip]

This commit is contained in:
edoapra 2022-10-28 13:24:56 -07:00
parent 583ddb0035
commit bc68522c25
No known key found for this signature in database
GPG key ID: 48E12DA1EDE9E1B0

View file

@ -32,7 +32,9 @@
export HYDRA_DEBUG=0
# find memory leaks using this glibc feature that
# initialized memory blocks to non-zero values
export MALLOC_PERTURB_=$(($RANDOM % 255 + 1))
if [[ -z "${USE_ASAN}" ]]; then
export MALLOC_PERTURB_=$(($RANDOM % 255 + 1))
fi
if [[ -z "${NWCHEM_TARGET}" ]]; then
UNAME_S=$(uname -s)