#117: Error while building multiple configurations
| Reporter: | Erik Schnetter |
| Status: | resolved |
| Milestone: | |
| Version: | |
| Type: | bug |
| Priority: | minor |
| Component: | SimFactory |
Changes (by Roland Haas):
| status: | resolved (was new) |
I wanted to build multiple configurations at once with the command
./simfactory/sim build sim-debug sim
sim-debug is a debug configuration, sim is optimised. SimFactory built sim-debug, then aborted with the error:
optionlist is: /Users/eschnett/EinsteinToolkit-hg/configs/sim/OptionList Error: pattern '^\sDEBUG\s=.*$' exists already
It assumes that SimFactory doesn't properly distinguish between the different build options of the different configurations.
Keyword:
Comment (by Roland Haas):
Worksforme. Not sure when this was fixed but already git hash a672575 "This is a major commit. Please test and get back to me if there are (and there probably will be) issues." of simfactory2 from ~8 years ago lets me compile both of them. That commit introduces a separate DefineDatabase in sim-build.py/PreConfiguration. To document what I did:
echo > null.th simfactory/bin/sim build --debug null-debug simfactory/bin/sim build null simfactory/bin/sim build null-debug null
--
Ticket URL: https://bitbucket.org/einsteintoolkit/tickets/issues/117/error-while-building-multiple