Make compilation procedure more efficient
Description
The current compilation procedure is focused on not exceeding 2 GB of RAM for sequential make
runs. As indicated in !63 (merged), compiling single instantiations of the Simulation
template can be inefficient, both in terms of memory and CPU usage.
The new restrictive limit is the default GitLab runner, which is limited to 3 GB.
Proposal
Use less object files:
- Move multiple
YASPGrid
instantiations into one object file -
(optional) Move more
UGGrid
instantiations into single object files
How to test the implementation?
Pipeline passes (faster than now)
Related issues
See !63 (merged).
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information