git clone https://github.com/Moe-hacker/ruri
cd ruri
aclocal
autoconf
./configure --enable-static
make
sudo cp ruri /usr/bin/ruri
::: info Dependency libcap, libseccomp, libpthread. :::
::: danger
The test script has a part that must be run with sudo
, DO NOT
run make test
on your devices!!!!
:::
--enable-coreonly Compile core only
--disable-libcap Disable libcap support
--disable-libseccomp Disable libseccomp support
--disable-rurienv Disable .rurienv support
--enable-static Enable static build
--enable-debug Enable debug log
--enable-dev Enable dev build
::: tip
--enable-coreonly
will auto enable --disable-libseccomp --disable-libcap --disable-rurienv
:::
git clone https://github.com/Moe-hacker/ruri
cd ruri
cmake .
make
make install
-DBUILD_LIB=on Compile to shared library
-DDISABLE_LIBCAP=on Disable libcap support
-DDISABLE_LIBSECCOMP=on Disable libseccomp support
-DDISABLE_RURIENV=on Disable .rurienv support
-DENABLE_STATIC=on Enable static build
-DENABLE_DEBUG=on Enable debug log
::: tip
- -DENABLE_DEBUG=on is equivalent to the traditional build options --enable-dev plus --enable-debug
- When DISABLE_RURIENV and DISABLE_LIBSECCOMP and DISABLE_LIBCAP are enabled at the same time, it is equivalent to --enable-coreonly in the traditional build process :::
format Run clang-format steps
strip Run strip steps
tidy Run clang-tidy steps