Skip to content

Instantly share code, notes, and snippets.

@mgerdts
Last active January 24, 2023 17:15
Show Gist options
  • Save mgerdts/de869562085ce41461194c383c76ece9 to your computer and use it in GitHub Desktop.
Save mgerdts/de869562085ce41461194c383c76ece9 to your computer and use it in GitHub Desktop.
SPDK check_so_ver tests

Configure abi test builds

In a checked out spdk repo:

. test/common/config/pkgdep/git
INSTALL_REFSPDK=true install_sources

After this, two new directories should exist:

$ ls -d ../spdk_abi*
../spdk_abi_latest  ../spdk_abi_lts

Configure autorun

In check_so_deps.conf:

SPDK_TEST_AUTOBUILD=tiny
SPDK_TEST_UNITTEST=0
SPDK_RUN_FUNCTIONAL_TEST=0
SPDK_TEST_BLOCKDEV=1
SPDK_TEST_PMDK=1
SPDK_TEST_ISAL=1
SPDK_TEST_REDUCE=1
SPDK_TEST_CRYPTO=1
SPDK_TEST_FTL=1
SPDK_TEST_OCF=1
SPDK_TEST_RAID5=1
SPDK_TEST_RBD=1
SPDK_TEST_URING=1
SPDK_TEST_NVME_CUSE=1
SPDK_TEST_BLOBFS=1
SPDK_TEST_VFIOUSER=1
SPDK_TEST_DAOS=0
SPDK_RUN_ASAN=1
SPDK_RUN_UBSAN=1
EXTERNAL_MAKE_HUGEMEM=2048
SPDK_TEST_XNVME=0

I have disabled xnvme because the build wanted a newer version of liburing than is present on my machine, I wasn't doing any development that is relevant to xnvme, and I didn't want to futz with it.

Perform a build

In the spdk repo:

test/make/check_so_deps.sh check_so_deps.conf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment