Commit 261384fe authored by Michal Berger's avatar Michal Berger Committed by Tomasz Zawadzki
Browse files

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:

https://github.com/linux-nvme/nvme-cli/commit/e7309044f3ed48b0b6138dfc22a72d8fc1108580



Signed-off-by: default avatarMichal Berger <michal.berger@intel.com>
Change-Id: I7ebcf1b1fdb44500a21bcf3feceb07a722e8fc30
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/13775


Tested-by: default avatarSPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: default avatarJim Harris <james.r.harris@intel.com>
Reviewed-by: default avatarDong Yi <dongx.yi@intel.com>
Reviewed-by: default avatarTomasz Zawadzki <tomasz.zawadzki@intel.com>
parent df38292e
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -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() {