Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
verimag
reproducible-research
sasartifact
Commits
3e615829
Commit
3e615829
authored
Apr 18, 2021
by
erwan
Browse files
ci fix for sasa 4.0.3 again
parent
44749bcc
Pipeline
#64964
failed with stages
in 6 minutes and 25 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
expe/Makefile.inc
View file @
3e615829
# Time-stamp: <modified the 18/04/2021 (at 1
2:04
) by Erwan Jahier>
# Time-stamp: <modified the 18/04/2021 (at 1
3:28
) by Erwan Jahier>
#
# This Makefile is meant to be includes by directories below
.PRECIOUS
:
.ml .rif .cmxs .dot
%.ml
:
%.dot
%.ml
:
%.dot
rm
-f
config.ml
sasa
-reg
$<
touch
config.ml
# so that it compiles under sasa 4.0.3
%.cmxs
:
%.ml
rm
-f
config.ml
;
touch
config.ml
# so that it compiles under sasa 4.0.3
ocamlfind ocamlopt
-package
algo
-shared
state.ml
$(
shell
sasa
-algo
$*
.dot
)
config.ml
$<
-o
$@
...
...
expe/dijkstra-ring/config.ml
deleted
100644 → 0
View file @
44749bcc
open
State
let
potential
=
None
let
fault
=
None
let
(
legitimate
:
t
Algo
.
legitimate_fun
)
=
fun
pidl
get
->
(* only one node is enabled *)
let
incr_token
i
pid
=
let
s
,
nl
=
get
pid
in
let
nl
=
List
.
map
fst
nl
in
let
have_token
=
(
if
s
.
root
then
Root
.
enable_f
s
nl
else
P
.
enable_f
s
nl
)
<>
[]
in
let
ni
=
if
have_token
then
i
+
1
else
i
in
ni
in
let
token_nb
=
List
.
fold_left
incr_token
0
pidl
in
token_nb
=
1
let
legitimate
=
Some
legitimate
(* let legitimate = None *)
Write
Preview
Supports
Markdown
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