-
Notifications
You must be signed in to change notification settings - Fork 1
/
binding.gyp
67 lines (67 loc) · 1.77 KB
/
binding.gyp
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
{
'targets': [
{
'target_name': 'addon',
'sources': [
'../../tmp/linear_model.cc',
'../../tmp/particle.cc',
'../../tmp/fastslam.cc',
'addon.cc'
],
'include_dirs': [
'src',
'.',
'/opt/intel/compilers_and_libraries/linux/mkl/include/',
'/usr/include/hdf5/serial'
],
"link_settings": {
"libraries": [
"-lmkl_core",
"-lmkl_def",
"-lmkl_intel_thread",
"-lmkl_core",
"-liomp5",
"-larmadillo",
"-lm",
"-ldl",
"-lhdf5_cpp",
"-lhdf5"
],
"ldflags": [
"-L.",
"-L/app",
"-L/usr/local/hdf5/lib",
"-L./build/Release"
"-L./build/Release/obj.target",
"-L/opt/intel/compilers_and_libraries/linux/mkl/lib/intel64_lin",
"-L/opt/intel/compilers_and_libraries/linux/lib/intel64",
"-L/usr/lib/x86_64-linux-gnu/hdf5/serial",
"-Wl,-rpath=./build/Release",
"-Wl,-rpath=/app",
"-Wl,-rpath,@loader_path",
"-Wl,-rpath=/usr/local/lib64",
"-Wl,-rpath=/usr/local/lib",
"-Wl,-rpath=/usr/lib",
"-Wl,-rpath=/opt/intel/compilers_and_libraries/linux/mkl/lib/intel64_lin",
"-Wl,-rpath=/opt/intel/compilers_and_libraries/linux/lib/intel64"
]
},
'configurations': {
'Release': {
'cflags_cc': [
'-O3',
'-std=c++17',
'-m64'
],
'cflags_cc!': [
'-fno-rtti',
'-pthread',
'-fno-omit-frame-pointer',
'-fno-exceptions',
'-std=gnu++1y',
]
}
}
}
]
}