Error while building multiple configurations

Create issue
Issue #117 resolved
Erik Schnetter created an issue

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:

Comments (3)

  1. Frank Löffler
    • removed comment

    We could just declare this as missing feature, and set it to wishlist - or declare that 'sim build' only takes one argument and then we can remove the ticket altogether. Nobody really seemed to care within the last three years, and a ticket that is dormant for so long isn't helping.

  2. Roland Haas
    • edited description
    • changed status to resolved

    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
    
  3. Log in to comment