Re: [ovs-discuss] Fwd: Enabling compilation of C JSON parser (C python extension)

2019-06-13 Thread nitish nagesh
Hi Numan, The libopenvswitch.so is indeed being generated if i do not invoke the "setup.py build" in the do_compile_append() function (of the OVS bitbake) i mentioned in my email. However i see the C JSON parser extension doesnt get compiled. The "*import ovs._json*" fails on the target..This

Re: [ovs-discuss] Fwd: Enabling compilation of C JSON parser (C python extension)

2019-06-13 Thread Numan Siddique
On Thu, Jun 13, 2019 at 8:17 AM nitish nagesh wrote: > Thanks Ben. > > Guys, any other recommendations, please help me out here. > I think you may have to compile openvswitch too with shared library option so that libopenvswitch.so is generated. I am not sure if this would help, but the

Re: [ovs-discuss] Fwd: Enabling compilation of C JSON parser (C python extension)

2019-06-12 Thread Ben Pfaff
On Wed, Jun 12, 2019 at 09:41:03PM +0530, nitish nagesh wrote: > | arm-cnos-linux-gnueabi-gcc -march=armv7-a > --sysroot=/build/tmp/sysroots/switch -DNDEBUG -g -O3 -Wall > -Wstrict-prototypes -O2 -pipe -ggdb3 -feliminate-unused-debug-types >

[ovs-discuss] Fwd: Enabling compilation of C JSON parser (C python extension)

2019-06-12 Thread nitish nagesh
Hello, I am working on an ARM9 based embedded product which runs software that has OpenVSwitch integrated into it. The software has a few daemons written in Python that perform JSON parsing to build the OVSDB IDL cache. These operations are resulting in high CPU usage for prolonged