The yyjson package contains a high performance JSON library written in C.
Development versions of BLFS may not build or run some packages properly if LFS or dependencies have been updated since the most recent stable versions of the books.
下载地址(HTTP):https://github.com/ibireme/yyjson/archive/0.12.0/yyjson-0.12.0.tar.gz
MD5 校验和:a0a4fe2ae717277125fdebc60630ddf1
大小:1.6 MB
预计所需磁盘空间:22 MB(含测试)
预计构建时间:0.4 SBU(含测试)
Install yyjson by running the following commands:
mkdir build &&
cd build &&
cmake -D CMAKE_INSTALL_PREFIX=/usr \
-D CMAKE_BUILD_TYPE=Release \
-D BUILD_SHARED_LIBS=ON \
-D YYJSON_BUILD_TESTS=ON \
-G Ninja .. &&
ninja
To run the test suite, issue ninja test.
Now, as the root user:
ninja install
-D YYJSON_BUILD_TESTS=ON:
This parameter enables building the test suite. You may remove it
if you don't want to run it.