Skip to content

Instantly share code, notes, and snippets.

@bjconlan
Created July 9, 2024 11:54
Show Gist options
  • Save bjconlan/75e2aaea96d30747dbd2958039c1de01 to your computer and use it in GitHub Desktop.
Save bjconlan/75e2aaea96d30747dbd2958039c1de01 to your computer and use it in GitHub Desktop.
userver/service_template build for fedora 40
# https://userver.tech/d3/da9/md_en_2userver_2tutorial_2build.html
# NOTE libatomic comes with gcc (included in g++) so might not be needed below
dnf install -y git g++ cmake python3-devel boost-devel openssl-devel yaml-cpp-devel libzstd-devel jemalloc-devel zlib-devel libnghttp2-devel libev-devel libatomic
git clone --depth 1 https://github.com/userver-framework/service_template.git \
&& git clone --depth 1 https://github.com/userver-framework/userver.git service_template/third_party/userver \
&& cd service_template
echo "CMAKE_COMMON_FLAGS += -DUSERVER_FEATURE_STACKTRACE=0" > Makefile.local
make build-release && \
make service-start-release
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment