Skip to content

Commit

Permalink
[BUILD] Fix Import Abseil-cpp (#2701)
Browse files Browse the repository at this point in the history
  • Loading branch information
LeiZhang-Hunter authored Jun 15, 2024
1 parent 025f42f commit fad93f0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -377,7 +377,9 @@ if(WITH_PROMETHEUS)
endif()

if(WITH_ABSEIL)
find_package(absl CONFIG REQUIRED)
if(NOT TARGET absl::strings)
find_package(absl CONFIG REQUIRED)
endif()
endif()

if(WITH_OTLP_GRPC
Expand Down

1 comment on commit fad93f0

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Performance Alert ⚠️

Possible performance regression was detected for benchmark 'OpenTelemetry-cpp api Benchmark'.
Benchmark result of this commit is worse than the previous benchmark result exceeding threshold 2.

Benchmark suite Current: fad93f0 Previous: 025f42f Ratio
BM_NaiveSpinLockThrashing/2/process_time/real_time 0.77211557321213 ms/iter 0.1862049102783203 ms/iter 4.15
BM_NaiveSpinLockThrashing/4/process_time/real_time 1.5773391723632812 ms/iter 0.7857931287665116 ms/iter 2.01
BM_ThreadYieldSpinLockThrashing/1/process_time/real_time 14.141249656677246 ms/iter 6.963754955090974 ms/iter 2.03

This comment was automatically generated by workflow using github-action-benchmark.

Please sign in to comment.