Skip to content
This repository has been archived by the owner on Sep 24, 2024. It is now read-only.

Commit

Permalink
bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
qizzz committed Dec 23, 2023
1 parent b3bbee8 commit fba12bd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion DPDPU/Scripts/InstallSPDK.sh
Original file line number Diff line number Diff line change
@@ -1,16 +1,17 @@
INSTALL_PATH=/opt/dds/spdk
mkdir -p $INSTALL_PATH
cd ../ThirdParty/spdk
git submodule update --init

# Avoid duplicated DPDK init
cp ../../StorageEngine/DDSBackEndDPUService/Patches/spdk_dpdk_init.c lib/env_dpdk/init.c
# Avoid SPDK reactors taking all the Arm cores
cp ../../StorageEngine/DDSBackEndDPUService/Patches/spdk_dpdk_threads.c lib/env_dpdk/threads.c
cp ../../StorageEngine/DDSBackEndDPUService/Patches/spdk_reactor.c lib/event/reactor.c

pip3 install testresources
pip3 install --upgrade setuptools
./scripts/pkgdep.sh --all
git submodule update --init
./configure --prefix=$INSTALL_PATH --with-shared --with-dpdk=/opt/mellanox/dpdk/
CFLAGS="$(pkg-config --cflags libdpdk) -DDPDK_INIT_SUPPRESSED -DSINGLE_REACTOR" make -j
make install
Expand Down

0 comments on commit fba12bd

Please sign in to comment.