File: build_memcheck.sh

package info (click to toggle)
xmlsec1 1.3.7-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 19,916 kB
  • sloc: ansic: 100,493; xml: 19,156; sh: 8,079; makefile: 1,186; javascript: 438; perl: 199
file content (24 lines) | stat: -rwxr-xr-x 550 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/bin/sh
#
# Usage: build_release.sh <crypto> [<optional configure params>]
#

# config
script_dir=`dirname $0`
top_dir=`realpath "${script_dir}/.."`
crypto=$1
cur_pwd=`pwd`
today=`date +%F-%H-%M-%S`
shift 

if [ x"$crypto" = x ]; then
    echo "Usage: $0 <crypto> [<optional configure params>]"
    exit 1
fi

echo "============== Starting memcheck for ${crypto} with source root: '${top_dir}'"
rm -f /tmp/*.log
make distclean
${top_dir}/autogen.sh --enable-development --with-default-crypto=${crypto} "$@"
make -j12
make memcheck-crypto-${crypto}