mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
This PR updates protobuf and grpc to their latest versions. The latest protobuf version no longer requires patches, so we can use it directly from the official Conan Center Index, while the latest grpc still needed a patch, which was added to our own Conan Center Index fork in XRPLF/conan-center-index#8.
26 lines
718 B
Plaintext
26 lines
718 B
Plaintext
{% set os = detect_api.detect_os() %}
|
|
{% set arch = detect_api.detect_arch() %}
|
|
{% set compiler, version, compiler_exe = detect_api.detect_default_compiler() %}
|
|
{% set compiler_version = version %}
|
|
{% if os == "Linux" %}
|
|
{% set compiler_version = detect_api.default_compiler_version(compiler, version) %}
|
|
{% endif %}
|
|
|
|
[settings]
|
|
os={{ os }}
|
|
arch={{ arch }}
|
|
build_type=Debug
|
|
compiler={{compiler}}
|
|
compiler.version={{ compiler_version }}
|
|
compiler.cppstd=20
|
|
{% if os == "Windows" %}
|
|
compiler.runtime=static
|
|
{% else %}
|
|
compiler.libcxx={{detect_api.detect_libcxx(compiler, version, compiler_exe)}}
|
|
{% endif %}
|
|
|
|
[conf]
|
|
{% if compiler == "gcc" and compiler_version < 13 %}
|
|
tools.build:cxxflags+=['-Wno-restrict']
|
|
{% endif %}
|