File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -16,33 +16,42 @@ git clone https://github.com/collectd/collectd.git /tmp/collectd
1616COLLECTD_SRC=/tmp/collectd make contribs
1717
1818# Compile with default options
19+ git reset --hard
1920make
21+
22+ git reset --hard
2023make test.functionals.compile TAGS=${TAGS}
2124
2225export CGO_CFLAGS=" -I/usr/local/include/dpdk -O3 -g -std=gnu11 -m64 -pthread -march=native -DRTE_MACHINE_CPUFLAG_SSE -DRTE_MACHINE_CPUFLAG_SSE2 -DRTE_MACHINE_CPUFLAG_SSE3 -DRTE_MACHINE_CPUFLAG_SSSE3 -DRTE_MACHINE_CPUFLAG_SSE4_1 -DRTE_MACHINE_CPUFLAG_SSE4_2 -DRTE_MACHINE_CPUFLAG_PCLMULQDQ -DRTE_MACHINE_CPUFLAG_RDRAND -DRTE_MACHINE_CPUFLAG_FSGSBASE -DRTE_MACHINE_CPUFLAG_F16C -include rte_config.h -Wno-deprecated-declarations"
2326export CGO_LDFLAGS=" -L/usr/local/lib"
2427
2528# Compile with all build options supported enabled
29+ git reset --hard
2630make WITH_DPDK=true WITH_EBPF=true WITH_VPP=true WITH_EBPF_DOCKER_BUILDER=true WITH_K8S=true WITH_ISTIO=true \
2731 WITH_HELM=true VERBOSE=true
2832
2933# Compile Skydive for Windows
34+ git reset --hard
3035GOOS=windows GOARCH=amd64 go build github.com/skydive-project/skydive
3136
3237# Compile Skydive for MacOS
38+ git reset --hard
3339GOOS=darwin GOARCH=amd64 go build github.com/skydive-project/skydive
3440
3541# Compile profiling
42+ git reset --hard
3643make WITH_PROF=true VERBOSE=true
3744
3845make clean
3946
4047# Compile all tests
48+ git reset --hard
4149make test.functionals.compile TAGS=${TAGS} WITH_NEUTRON=true WITH_SELENIUM=true WITH_CDD=true \
4250 WITH_SCALE=true WITH_EBPF=true WITH_EBPF_DOCKER_BUILDER=true WITH_VPP=true WITH_K8S=true \
4351 WITH_ISTIO=true WITH_HELM=true
4452
4553make clean
4654
4755# Compile static
56+ git reset --hard
4857make static
You can’t perform that action at this time.
0 commit comments