-
Notifications
You must be signed in to change notification settings - Fork 0
/
configure
executable file
·141 lines (131 loc) · 5.51 KB
/
configure
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
#!/usr/bin/env bash
files=(
examples/OrderedSet/Intersection.dfy
examples/OrderedSet/IntersectionNoModel.dfy
examples/OrderedSet/RemoveHalves.dfy
examples/OrderedSet/RemoveHalvesNoModel.dfy
examples/TreeMap/ExecuteTreeMap.dfy
examples/UnorderedSet/Contained.dfy
examples/UnorderedSet/ContainedNoModel.dfy
examples/Linear/AccidentesAereos/accidentes-aereos-main.dfy
examples/Linear/AccidentesAereos/accidentes-aereos.dfy
examples/Linear/CheckListProperties/AllRelated.dfy
examples/Linear/CheckListProperties/ForAllProperty.dfy
examples/Linear/DupElements/DupElements.dfy
examples/Linear/DupElements/DupElementsMap.dfy
examples/Linear/DupElements/DupUtils.dfy
examples/Linear/ElimDup/ElimDup.dfy
examples/Linear/ElimDup/ElimDupNoIts.dfy
#examples/Linear/ElimDup/ElimDupMap.dfy
examples/Linear/FillArray/FillArray.dfy
examples/Linear/FillArray/FillArrayMap.dfy
examples/Linear/FilterEven.dfy
examples/Linear/FindMax/FindMax.dfy
examples/Linear/FindMax/FindMaxMap.dfy
examples/Linear/Leino/LeinoList.dfy
examples/Linear/Leino/LeinoStack.dfy
examples/Linear/Leino/SinglyLinkedListWithRecursion.dfy
examples/Linear/ListOfObjects.dfy
examples/Linear/ListaPersonas.dfy
#examples/Linear/Merge.dfy
examples/Linear/Misc.dfy
examples/Linear/Quicksort.dfy
examples/Linear/ReordenandoCola/reordenando-la-cola-main.dfy
examples/Linear/ReordenandoCola/reordenando-la-cola.dfy
examples/Linear/TestArrayList.dfy
examples/Linear/FibPrefix.dfy
src/ADT.dfy
src/ArrayList/ArrayListSpec.dfy
src/ArrayList/ArrayListImpl.dfy
src/Collections/Array.dfy
src/Collections/Map.dfy
src/Collections/Option.dfy
src/Collections/Set.dfy
src/Collections/SetInt.dfy
src/Collections/SetObject.dfy
src/Collections/Utils.dfy
src/Collections/Int.dfy
src/Collections/KeyValue.dfy
src/Collections/OrderedMultisetUtils.dfy
src/Collections/Seq.dfy
#src/DataStructures/CircularDoublyLinkedList.dfy
#src/DataStructures/DoublyLinkedList.dfy # works in VS Code
src/DataStructures/DoublyLinkedListWithLast.dfy
src/DataStructures/SinglyLinkedList.dfy
src/DataStructures/SinglyLinkedListWithLast.dfy
src/Deque/ArrayDequeImpl.dfy
src/Deque/DequeSpec.dfy
src/Deque/DoublyLinkedDequeImpl.dfy
src/LinkedList/LinkedListImpl.dfy
src/LinkedList/LinkedListSpec.dfy
src/List/ListSpec.dfy
src/Order.dfy
src/OrderCloseEnded.dfy
src/Queue/ArrayQueueImpl.dfy
src/Queue/QueueSpec.dfy
src/Queue/SinglyLinkedQueueImpl.dfy
src/Queue/QueueImpl2Stack.dfy
src/Stack/ArrayStackImpl.dfy
src/Stack/StackSpec.dfy
src/Stack/SinglyLinkedStackImpl.dfy
src/TreeMap/TreeMapImpl.dfy
src/TreeMap/TreeMapSpec.dfy
src/OrderedMap/OrderedMapSpec.dfy
src/OrderedMultiset/OrderedMultisetForward.dfy
src/OrderedMultiset/OrderedMultisetSpec.dfy
src/OrderedSet/OrderedSetSpec.dfy
src/TreeSet/TreeSetImpl.dfy
src/TreeSet/TreeSetSpec.dfy
src/UnorderedMap/UnorderedMapSpec.dfy
src/UnorderedMultiset/UnorderedMultisetSpec.dfy
src/UnorderedSet/UnorderedSetSpec.dfy
src/DataStructures/ThreadedLinkedTree.dfy
src/DataStructures/ThreadedLinkedTree/Model/Base.dfy
src/DataStructures/ThreadedLinkedTree/Model/Find.dfy
src/DataStructures/ThreadedLinkedTree/Model/FlipColors.dfy
src/DataStructures/ThreadedLinkedTree/Model/Iterator.dfy
src/DataStructures/ThreadedLinkedTree/Model/MoveRed.dfy
src/DataStructures/ThreadedLinkedTree/Model/Remove.dfy
src/DataStructures/ThreadedLinkedTree/Model/RemoveElemAt.dfy
src/DataStructures/ThreadedLinkedTree/Model/RemoveMinMaintainingPrev.dfy
src/DataStructures/ThreadedLinkedTree/Model/RemoveRoot.dfy
src/DataStructures/ThreadedLinkedTree/Model/Restore.dfy
src/DataStructures/ThreadedLinkedTree/Model/Rotate.dfy
src/DataStructures/ThreadedLinkedTree/Model/UpdateNext.dfy
src/DataStructures/ThreadedLinkedTree/Model/Color.dfy
src/DataStructures/ThreadedLinkedTree/Model/Insert.dfy
src/DataStructures/ThreadedLinkedTree/Impl/BlackenRoot.dfy
src/DataStructures/ThreadedLinkedTree/Impl/ConditionalReddenRoot.dfy
src/DataStructures/ThreadedLinkedTree/Impl/Find.dfy
src/DataStructures/ThreadedLinkedTree/Impl/FlipColors.dfy
src/DataStructures/ThreadedLinkedTree/Impl/Max.dfy
src/DataStructures/ThreadedLinkedTree/Impl/Min.dfy
src/DataStructures/ThreadedLinkedTree/Impl/MoveRed.dfy
src/DataStructures/ThreadedLinkedTree/Impl/Remove.dfy
src/DataStructures/ThreadedLinkedTree/Impl/RemoveMinMaintainingPrev.dfy
src/DataStructures/ThreadedLinkedTree/Impl/RemoveRoot.dfy
src/DataStructures/ThreadedLinkedTree/Impl/Restore.dfy
src/DataStructures/ThreadedLinkedTree/Impl/Rotate.dfy
src/DataStructures/ThreadedLinkedTree/Impl/UpdateNext.dfy
src/DataStructures/ThreadedLinkedTree/Impl/TTNode.dfy
src/DataStructures/ThreadedLinkedTree/Impl/TTree.dfy
src/DataStructures/ThreadedLinkedTree/Impl/Insert.dfy
)
NINJA_FILE=build.ninja
printf "" > $NINJA_FILE
echo "rule dafny" >> $NINJA_FILE
echo " depfile = \$in.d" >> $NINJA_FILE
echo " command = ./dafnyBuildMD.sh \$in" >> $NINJA_FILE
echo >> $NINJA_FILE
for f in "${files[@]}"; do
echo build $(dirname $f)/$(basename $f ".dfy").dll: dafny $f >> $NINJA_FILE
done
echo >> $NINJA_FILE
printf "build all: phony" >> $NINJA_FILE
for f in "${files[@]}"; do
printf " " >> $NINJA_FILE
printf $(dirname $f)/$(basename $f ".dfy").dll >> $NINJA_FILE
done
echo >> $NINJA_FILE
echo >> $NINJA_FILE
echo "default all" >> $NINJA_FILE