-
Notifications
You must be signed in to change notification settings - Fork 1
/
Configfile
63 lines (55 loc) · 1.99 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
58
59
60
61
62
63
# This strives to build my C++ code in the safest way possible.
LANGUAGES += c++
COMPILEOPTS += -Wall
COMPILEOPTS += -Wextra
COMPILEOPTS += -Werror
COMPILEOPTS += -std=c++0x
COMPILEOPTS += -pedantic
# Staticly link against some internal libraries
LANGUAGES += c++
COMPILEOPTS += -Isrc
# BASH is used to run tests
LANGUAGES += bash
# This reads the version information from git and makes it availiable
# for all the other code.
GENERATE += version.h
# Here's a simple little wrapper that calls the compiler a bunch of
# times in order to produce a result.
BINARIES += flo-llvm
LINKOPTS += -DLLVM_BINDIR=`ppkg-config --ccmd llvm --bindir`
SOURCES += wrapper.bash
# This binary generates code that matches what "flo-torture" will
# output -- in other words, it _really_ only generates in/out nodes
# into the VCD file.
BINARIES += flo-llvm-torture
COMPILEOPTS += `ppkg-config flo --cflags`
LINKOPTS += `ppkg-config flo --libs`
COMPILEOPTS += -DEXPORT_FEW_NODES
COMPILEOPTS += -DTORTURE_OUTPUT
SOURCES += main-c++.c++
CONFIG += patterns
CONFIG += torture
# This binary generates code that's compatible with Chisel's "debug"
# mode, which puts many signals in the VCD dump.
BINARIES += flo-llvm-release
COMPILEOPTS += `ppkg-config flo --cflags`
LINKOPTS += `ppkg-config flo --libs`
COMPILEOPTS += -DEXPORT_FEW_NODES
SOURCES += main-c++.c++
CONFIG += designs
# This binary generates code that's compatible with Chisel's "debug"
# mode, which puts many signals in the VCD dump.
BINARIES += flo-llvm-debug
COMPILEOPTS += `ppkg-config flo --cflags`
LINKOPTS += `ppkg-config flo --libs`
COMPILEOPTS += -DEXPORT_MANY_NODES
SOURCES += main-c++.c++
CONFIG += designs
# This binary generates code that emits a VCD dump that has every node
# (even temporaries) inside it.
BINARIES += flo-llvm-vcdtmp
COMPILEOPTS += `ppkg-config flo --cflags`
LINKOPTS += `ppkg-config flo --libs`
COMPILEOPTS += -DEXPORT_ALL_NODES
SOURCES += main-c++.c++
#CONFIG += designs