Skip to content

Commit

Permalink
Adjusted benchmark setup
Browse files Browse the repository at this point in the history
  • Loading branch information
shuhaowu committed Mar 19, 2024
1 parent 44ca43b commit e9a9948
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,16 @@ test-debug: build-test-debug

test: test-debug

benchmark: build-test-debug
build/test/tests/cactus_rt_tracing_benchmark
build-test-release:
cmake -Bbuild/benchmark -DCMAKE_BUILD_TYPE=Release -DENABLE_EXAMPLES=OFF -DBUILD_TESTING=ON -DENABLE_CLANG_TIDY=$(ENABLE_CLANG_TIDY) -DENABLE_TRACING=$(ENABLE_TRACING)
cmake --build build/benchmark -j $$(nproc)

benchmark: build-test-release
build/benchmark/tests/cactus_rt_tracing_benchmark

clean:
test ! -d build/test || cmake --build build/test --target clean
test ! -d build/benchmark || cmake --build build/benchmark --target clean
test ! -d build/debug || cmake --build build/debug --target clean
test ! -d build/release || cmake --build build/release --target clean

Expand Down

0 comments on commit e9a9948

Please sign in to comment.