forked from JuliaLang/julia
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
32 lines (24 loc) · 739 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
JULIAHOME = ..
include ../Make.inc
default all extra unicode::
@$(MAKE) -sC unicode
TESTS = default all extra \
core numbers strings unicode corelib hashing \
arrayops linalg fft sparse arpack bitarray \
random special functional bigint dists combinatorics statistics \
glpk linprog sparse bigfloat poly file Rmath remote zlib sound image \
iterators
$(TESTS) ::
$(QUIET_JULIA) $(JULIA_EXECUTABLE) ./runtests.jl $@
perf:
ifneq ($(MAKECMDGOALS),perf)
$(QUIET_JULIA) $(JULIA_EXECUTABLE) perf/[email protected]
else
@$(JULIA_EXECUTABLE) perf/[email protected] | perl -nle '@_=split/,/; printf "%-14s %7.3f\n", $$_[1], $$_[2]'
endif
benchmark:
@$(MAKE) -C perf $@
clean:
@$(MAKE) -C unicode $@
@$(MAKE) -C perf $@
.PHONY: $(TESTS) perf benchmark clean