You can just invoke cmake directly and it should find installed dpdk libraries. 
I.e.

mkdir build
cd build
cmake -Gninja /path/to/vpp
ninja

You can also use standard cmake way to specify directories...

— 
Damjan

> On Sep 17, 2019, at 10:13 AM, Jaemin Park <jmpar...@gmail.com> wrote:
> 
> Hello,
> 
> I'd like to compile VPP(ver. 20.01) by using external (prebuilt & installed) 
> DPDK.
> However, it seems that some configurations such as vpp_dpdk_inc_dir and 
> others are removed since cmake is used in VPP.
> Is there any way to use external DPDK for compiling VPP(ver. 20.01)?
> 
> The followings are the sequences that I compiled VPP:
> 1) Build and install DPDK
> $ cd $(DPDK)
> $ sudo make install T=x86_64-native-linuxapp-gcc DESTDIR=/usr/local
> Successfully compiled and installed as intended!
> 
> 2) Modify vpp.mk to include external DPDK by using vpp_dpdk_inc_dir and other 
> parameters, and build (make build)
> $ cd $(VPP)
> $ vi build-data/platforms/vpp.mk
> $ make build
> Modification on vpp.mk has any effect, and I checked the sources but I cannot 
> find any option to use vpp_dpdk_inc_dir. -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> 
> View/Reply Online (#13998): https://lists.fd.io/g/vpp-dev/message/13998
> Mute This Topic: https://lists.fd.io/mt/34173994/675642
> Mute #vpp: https://lists.fd.io/mk?hashtag=vpp&subid=1480514
> Group Owner: vpp-dev+ow...@lists.fd.io
> Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [dmar...@me.com]
> -=-=-=-=-=-=-=-=-=-=-=-

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#14001): https://lists.fd.io/g/vpp-dev/message/14001
Mute This Topic: https://lists.fd.io/mt/34173994/21656
Mute #vpp: https://lists.fd.io/mk?hashtag=vpp&subid=1480452
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to