1 2 3 4 5 6 7 8 9 10 11 12 13 14
#!/bin/bash INTEL_MKL=${1:-""} # 0 or 1 to use intel_mkl FEAT="" if [ "${INTEL_MKL}" = "1" ]; then FEAT="--features intel_mkl" fi cargo build $FEAT VALGRIND="cargo valgrind run $FEAT" $VALGRIND --bin amplifier1t