]> git.proxmox.com Git - ceph.git/blob - ceph/src/jaegertracing/opentelemetry-cpp/tools/ports/benchmark/version.patch
update ceph source to reef 18.1.2
[ceph.git] / ceph / src / jaegertracing / opentelemetry-cpp / tools / ports / benchmark / version.patch
1 diff --git a/CMakeLists.txt b/CMakeLists.txt
2 index 1007254..47e4a1b 100644
3 --- a/CMakeLists.txt
4 +++ b/CMakeLists.txt
5 @@ -78,8 +78,9 @@ list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake")
6
7
8 # Read the git tags to determine the project version
9 -include(GetGitVersion)
10 -get_git_version(GIT_VERSION)
11 +# include(GetGitVersion)
12 +# get_git_version(GIT_VERSION)
13 +set(GIT_VERSION 1.5.3)
14
15 # Tell the user what versions we are using
16 string(REGEX MATCH "[0-9]+\\.[0-9]+\\.[0-9]+" VERSION ${GIT_VERSION})
17 diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
18 index 35d559e..e9dec6d 100644
19 --- a/src/CMakeLists.txt
20 +++ b/src/CMakeLists.txt
21 @@ -77,9 +77,13 @@ set(targets_export_name "${PROJECT_NAME}Targets")
22 set(namespace "${PROJECT_NAME}::")
23
24 include(CMakePackageConfigHelpers)
25 +# Avoid architecture compatibility check
26 +set(DOCTEST_SIZEOF_VOID_P ${CMAKE_SIZEOF_VOID_P})
27 +unset(CMAKE_SIZEOF_VOID_P)
28 write_basic_package_version_file(
29 "${version_config}" VERSION ${GENERIC_LIB_VERSION} COMPATIBILITY SameMajorVersion
30 )
31 +set(CMAKE_SIZEOF_VOID_P ${DOCTEST_SIZEOF_VOID_P})
32
33 configure_file("${PROJECT_SOURCE_DIR}/cmake/Config.cmake.in" "${project_config}" @ONLY)
34 configure_file("${PROJECT_SOURCE_DIR}/cmake/benchmark.pc.in" "${pkg_config}" @ONLY)