Final touch: style and tabulations.
This commit is contained in:
6
Makefile
6
Makefile
@@ -34,11 +34,11 @@ LDFLAGS= -fuse-ld=lld
|
||||
CCS= clang gcc
|
||||
OPTIMIZATIONS= 0 1 2 3 fast s
|
||||
RETPOLINE= mretpoline
|
||||
UUID:= $(shell uuid)
|
||||
UUID:= $(shell uuid || uuidgen)
|
||||
RESULTS_FILE:= results-$(UUID).json
|
||||
SSH_KEY= octoupload
|
||||
TIMES= 3
|
||||
FLAGS= -j
|
||||
OCTOFLAGS= -j
|
||||
|
||||
### Octopus internals
|
||||
CPU:= $(shell LC_ALL=en_US.UTF-8 lscpu | grep "Model name" | cut -d":" -f 2 | sort | uniq | awk '{$$1=$$1;print}')
|
||||
@@ -148,7 +148,7 @@ $(RESULTS_FILE): build
|
||||
for p in $(PROGS); do \
|
||||
for t in $$(seq $(TIMES)); do \
|
||||
sleep 0.1; \
|
||||
(taskset 01 ./$$p $(FLAGS) || printf "{ \"$$p\": false }")>> $@; \
|
||||
(taskset 01 ./$$p $(OCTOFLAGS) || printf "{ \"$$p\": false }")>> $@; \
|
||||
if ! [ "$$p" = "$(lastword $(PROGS))" ]; \
|
||||
then echo ',' >> $@; \
|
||||
else if ! [ $$t -eq $(TIMES) ]; \
|
||||
|
||||
Reference in New Issue
Block a user