Skip to content
Snippets Groups Projects
Commit 6fdddcb8 authored by Jakob Olsson's avatar Jakob Olsson
Browse files

gitlab-ci: install libdpp and compile with -DUSE_LIBDPP

parent a6f1f9fd
Branches
No related tags found
1 merge request!284gitlab-ci: install libdpp and compile with -DUSE_LIBDPP
Pipeline #123460 passed
......@@ -5,6 +5,7 @@ echo "compile warns stage"
pwd
cd src/
make clean
make "CFLAGS+=-I/usr/include/libnl3 -Werror -Wall -DCONTROLLER_SYNC_DYNAMIC_CNTLR_CONFIG -DEASYMESH_VERSION=2 -Wno-deprecated-declarations"
make clean
make "CFLAGS+=-I/usr/include/libnl3 -Werror -Wall -DCONTROLLER_SYNC_DYNAMIC_CNTLR_CONFIG -DEASYMESH_VERSION=4 -Wno-deprecated-declarations"
make "CFLAGS+=-I/usr/include/libnl3 -Werror -Wall -DCONTROLLER_SYNC_DYNAMIC_CNTLR_CONFIG -DEASYMESH_VERSION=4 -DUSE_LIBDPP -Wno-deprecated-declarations"
......@@ -40,6 +40,15 @@ exec_cmd cp wifidefs.h wifiutils.h /usr/include
exec_cmd cp -a libwifiutils.so /usr/lib
sudo ldconfig
# libdpp
cd /opt/dev
rm -fr libdpp
exec_cmd git clone -b devel https://dev.iopsys.eu/multi-ap/libdpp.git
cd libdpp/lib
exec_cmd make
exec_cmd cp -a libdpp*.so* /usr/lib
exec_cmd cp dpputils.h dpp_api.h dpp_sm.h json_helper.h timer.h utf8.h /usr/include
# ieee1905 + map.so
cd /opt/dev
rm -fr ieee1905
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment