@@ -8,12 +8,14 @@ LSTSFLAGS = MALLOC_CHECK_=3
88# recommendation: ulimit -s unlimited
99
1010dev : install-production
11- # lm --showalloc SRC/unit-tctx-core.lsts > out.txt
12- # lm --showalloc SRC/unit-prop-core.lsts > out.txt
13- # lm --showalloc SRC/unit-ascript-core.lsts > out.txt
14- # lm --showalloc SRC/index.lsts > out.txt
15- lm tests/promises/typechecking/misc-linear-error-1.lsts > out.txt
16- gcc tmp.c;
11+ lm tests/promises/vector/constructor.lsts
12+ # time lm --showalloc SRC/unit-type-core.lsts > out.txt
13+ # time lm --showalloc SRC/unit-tctx-core.lsts > out.txt
14+ # time lm --showalloc SRC/unit-prop-core.lsts > out.txt
15+ # time lm --showalloc SRC/unit-ascript-core.lsts > out.txt
16+ # time lm --showalloc SRC/index.lsts > out.txt
17+ # time lm --showalloc SRC/dev-index.lsts > out.txt
18+ gcc tmp.c
1719 ./a.out
1820
1921build : compile-production
@@ -28,8 +30,15 @@ build: compile-production
2830deploy : build smoke-test
2931deploy-lite : build smoke-test-lite
3032
31- valgrind : install-bootstrap
32- valgrind --tool=callgrind lm --v2 SRC/index.lsts
33+ gprofng : install-production
34+ gprofng collect app lm SRC/dev-index.lsts
35+
36+ gprofng-view :
37+ gprofng display text -functions test.1.er > gprofng.view
38+ nano gprofng.view
39+
40+ valgrind : install-production
41+ valgrind --tool=callgrind lm SRC/dev-index.lsts
3342
3443valgrind-view :
3544 callgrind_annotate callgrind.out.18778
@@ -60,17 +69,21 @@ compile-production: compile-bootstrap
6069
6170install-production : compile-production
6271ifeq ($(shell test -w /usr/local/bin; echo $$? ) , 0)
72+ cp production /usr/local/bin/lm-production
6373 mv production /usr/local/bin/lm
6474else
6575 mkdir -p $${HOME}/.local/bin
76+ cp production $${HOME}/.local/bin/lm-production
6677 mv production $${HOME}/.local/bin/lm
6778endif
6879
6980install-bootstrap : compile-bootstrap
7081ifeq ($(shell test -w /usr/local/bin; echo $$? ) , 0)
82+ cp bootstrap.exe /usr/local/bin/lm-bootstrap
7183 mv bootstrap.exe /usr/local/bin/lm
7284else
7385 mkdir -p $${HOME}/.local/bin
86+ cp bootstrap.exe $${HOME}/.local/bin/lm-bootstrap
7487 mv bootstrap.exe $${HOME}/.local/bin/lm
7588endif
7689
0 commit comments