Merge remote-tracking branch
authorWenxian Li <[email protected]>
Tue, 8 Sep 2015 22:41:17 +0000 (18:41 -0400)
committerWenxian Li <[email protected]>
Tue, 8 Sep 2015 22:41:17 +0000 (18:41 -0400)
Conflicts:
linux/b
linux/ws_main.py
linux_dpdk/ws_main.py
src/bp_sim.h

1  2 
linux/ws_main.py
linux_dpdk/ws_main.py
src/bp_gtest.cpp
src/bp_sim.cpp
src/bp_sim.h
src/main_dpdk.cpp

@@@ -22,9 -12,8 +12,7 @@@ import os
  import commands;
  import shutil;
  import copy;
 -from distutils.version import StrictVersion
  
- # these variables are mandatory ('/' are converted automatically)
  top = '../'
  out = 'build'
  b_path ="./build/linux/"
@@@ -477,12 -374,16 +373,16 @@@ build_types = 
  
  
  def build_prog (bld, build_obj):
+     zmq_lib_path='external_libs/zmq/'
+     bld.read_shlib( name='zmq' , paths=[top + zmq_lib_path] )
      bld.program(features='cxx cxxprogram', 
                  includes =includes_path,
 -                cxxflags =build_obj.get_flags(),
 +                cxxflags =(build_obj.get_flags()+['-std=gnu++11',]),
-                 stlib = 'stdc++',
                  linkflags = build_obj.get_link_flags(),
-                 source = bp.file_list(top),
+                 source = build_obj.get_src(),
+                 use = build_obj.get_use_libs(),
+                 rpath  = bld.env.RPATH + build_obj.get_rpath(),
                  target = build_obj.get_target())
  
  
Simple merge
Simple merge
diff --cc src/bp_sim.cpp
Simple merge
diff --cc src/bp_sim.h
@@@ -1247,8 -1249,7 +1247,9 @@@ struct CFlowYamlInfo 
      CFlowYamlInfo(){
          m_dpPkt=0;
          m_server_addr=0;
 +        m_client_pool_idx = 0;
 +        m_server_pool_idx = 0;
+         m_cap_mode=false;
      }
      
      std::string     m_name;
Simple merge