about summary refs log tree commit diff stats
path: root/html/trace.png
Commit message (Expand)AuthorAgeFilesLines
* 5485 - promote SubX to top-levelKartik Agaram2019-07-271-0/+0
17 17:14:45 -0800 775 - starting to reorg C++ mu to use layers' href='/akkartik/mu/commit/cpp/literate/build_and_test_until?h=hlt&id=515309164793b2e03c15954bf8a89f0f288a7f2c'>51530916 ^
f8badcdc ^

4d1f4a66 ^

f8badcdc ^
5939c226 ^







7bf9212f ^
5939c226 ^



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
# Load all files sorting before the given argument.
# You can pass in a prefix, but files matching the prefix *won't* be included.

set -e
set -v
make --no-print-directory tangle/tangle
make --no-print-directory enumerate/enumerate
./tangle/tangle $(./enumerate/enumerate --until $1 |grep -v '.mu$') |grep -v "^\s*//:" > mu.cc
cat /dev/null $(./enumerate/enumerate --until $1 |grep '.mu$') > core.mu
make --no-print-directory autogenerated_lists
set +v
if [ `uname` == "Darwin" ]
then
  # Darwin is shit and otherwise thinks mu_bin is newer than the files it just
  # generated when called from test_all_layers.
  # All sorts of strange bugs ensue.
  sleep 1
  set -v  # Darwin's clang and valgrind is shit.
  CFLAGS=${CFLAGS:-"-g -O3"} make test
else
  set -v
  CXX=${CXX:-clang++} CFLAGS=${CFLAGS:-"-O3 -fsanitize=undefined -Wno-tautological-constant-out-of-range-compare"} make ${2:-valgrind}
fi