-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathMakefile
More file actions
25 lines (19 loc) · 830 Bytes
/
Makefile
File metadata and controls
25 lines (19 loc) · 830 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# We use a branch of Speckle (https://github.com/ccelio/Speckle) to cross
# compile the binaries for SPEC2017. These can be compiled locally on a machine
# with the Spec installation, and the overlay directories
# ($SPECKLE_DIR/build/overlay) can be moved EC2
# Default to the submodule
SPECKLE_DIR ?= speckle
#Default to ref input size for SPEC17
INPUT ?= ref
#TODO: Provide runscripts for fp{speed, rate}
spec17_suites = intrate intspeed
spec17_rootfs_dirs = $(patsubst %, spec17-%, $(spec17-suites))
$(SPECKLE_DIR)/build/overlay/%/$(INPUT):
cd $(SPECKLE_DIR) && ./gen_binaries.sh --compile --suite $* --input $(INPUT)
spec17-%: $(SPECKLE_DIR)/build/overlay/%/$(INPUT);
echo $^
clean:
rm -rf $(SPECKLE_DIR)/build
.PHONY: $(spec17_overlays) $(spec17_rootfs_dirs) clean
.PRECIOUS: $(SPECKLE_DIR)/build/overlay/%/$(INPUT)