pkgdep/git: Bump nvme-cli to v2.0 release
Older compilers (e.g. 7.5 on ubuntu1804) are having issues under
v1.16 due to:
plugins/intel/intel-nvme.c:666:47: error: initializer element is not constant
static const int LATENCY_STATS_V4_BASE_VAL = (
Makefile:108: recipe for target 'plugins/intel/intel-nvme.o' failed
This was fixed by the following commit which is present in the v2.0
release:
e7309044f3
Signed-off-by: Michal Berger <michal.berger@intel.com>
Change-Id: I7ebcf1b1fdb44500a21bcf3feceb07a722e8fc30
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/13775
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Dong Yi <dongx.yi@intel.com>
Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
This commit is contained in:
parent
df38292ec3
commit
261384fe46
@ -317,7 +317,7 @@ function install_nvmecli() {
|
||||
if [[ ! -d $GIT_REPOS/nvme-cli-cuse ]]; then
|
||||
git clone "https://github.com/linux-nvme/nvme-cli.git" "$GIT_REPOS/nvme-cli-cuse"
|
||||
fi
|
||||
git -C "$GIT_REPOS/nvme-cli-cuse" checkout v1.16
|
||||
git -C "$GIT_REPOS/nvme-cli-cuse" checkout v2.0
|
||||
|
||||
cflags=("-Wno-error")
|
||||
|
||||
@ -326,6 +326,10 @@ function install_nvmecli() {
|
||||
sudo rm -rf /usr/local/src/nvme-cli
|
||||
fi
|
||||
sudo mv "$GIT_REPOS/nvme-cli-cuse" /usr/local/src/nvme-cli
|
||||
# Make sure binary is available for the cuse tests
|
||||
if [[ -e /usr/local/src/nvme-cli/.build/nvme ]]; then
|
||||
sudo ln -s .build/nvme /usr/local/src/nvme-cli/
|
||||
fi
|
||||
}
|
||||
|
||||
function install_libiscsi() {
|
||||
|
Loading…
Reference in New Issue
Block a user