Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ycai
simbricks
Commits
e7c6e658
Commit
e7c6e658
authored
Jun 19, 2020
by
Antoine Kaufmann
Browse files
experiments: create ready file only when experiment was successful
parent
a71270c0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
5 deletions
+4
-5
experiments/Makefile
experiments/Makefile
+4
-5
No files found.
experiments/Makefile
View file @
e7c6e658
...
@@ -12,9 +12,9 @@ BUILDDIR := build
...
@@ -12,9 +12,9 @@ BUILDDIR := build
OUTDIR
:=
out
OUTDIR
:=
out
GUESTS_TARS
:=
$(
addprefix
$(BUILDDIR)
/,
$(
addsuffix
.tar,
$(GUESTS)
))
GUESTS_TARS
:=
$(
addprefix
$(BUILDDIR)
/,
$(
addsuffix
.tar,
$(GUESTS)
))
EXPERIMENTS_
OUTPUTS
:=
$(
addprefix
$(OUTDIR)
/,
$(EXPERIMENTS)
)
EXPERIMENTS_
READY
:=
$(
addprefix
$(OUTDIR)
/,
$(
addsuffix
/ready,
$(
EXPERIMENTS)
)
)
all
:
$(GUESTS_TARS) $(EXPERIMENTS_
OUTPUTS
)
all
:
$(GUESTS_TARS) $(EXPERIMENTS_
READY
)
clean
:
clean
:
rm
-rf
$(BUILDDIR)
$(OUTDIR)
rm
-rf
$(BUILDDIR)
$(OUTDIR)
...
@@ -22,10 +22,9 @@ clean:
...
@@ -22,10 +22,9 @@ clean:
#######################################
#######################################
# Running experiments
# Running experiments
run
:
$(EXPERIMENTS)
$(OUTDIR)/%/ready
:
experiments/%.sh $(GUESTS_TARS)
$(OUTDIR)/%
:
experiments/%.sh $(GUESTS_TARS)
bash
$<
bash
$<
touch
$@
#######################################
#######################################
# Guest Tars
# Guest Tars
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment