Skip to content

Commit

Permalink
[cmake] Fix googlebenchmark build location.
Browse files Browse the repository at this point in the history
  • Loading branch information
vgvassilev committed Jan 7, 2024
1 parent f0d4988 commit 3a5ad4a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -794,9 +794,9 @@ jobs:
cmake --build . --target benchmark-clad -j4
# Compare:
cd benchmark
pip3 install -r ./googlebenchmark-prefix/src/googlebenchmark/tools/requirements.txt
COMPARER='./googlebenchmark-prefix/src/googlebenchmark/tools/compare.py'
COMPARER="$(pwd)/googlebenchmark-prefix/src/googlebenchmark/tools/compare.py"
cd benchmark
for baseline in *-$hash.json
do
common=${baseline%$hash.json}
Expand Down
2 changes: 1 addition & 1 deletion cmake/modules/GoogleBenchmark.cmake
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
include(ExternalProject)

set(GBENCHMARK_PREFIX "${CMAKE_BINARY_DIR}/benchmark/googlebenchmark-prefix")
set(GBENCHMARK_PREFIX "${CMAKE_BINARY_DIR}/googlebenchmark-prefix")
set(GBENCHMARK_LIBRARY_NAME ${CMAKE_STATIC_LIBRARY_PREFIX}benchmark${CMAKE_STATIC_LIBRARY_SUFFIX})

# Remove the coverage flags when compiling external libraries.
Expand Down

0 comments on commit 3a5ad4a

Please sign in to comment.