Clone dpdk from github

https://dpdk.org/git/dpdk/ doesn't work:
fatal: unable to access 'http://dpdk.org/git/dpdk/':
The requested URL returned error: 502
PiperOrigin-RevId: 751023554
This commit is contained in:
Andrei Vagin
2025-04-24 09:34:47 -07:00
committed by gVisor bot
parent 9cd7edc7d5
commit 60e59c38fe
+6 -1
View File
@@ -8,7 +8,12 @@ genrule(
outs = ["libpluginstack.a"],
cmd = select({
# Support IVB and later machines.
":plugin_tldk_condition": "git clone https://github.com/alipay/tldk.git; cd tldk; git checkout cec8ff773c2ee609a1fcbc389aecb4dbb4e3bb88; make -j 1 DPDK_MACHINE=ivb EXTRA_CFLAGS='-g -O3 -fPIC -fno-omit-frame-pointer -DLOOK_ASIDE_BACKEND -Wno-error -Wno-use-after-free' all; cd ..; cp -f tldk/libtldk.a $(RULEDIR)/libpluginstack.a",
":plugin_tldk_condition": "git clone https://github.com/alipay/tldk.git && " +
"cd tldk && " +
"git checkout cec8ff773c2ee609a1fcbc389aecb4dbb4e3bb88 && " +
"make -j 4 DPDK_GIT_REPO='https://github.com/DPDK/dpdk' DPDK_MACHINE=ivb EXTRA_CFLAGS='-g -O3 -fPIC -fno-omit-frame-pointer -DLOOK_ASIDE_BACKEND -Wno-error -Wno-use-after-free' all && " +
"cd .. && " +
"cp -f tldk/libtldk.a $(RULEDIR)/libpluginstack.a",
"//conditions:default": "",
}),
local = 1,