Lines Matching +full:- +full:wextra
6 set -o nounset
7 set -o pipefail
8 set -o errexit
11 # NOTE: -O3 does a lot for fast_em. (More than 5x speedup over unoptimized)
13 cpp-compiler() {
14 g++ -Wall -Wextra -O3 "$@"
15 #clang++ -Wall -Wextra -O3 "$@"
18 build-find-cliques() {
19 mkdir -p _tmp
21 cpp-compiler -std=c++0x -o _tmp/find_cliques find_cliques.cc
24 find-cliques() {
28 test-bad-edge() {
30 find-cliques <<EOF
37 test-bad-size() {
39 find-cliques <<EOF
47 local graph=${1:-testdata/graph1.txt}
48 build-find-cliques
50 time cat $graph | find-cliques
53 get-lint() {
54 mkdir -p _tmp
55 wget --directory _tmp \
56 http://google-styleguide.googlecode.com/svn/trunk/cpplint/cpplint.py
64 build-fast-em() {
65 mkdir -p _tmp
68 cpp-compiler -o $out fast_em.cc
69 ls -l $out
72 fast-em() {
73 build-fast-em