Bug 1864 - waf configure summary build directory lags configure
waf configure summary build directory lags configure
Status: NEW
Product: ns-3
Classification: Unclassified
Component: build system
ns-3-dev
All All
: P5 minor
Assigned To: Gustavo J. A. M. Carneiro
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-03-01 23:15 EST by Peter Barnes
Modified: 2014-03-01 23:15 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Barnes 2014-03-01 23:15:32 EST
In r10603 eed0cb486e3f I added the build profile and output directory to the summary printed at the end of waf configure:

  $ waf configure --build-profile=optimized --out=build/optimized
  ...
  ---- Summary of optional NS-3 features:
  Build profile                 : optimized
  Build directory               : .../build/optimized
  ...

However, when changing the build profile, the build directory shows the *old* build directory:

  $ waf configure --build-profile=debug --out=build/debug
  ...
  ---- Summary of optional NS-3 features:
  Build profile                 : debug
  Build directory               : .../build/optimized
  ...

If you build now, the output will go to build/debug correctly, but the summary is wrong.  If you run the same configure again, the summary will now be correct.