forked from ashvardanian/SimSIMD
-
Notifications
You must be signed in to change notification settings - Fork 0
/
binding.gyp
36 lines (36 loc) · 1.03 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
{
"variables": {
"openssl_fips": ""
},
"targets": [
{
"target_name": "simsimd",
"sources": ["javascript/lib.c"],
"include_dirs": ["include"],
"defines": ["SIMSIMD_NATIVE_F16=0"],
"cflags": [
"-std=c11",
"-ffast-math",
"-Wno-unknown-pragmas",
"-Wno-maybe-uninitialized",
"-Wno-cast-function-type",
"-Wno-switch",
],
"conditions": [
["OS=='mac'", {
"xcode_settings": {
"MACOSX_DEPLOYMENT_TARGET": "11.0",
"OTHER_CFLAGS": [
"-arch arm64",
"-arch x86_64"
],
"OTHER_LDFLAGS": [
"-arch arm64",
"-arch x86_64"
]
}
}]
]
}
]
}