Comment 26 for bug 1476261

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : A change has been merged

Reviewed: https://review.opencontrail.org/34916
Committed: http://github.com/Juniper/contrail-build/commit/ced5b8fed4dce10173cc45fb490d6c782eadf540
Submitter: Zuul (<email address hidden>)
Branch: master

commit ced5b8fed4dce10173cc45fb490d6c782eadf540
Author: Krzysztof Klimonda <email address hidden>
Date: Fri Aug 25 13:09:59 2017 +0200

Rebuild buildinfo.{cc,h} on every Scons run

We are creating circular dependencies (direct and indirect) by passing
source to the env.Command that's used to generate build information.

Given that buildinfo.{cc,h} don't depend on source files, we can just
wrap Command executed from GenerateBuildInfoCode in AlwaysBuild. Then
we can modify SConscript from other repositories and stop passing any
source files.

Partial-Bug: #1476261
Change-Id: I009204e9bc6f80197f16bde248bbef254d12ab9c