Clean up benchmarks; support uarch-specific counters
[riscv-tests.git] / benchmarks / dgemm / bmark.mk
index 5a262427252d12be2a395c4092a0e750545dc6d0..11d8656adfb4d088aaa0b4021464fc11ba73eecd 100644 (file)
@@ -10,6 +10,7 @@
 
 dgemm_c_src = \
        dgemm_main.c \
+       syscalls.c \
 
 dgemm_riscv_src = \
        crt.S \
@@ -23,7 +24,7 @@ $(dgemm_host_bin) : $(dgemm_c_src)
 
 dgemm_riscv_bin = dgemm.riscv
 $(dgemm_riscv_bin) : $(dgemm_c_objs) $(dgemm_riscv_objs)
-       $(RISCV_LINK) $(dgemm_c_objs) $(dgemm_riscv_objs) -o $(dgemm_riscv_bin)
+       $(RISCV_LINK) $(dgemm_c_objs) $(dgemm_riscv_objs) -o $(dgemm_riscv_bin) $(RISCV_LINK_OPTS)
 
 junk += $(dgemm_c_objs) $(dgemm_riscv_objs) \
         $(dgemm_host_bin) $(dgemm_riscv_bin)