+1
−1
+19
−9
Loading
Starting with patch 873c8748, it was not possible to configure SPDK with LTO enabled or setting a cross compilation prefix. detect_cc.sh was moved before the configuration options were read from command line. This patch fixes this behavior by reading passed options before invoking detect_cc.sh. Next loop that reads all options has empty handling for those, as otherwise "Unrecognized option" condition would trigger. Added LTO to NIGHTLY release build tests. Signed-off-by:Tomasz Zawadzki <tomasz.zawadzki@intel.com> Change-Id: I21802e14c0565cb7f323bcbd805967a3c4781b46 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/1714 Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by:
Jim Harris <james.r.harris@intel.com> Reviewed-by:
Aleksey Marchuk <alexeymar@mellanox.com> Reviewed-by:
Ben Walker <benjamin.walker@intel.com>