4 ms·
WRT > Module interface unit locations must be deterministic. My immediate though was create a SQLLite database per some collection of modules (a crate of modul
by 75dvtwin 8y ago
WRT > Module interface unit locations must be deterministic.
My immediate though was create a SQLLite database per some collection of modules (a crate of modules?).
Each row in that table will have unique 'business id' and unique row_id. business Id is a composite key on
module_name+exported_function_names_with_attribute_and_result signature
every BusinesID as defined above, can point to source location, compiled object location, last compilation time, compilation state.
Moving crates to other locations will not change the BusinessID. Moving compiled object location will not change the BusinessID.
The sqllite database can have a network interface for multi-machine compilation. can be backed up/restored into a new environment and be unchanged as long as compilation flags for all the modules remained the same, and compiler versions are same.