mirror of
https://github.com/hanzoai/visor.git
synced 2026-09-24 17:04:14 +00:00
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:
+6
-1
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user