-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathHakefile
97 lines (96 loc) · 2.34 KB
/
Hakefile
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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
--------------------------------------------------------------------------
-- Copyright (c) 2014, ETH Zurich.
-- All rights reserved.
--
-- This file is distributed under the terms in the attached LICENSE file.
-- If you do not find this file, copies can be found by writing to:
-- ETH Zurich D-INFK, Universitaetstr. 6, CH-8092 Zurich. Attn: Systems Group.
--
--------------------------------------------------------------------------
[
build library {
target = "shl",
cFiles = [
"shoal/src/barrelfish/malloc.c",
"shoal/src/barrelfish/memcpy.c",
"shoal/src/barrelfish/machine.c",
"shoal/src/barrelfish/shl.c",
"contrib/pycrc/crc.c"
],
cxxFiles = [
"shoal/src/misc.cpp",
"shoal/src/shl.cpp",
"shoal/src/shl_array_conf.cpp",
"shoal/src/shl_array.cpp",
"shoal/src/shl_array_replicated.cpp",
-- "shoal/src/shl_cost.cpp",
"shoal/src/shl_timer.cpp",
"shoal/src/shl_multitimer.cpp",
"shoal/src/shl_array_wr-rep.cpp"
],
addCFlags = [
"-fopenmp"
],
addCxxFlags = [
"-fopenmp"
],
addIncludes = [
"shoal/inc/backend/barrelfish",
"shoal/inc",
"contrib/pycrc"
],
addLibraries = libDeps [
-- "bomp",
"bench",
"lua",
"numa",
"dma",
"pci"
],
architectures = [
"x86_64"
]
},
build library {
target = "shl",
cFiles = [
"shoal/src/barrelfish/malloc.c",
"shoal/src/barrelfish/memcpy.c",
"shoal/src/barrelfish/machine.c",
"shoal/src/barrelfish/shl.c",
"contrib/pycrc/crc.c"
],
cxxFiles = [
"shoal/src/misc.cpp",
"shoal/src/shl.cpp",
"shoal/src/shl_array_conf.cpp",
"shoal/src/shl_array.cpp",
"shoal/src/shl_array_replicated.cpp",
-- "shoal/src/shl_cost.cpp",
"shoal/src/shl_timer.cpp",
"shoal/src/shl_multitimer.cpp",
"shoal/src/shl_array_wr-rep.cpp"
],
addCFlags = [
"-fopenmp"
],
addCxxFlags = [
"-fopenmp"
],
addIncludes = [
"shoal/inc/backend/barrelfish",
"shoal/inc",
"contrib/pycrc"
],
addLibraries = libDeps [
--"bomp",
"bench",
"lua",
"numa",
"dma"
],
architectures = [
"k1om"
]
}
]