-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
/
Makefile
34 lines (28 loc) · 1.27 KB
/
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
32
33
34
JULIAHOME = $(abspath ../..)
include ../../Make.inc
all: micro kernel cat shootout blas lapack simd sort spell sparse
micro kernel cat shootout blas lapack simd sort spell sparse:
@$(MAKE) $(QUIET_MAKE) -C shootout
ifneq ($(OS),WINNT)
@$(call spawn,$(JULIA_EXECUTABLE)) $@/perf.jl | perl -nle '@_=split/,/; printf "%-18s %8.3f %8.3f %8.3f %8.3f\n", $$_[1], $$_[2], $$_[3], $$_[4], $$_[5]'
else
@$(call spawn,$(JULIA_EXECUTABLE)) $@/perf.jl 2> /dev/null
endif
codespeed:
@$(MAKE) $(QUIET_MAKE) -C shootout
@$(call spawn,$(JULIA_EXECUTABLE)) micro/perf.jl codespeed
@$(call spawn,$(JULIA_EXECUTABLE)) kernel/perf.jl codespeed
@$(call spawn,$(JULIA_EXECUTABLE)) shootout/perf.jl codespeed
# @$(call spawn,$(JULIA_EXECUTABLE)) cat/perf.jl codespeed
# @$(call spawn,$(JULIA_EXECUTABLE)) blas/perf.jl codespeed
# @$(call spawn,$(JULIA_EXECUTABLE)) lapack/perf.jl codespeed
# @$(call spawn,$(JULIA_EXECUTABLE)) simd/perf.jl codespeed
# @$(call spawn,$(JULIA_EXECUTABLE)) sort/perf.jl codespeed
@$(call spawn,$(JULIA_EXECUTABLE)) spell/perf.jl codespeed
@$(call spawn,$(JULIA_EXECUTABLE)) sparse/perf.jl codespeed
@$(call spawn,$(JULIA_EXECUTABLE)) report.jl
clean:
rm -f *~
$(MAKE) -C micro $@
$(MAKE) -C shootout $@
.PHONY: micro kernel cat shootout blas lapack simd sort spell sparse clean