Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v22.05.nvda bluefield build broken #61

Closed
glimchb opened this issue Nov 17, 2022 · 3 comments
Closed

v22.05.nvda bluefield build broken #61

glimchb opened this issue Nov 17, 2022 · 3 comments

Comments

@glimchb
Copy link

glimchb commented Nov 17, 2022

v22.05.nvda branch bluefield build seems to be broken:

Expected Behavior

Normally it should be buildable

Current Behavior

git clone -b v22.05.nvda https://github.com/Mellanox/spdk.git spdk_xlio
cd spdk_xlio
git submodule update --init
./configure --with-xlio
make -j

results in

make[1]: Nothing to be done for 'all'.
Could not find any valid candidate for cross files: config/arm/arm64_bluefield_linux_native_gcc

ERROR: Cannot find specified cross file: config/arm/arm64_bluefield_linux_native_gcc
make[1]: *** [Makefile:199: /home/ubuntu/spdk_xlio/dpdk/build-tmp] Error 1
make: *** [/home/ubuntu/spdk_xlio/mk/spdk.subdirs.mk:44: dpdkbuild] Error 2

Possible Solution

See #43

Steps to Reproduce

git clone -b v22.05.nvda https://github.com/Mellanox/spdk.git spdk_xlio
cd spdk_xlio
git submodule update --init
./configure --with-xlio
make -j
@glimchb
Copy link
Author

glimchb commented Nov 17, 2022

@EugeneKochetov
Copy link
Collaborator

Hi Boris

There is one more step required to build it on BlueField - apply DPDK patch. It should be done before the ./configure step.
There is a script to apply the patch. Just execute this command from SPDK repository root:

.ci/dpdk_patch.sh

Sorry, that it is not well documented.

@glimchb
Copy link
Author

glimchb commented Nov 17, 2022

@EugeneKochetov thanks, that works! appreciate quick response!

would be nice at some point to add this to readme
feel free to close the issue or keep it open to track the readme update.

@glimchb glimchb closed this as completed Nov 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants