Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Compile fewer packages when bootstrapping
- Loading branch information
Showing
19 changed files
with
382 additions
and
257 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
encapsulated package DumpGraphviz | ||
|
||
function dump<T> | ||
input T p; | ||
algorithm | ||
assert(false, getInstanceName()); | ||
end dump; | ||
|
||
annotation(__OpenModelica_Interface="backend"); | ||
end DumpGraphviz; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
encapsulated package FGraphStream | ||
|
||
function start | ||
end start; | ||
|
||
function finish = start; | ||
|
||
function edge<A,B> | ||
input A name; | ||
input B source; | ||
input B target; | ||
end edge; | ||
|
||
function node<N> | ||
input N n; | ||
end node; | ||
|
||
annotation(__OpenModelica_Interface="frontend"); | ||
end FGraphStream; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
encapsulated package NFInstDump | ||
|
||
function prefixStr<T> | ||
input T inPrefix; | ||
output String outString; | ||
algorithm | ||
assert(false, getInstanceName()); | ||
end prefixStr; | ||
|
||
annotation(__OpenModelica_Interface="frontend"); | ||
end NFInstDump; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
encapsulated package UnitAbsynBuilder | ||
|
||
import UnitAbsyn; | ||
|
||
function emptyInstStore | ||
output UnitAbsyn.InstStore st = UnitAbsyn.noStore; | ||
end emptyInstStore; | ||
|
||
function instBuildUnitTerms<A,B> | ||
input A env; | ||
input B dae; | ||
input B compDae; | ||
input UnitAbsyn.InstStore store; | ||
output UnitAbsyn.InstStore outStore; | ||
output UnitAbsyn.UnitTerms terms; | ||
algorithm | ||
assert(false, getInstanceName()); | ||
end instBuildUnitTerms; | ||
|
||
function registerUnitWeights<A,B,C> | ||
input A cache; | ||
input B env; | ||
input C dae; | ||
algorithm | ||
assert(false, getInstanceName()); | ||
end registerUnitWeights; | ||
|
||
function instAddStore<A,B> | ||
input UnitAbsyn.InstStore istore; | ||
input A itp; | ||
input B cr; | ||
output UnitAbsyn.InstStore outStore = istore; | ||
end instAddStore; | ||
|
||
function unit2str<A> | ||
input A unit; | ||
output String res; | ||
algorithm | ||
assert(false, getInstanceName()); | ||
end unit2str; | ||
|
||
annotation(__OpenModelica_Interface="frontend"); | ||
end UnitAbsynBuilder; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
encapsulated package UnitChecker | ||
|
||
function check<A,B> | ||
input A tms; | ||
input B ist; | ||
output B outSt; | ||
algorithm | ||
assert(false, getInstanceName()); | ||
end check; | ||
|
||
function isComplete<A> | ||
input A st; | ||
output Boolean complete; | ||
output A stout; | ||
algorithm | ||
assert(false, getInstanceName()); | ||
end isComplete; | ||
|
||
annotation(__OpenModelica_Interface="frontend"); | ||
end UnitChecker; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.