mirror of
https://github.com/hermitcore/libhermit.git
synced 2025-03-09 00:00:03 +01:00
22 lines
555 B
Text
22 lines
555 B
Text
![]() |
cmake_minimum_required(VERSION 3.7)
|
||
|
include(../../cmake/HermitCore-Application.cmake)
|
||
|
|
||
|
project(hermit_benchmarks C)
|
||
|
|
||
|
add_executable(basic basic.c)
|
||
|
target_link_libraries(basic pthread)
|
||
|
|
||
|
add_executable(hg hg.c hist.c rdtsc.c run.c init.c opt.c report.c setup.c)
|
||
|
|
||
|
add_executable(netio netio.c)
|
||
|
|
||
|
add_executable(RCCE_pingpong RCCE_pingpong.c)
|
||
|
target_link_libraries(RCCE_pingpong ircce)
|
||
|
|
||
|
add_executable(stream stream.c)
|
||
|
target_compile_options(stream PRIVATE -fopenmp)
|
||
|
target_link_libraries(stream -fopenmp)
|
||
|
|
||
|
# deployment
|
||
|
install_local_targets(extra/benchmarks)
|