How to silence or suppress gfortran (or clang?) backend in conda? How to silence or suppress gfortran (or clang?) backend in conda? r r

How to silence or suppress gfortran (or clang?) backend in conda?


If you look at the below folders

/Users/jespinoz/anaconda/envs/python3/etc/conda

There is a activate.d and deactivate.d folder inside the same, which gets executed, during activate and deactivate

These files have below code section

if [ $? -ne 0 ]; then  echo "ERROR: $(_get_sourced_filename) failed, see above for details"else  if [ -f /tmp/new-env-$$.txt ]; then    rm -f /tmp/new-env-$$.txt || true  fi  env > /tmp/new-env-$$.txt  echo "INFO: $(_get_sourced_filename) made the following environmental changes:"  diff -U 0 -rN /tmp/old-env-$$.txt /tmp/new-env-$$.txt | tail -n +4 | grep "^-.*\|^+.*" | grep -v "CONDA_BACKUP_" | sortfirm -f /tmp/old-env-$$.txt /tmp/new-env-$$.txt || true

You need to comment these to disable the verbose output. This code basically saves current env to a file and then run the activation code, capture env again and print the diff