aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYujun Zhang <zhang.yujunz@zte.com.cn>2017-04-18 16:51:46 +0800
committerYujun Zhang <zhang.yujunz@zte.com.cn>2017-04-18 16:51:46 +0800
commitda8479496691122d49a6bbf61a2dd3355af85fba (patch)
tree840ddb631a90567f784b0f0833e51d6b403156a7
parentcb66bce8bbc5a32bbc219cca4a0f3b3027f6fa70 (diff)
Optimize nDPI repeating speed
- check existence of target file for nDPI build task - skip git updating Change-Id: I7e91df0a38845b2ba8a2dec938b51e1ccc6554cc Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
-rw-r--r--resources/metric/nDPI.yaml2
1 files changed, 2 insertions, 0 deletions
diff --git a/resources/metric/nDPI.yaml b/resources/metric/nDPI.yaml
index c73d367f..79225443 100644
--- a/resources/metric/nDPI.yaml
+++ b/resources/metric/nDPI.yaml
@@ -46,6 +46,7 @@
repo: https://github.com/ntop/nDPI.git
dest: "{{ nDPI_cwd }}"
depth: 1
+ update: no
- name: build nDPI library
command: '{{ item }}'
@@ -55,6 +56,7 @@
- make
args:
chdir: "{{ nDPI_cwd }}"
+ creates: example/ndpiReader
- name: copy sample packet file
copy: