mirror of
https://github.com/minetest/minetest.git
synced 2025-06-28 06:11:44 +02:00
Add benchmarks for json string serialize/deserialize (#12258)
Co-authored-by: sfan5 <sfan5@live.de>
This commit is contained in:
@ -1,6 +1,10 @@
|
||||
#! /bin/bash -e
|
||||
|
||||
cmake -B build -DCMAKE_BUILD_TYPE=Debug \
|
||||
-DRUN_IN_PLACE=TRUE -DENABLE_GETTEXT=TRUE \
|
||||
-DBUILD_SERVER=TRUE ${CMAKE_FLAGS}
|
||||
cmake -B build \
|
||||
-DCMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE:-Debug} \
|
||||
-DRUN_IN_PLACE=TRUE \
|
||||
-DENABLE_GETTEXT=${CMAKE_ENABLE_GETTEXT:-TRUE} \
|
||||
-DBUILD_SERVER=${CMAKE_BUILD_SERVER:-TRUE} \
|
||||
${CMAKE_FLAGS}
|
||||
|
||||
cmake --build build --parallel $(($(nproc) + 1))
|
||||
|
@ -7,7 +7,9 @@ install_linux_deps() {
|
||||
libhiredis-dev libogg-dev libgmp-dev libvorbis-dev libopenal-dev \
|
||||
gettext libpq-dev libleveldb-dev libcurl4-openssl-dev libzstd-dev)
|
||||
|
||||
if [[ "$1" == "--old-irr" ]]; then
|
||||
if [[ "$1" == "--no-irr" ]]; then
|
||||
shift
|
||||
elif [[ "$1" == "--old-irr" ]]; then
|
||||
shift
|
||||
pkgs+=(libirrlicht-dev)
|
||||
else
|
||||
|
Reference in New Issue
Block a user