From 01a88849342e404edf78f4b565e211380697ad5f Mon Sep 17 00:00:00 2001 From: paul luse Date: Sat, 3 Sep 2022 07:13:45 -0700 Subject: [PATCH] doc: user --recursive in directions for cloning SPDK repo As oppsoed to having steps to change to the SPDK dir and use git submodule command to init submodules. Signed-off-by: paul luse Change-Id: I4b0d9fb242cfd41946a2cbba9e6de76db6374612 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/14341 Tested-by: SPDK CI Jenkins Reviewed-by: Krzysztof Karas Reviewed-by: Ben Walker Reviewed-by: Tomasz Zawadzki --- doc/getting_started.md | 4 +--- doc/nvmf.md | 6 ++---- doc/nvmf_multipath_howto.md | 3 +-- 3 files changed, 4 insertions(+), 9 deletions(-) diff --git a/doc/getting_started.md b/doc/getting_started.md index 980b2e9eb..a28896b44 100644 --- a/doc/getting_started.md +++ b/doc/getting_started.md @@ -3,9 +3,7 @@ ## Getting the Source Code {#getting_started_source} ~~~{.sh} -git clone https://github.com/spdk/spdk -cd spdk -git submodule update --init +git clone https://github.com/spdk/spdk --recursive ~~~ ## Installing Prerequisites {#getting_started_prerequisites} diff --git a/doc/nvmf.md b/doc/nvmf.md index 1a4346e0d..a3a7e01f0 100644 --- a/doc/nvmf.md +++ b/doc/nvmf.md @@ -130,11 +130,9 @@ After cloning SPDK repo and initialize submodules, FC LLD library is built which the fc transport. ~~~{.sh} -git clone https://github.com/spdk/spdk spdk +git clone https://github.com/spdk/spdk --recursive git clone https://github.com/ecdufcdrvr/bcmufctdrvr fc -cd spdk -git submodule update --init -cd ../fc +cd fc make DPDK_DIR=../spdk/dpdk/build SPDK_DIR=../spdk cd ../spdk ./configure --with-fc=../fc/build diff --git a/doc/nvmf_multipath_howto.md b/doc/nvmf_multipath_howto.md index 9aabb51c6..c382ab6ad 100644 --- a/doc/nvmf_multipath_howto.md +++ b/doc/nvmf_multipath_howto.md @@ -8,13 +8,12 @@ path load balancing. Clone the repo: ~~~{.sh} -git clone https://github.com/spdk/spdk +git clone https://github.com/spdk/spdk --recursive ~~~ Configure and build SPDK: ~~~{.sh} cd spdk/ -git submodule update --init ./configure make -j16 ~~~