Various fixes to get a P4Runtime demo that works
Change-Id: Icab512fceeb6ec0faf1b402c1e325e055cdb2caf
diff --git a/tools/dev/bin/onos-setup-p4-dev b/tools/dev/bin/onos-setup-p4-dev
index dd8dd3e..a10d0e2 100755
--- a/tools/dev/bin/onos-setup-p4-dev
+++ b/tools/dev/bin/onos-setup-p4-dev
@@ -148,7 +148,7 @@
git submodule update --init --recursive
./autogen.sh
- ./configure --with-proto --without-cli --without-internal-rpc
+ ./configure --with-proto 'CXXFLAGS=-O0 -ggdb'
make -j${NUM_CORES}
sudo make install
sudo ldconfig
@@ -174,7 +174,7 @@
sudo rm -rf $tmpdir
./autogen.sh
- ./configure --enable-debugger --with-pi
+ ./configure --enable-debugger --with-pi 'CXXFLAGS=-O0 -ggdb'
make -j${NUM_CORES}
sudo make install
sudo ldconfig
@@ -182,7 +182,7 @@
# Simple_switch_grpc target
cd targets/simple_switch_grpc
./autogen.sh
- ./configure
+ ./configure 'CXXFLAGS=-O0 -ggdb'
make -j${NUM_CORES}
sudo make install
sudo ldconfig