[test-suite] r338289 - [test-suite] Add Makefile for Rodinia Benchmarks

Brian Homerding via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 30 12:06:58 PDT 2018


Author: homerdin
Date: Mon Jul 30 12:06:58 2018
New Revision: 338289

URL: http://llvm.org/viewvc/llvm-project?rev=338289&view=rev
Log:
[test-suite] Add Makefile for Rodinia Benchmarks

Including a Makefile for the Rodinia directory and corrections the
the srad and hotspot Makesfiles.

Differential Revision: https://reviews.llvm.org/D49896

Added:
    test-suite/trunk/MultiSource/Benchmarks/Rodinia/Makefile
Modified:
    test-suite/trunk/MultiSource/Benchmarks/Rodinia/hotspot/Makefile
    test-suite/trunk/MultiSource/Benchmarks/Rodinia/srad/Makefile

Added: test-suite/trunk/MultiSource/Benchmarks/Rodinia/Makefile
URL: http://llvm.org/viewvc/llvm-project/test-suite/trunk/MultiSource/Benchmarks/Rodinia/Makefile?rev=338289&view=auto
==============================================================================
--- test-suite/trunk/MultiSource/Benchmarks/Rodinia/Makefile (added)
+++ test-suite/trunk/MultiSource/Benchmarks/Rodinia/Makefile Mon Jul 30 12:06:58 2018
@@ -0,0 +1,5 @@
+# MultiSource/Rodinia Makefile: Build all subdirectories automatically
+
+LEVEL = ../../..
+PARALLEL_DIRS := srad hotspot
+include $(LEVEL)/Makefile.programs

Modified: test-suite/trunk/MultiSource/Benchmarks/Rodinia/hotspot/Makefile
URL: http://llvm.org/viewvc/llvm-project/test-suite/trunk/MultiSource/Benchmarks/Rodinia/hotspot/Makefile?rev=338289&r1=338288&r2=338289&view=diff
==============================================================================
--- test-suite/trunk/MultiSource/Benchmarks/Rodinia/hotspot/Makefile (original)
+++ test-suite/trunk/MultiSource/Benchmarks/Rodinia/hotspot/Makefile Mon Jul 30 12:06:58 2018
@@ -1,8 +1,10 @@
-LEVEL = ../../../..
-LIBS += -lm
+LEVEL    = ../../../..
+LIBS    += -lm
 LDFLAGS += -lm
 PROG     = hotspot
+CFLAGS  += -I$(PROJ_SRC_DIR)/../Common
+Source   = hotspotKernel.c main.c ../Common/glibc_compat_rand.c
 
 FP_ABSTOLERANCE :=  0.00001
 
-include	../../Makefile.multisrc
+include	$(LEVEL)/MultiSource/Makefile.multisrc

Modified: test-suite/trunk/MultiSource/Benchmarks/Rodinia/srad/Makefile
URL: http://llvm.org/viewvc/llvm-project/test-suite/trunk/MultiSource/Benchmarks/Rodinia/srad/Makefile?rev=338289&r1=338288&r2=338289&view=diff
==============================================================================
--- test-suite/trunk/MultiSource/Benchmarks/Rodinia/srad/Makefile (original)
+++ test-suite/trunk/MultiSource/Benchmarks/Rodinia/srad/Makefile Mon Jul 30 12:06:58 2018
@@ -1,9 +1,11 @@
-LEVEL = ../../../..
-LIBS += -lm
+LEVEL    = ../../../..
+LIBS    += -lm
 LDFLAGS += -lm
 PROG     = srad
+CFLAGS  += -I$(PROG_SRC_DIR)/../Common
+Source   = sradKernel.c main.c ../Common/glibc_compat_rand.c 
 
 FP_ABSTOLERANCE :=  0.00001
 
-include	../../Makefile.multisrc
+include	$(LEVEL)/MultiSource/Makefile.multisrc
 




More information about the llvm-commits mailing list