Created
July 9, 2024 11:54
-
-
Save bjconlan/75e2aaea96d30747dbd2958039c1de01 to your computer and use it in GitHub Desktop.
userver/service_template build for fedora 40
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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