OpFlex
参考:
OpFlex
Building
mkdir -p ~/work
pushd work
git clone https://git.opendaylight.org/gerrit/opflex
popd
libopflex
First, install libuv from source:
pushd ~/work
git clone https://github.com/libuv/libuv.git --branch v1.x
pushd libuv
./autogen.sh
./configure
make -j8
sudo make install
popd
popd
Next, install rapidjson:
pushd ~/work
git clone https://github.com/miloyip/rapidjson.git --branch v1.0.2 --depth 1
pushd rapidjson
cmake .
make
sudo make install
popd
popd
Now, you can build libopflex:
pushd ~/work/opflex/libopflex
./autogen.sh
./configure
make -j8 # make -j2
make check
sudo make install
popd
genie and libmodelgbp
First, run the code generator:
pushd ~/work/opflex/genie
mvn compile exec:java
popd
Next build and install the libmodelgbp library:
pushd ~/work/opflex/genie/target/libmodelgbp
bash autogen.sh
./configure
make
sudo make install
popd
To improve is to change, to be perfect is to change often.
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】凌霞软件回馈社区,博客园 & 1Panel & Halo 联合会员上线
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步