+1
−5
Loading
ninja < 1.9 uses per-second granularity timestamps to check if build options are reconfigured by "meson configure". This granularity is not sufficient if build.ninja is updated fast enough and which results in ninja not applying reconfigured build options. To fix this, commit 510f4c13 added 0.5 second sleep between "meson setup" and "meson configure" but unfortunately it is not sufficent and build fails sometimes. Instead of adding sleep this patch proposes to configure build options with "meson setup". Change-Id: Idb66abccc3921873f5397ac4edf401ce7233ad0f Signed-off-by:Swapnil Ingle <swapnil.ingle@nutanix.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/19319 Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by:
Changpeng Liu <changpeng.liu@intel.com> Reviewed-by:
Konrad Sztyber <konrad.sztyber@intel.com> Reviewed-by:
John Levon <levon@movementarian.org> Community-CI: Mellanox Build Bot