2 # Script to build openssl and run regression tests.
4 # opensslbuild [-c] [-x] [config_args...]
24 test "$CC" = "" && export CC="ccache clang-3.6"
26 # Set basic config arguments
27 CONFIGARGS="-d --strict-warnings --prefix=/usr/local/openssl"
30 CONFIGARGS="$CONFIGARGS -Qunused-arguments"
34 # Set the features we want to enable
35 ENABLES="enable-rc5 enable-md2 enable-ec_nistp_64_gcc_128 enable-tls1_3"
36 ENABLES="$ENABLES enable-crypto-mdebug enable-crypto-mdebug-backtrace"
38 make -s clean >/dev/null 2>&1
39 ./config $CONFIGARGS $ENABLES $* 2>&1
45 grep -q doc-nits Makefile && make doc-nits
47 test $configonly = yes && exit $s
51 make -s -j20 build_tests >/dev/null
53 test $execonly = yes && exit $s