File tree Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Original file line number Diff line number Diff line change 1515 uses : actions/checkout@v4
1616
1717 - name : Install C++ dependencies
18- run : sudo apt-get update && sudo apt-get install -y build-essential cmake libgtest-dev libbenchmark-dev
18+ run : sudo apt-get update && sudo apt-get install -y build-essential cmake libgtest-dev # libbenchmark-dev
19+
20+ # 2025-05-12: Added to resolve a linker error about the compiler and benchmark having different LTO versions.
21+ # Hopefully this can be removed in the future.
22+ - name : Build Google Benchmark from source
23+ run : |
24+ git clone https://github.com/google/benchmark.git
25+ cd benchmark
26+ git clone https://github.com/google/googletest.git
27+ cmake -B build -S . -DCMAKE_BUILD_TYPE=Release
28+ cmake --build build --target install
1929
2030 - name : Setup
2131 run : cmake -B out -S .
You can’t perform that action at this time.
0 commit comments