<html>#718: Delete config-info before reconfiguring with an option list
<table style='border-spacing: 1ex 0pt; '>
<tr><td style='text-align:right'> Reporter:</td><td>Erik Schnetter</td></tr>
<tr><td style='text-align:right'>   Status:</td><td>wontfix</td></tr>
<tr><td style='text-align:right'>Milestone:</td><td></td></tr>
<tr><td style='text-align:right'>  Version:</td><td></td></tr>
<tr><td style='text-align:right'>     Type:</td><td>bug</td></tr>
<tr><td style='text-align:right'> Priority:</td><td>minor</td></tr>
<tr><td style='text-align:right'>Component:</td><td>SimFactory</td></tr>
</table>

<p>Comment (by Roland Haas):</p>
<p>That would be bad. I gave this a try right now and as far as I can tell that is not happening.</p>
<p>I copied my existing <code>config-info</code> to the Cactus root (ie out of its normal place) then modified it by removing <code>CFLAGS</code> and after running <code>make sim-config options=foo.cfg</code> the newly written <code>config-info</code> no longer has a <code>CFLAGS</code> setting (which was still present in <code>configs/sim/config-info</code> when I ran <code>make sim-config</code>.</p>
<p><code>ParseConfigInfo</code> is in <code>CSTUtil</code> which is part of <code>CST</code> and later than <code>sim-config</code> which instead runs <code>lib/make/setup_configuration.pl</code>. In there <code>config-info</code> is populated with data from the subroutine <code>SetConfigureEnv</code> whose <code>$config_file</code> is the argument to <code>options=</code> passed to make. The Per script completely overwrites <code>config-info</code>, never reading from it. The <code>CST</code> and later parts then read in <code>config-info</code>.</p>
<p>Note that <code>sim-reconfig</code> does read from <code>config-info</code> but <code>simfactory</code>'s <code>--reconfig</code> option to <code>build</code> calls <code>sim-config</code> and not <code>sim-reconfig</code>.</p>
<p>--<br/>
Ticket URL: <a href='https://bitbucket.org/einsteintoolkit/tickets/issues/718/delete-config-info-before-reconfiguring'>https://bitbucket.org/einsteintoolkit/tickets/issues/718/delete-config-info-before-reconfiguring</a></p>
</html>