forked from ucb-bar/chisel-torture
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Configfile
57 lines (48 loc) · 1.51 KB
/
Configfile
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
LANGUAGES += c++
COMPILEOPTS += -Wall
COMPILEOPTS += -Wextra
COMPILEOPTS += -Werror
COMPILEOPTS += -pedantic
COMPILEOPTS += -std=c++0x
# This is the only way I know how to make C++ use internal libraries,
# unfortunately...
LANGUAGES += c++
COMPILEOPTS += -Isrc
# Everything here actually depends on libflo, as that's the graph
# format we're using (even when outputing Chisel code).
LANGUAGES += c++
COMPILEOPTS += `ppkg-config flo --cflags`
LINKOPTS += `ppkg-config flo --libs`
# GMP doesn't have a pkg-config file, which IMHO is a bug!
LANGUAGES += c++
LINKOPTS += -lgmp
LINKOPTS += -lgmpxx
# The test scripts use BASH
LANGUAGES += bash
GENERATE += version.h
# A Chisel (and Flo) torture tester. This mixes together different
# Chisel patterns and produces a large Chisel graph.
BINARIES += chisel-torture
SOURCES += torture.c++
COMPILEOPTS += -DCHISEL
CONFIG += auto_patterns
CONFIG += auto_seed
BINARIES += flo-torture
SOURCES += torture.c++
COMPILEOPTS += -DFLO
CONFIG += auto_patterns
CONFIG += auto_seed
# Allows for examination of single patterns. There's two versions of
# this: one that outputs to Flo files and out that outputs to Chisel
# files.
BINARIES += chisel-patterns
SOURCES += patterns.c++
COMPILEOPTS += -DCHISEL
CONFIG += auto_patterns
CONFIG += auto_test_patterns
BINARIES += flo-patterns
SOURCES += patterns.c++
COMPILEOPTS += -DFLO
CONFIG += auto_patterns
TESTSRC += all_patterns.bash
CONFIG += auto_test_patterns