Merge commit 'd803bfe2b1fe7f5e219e50ac20d6801a0a58ac75' as 'vendor/ruvector'
This commit is contained in:
27
vendor/ruvector/npm/packages/spiking-neural/binding.gyp
vendored
Normal file
27
vendor/ruvector/npm/packages/spiking-neural/binding.gyp
vendored
Normal file
@@ -0,0 +1,27 @@
|
||||
{
|
||||
"targets": [
|
||||
{
|
||||
"target_name": "snn_simd",
|
||||
"sources": ["native/snn_simd.cpp"],
|
||||
"include_dirs": [
|
||||
"<!@(node -p \"require('node-addon-api').include\")"
|
||||
],
|
||||
"defines": ["NAPI_DISABLE_CPP_EXCEPTIONS"],
|
||||
"cflags!": ["-fno-exceptions"],
|
||||
"cflags_cc!": ["-fno-exceptions"],
|
||||
"cflags_cc": ["-std=c++17", "-O3", "-msse4.1", "-mavx", "-ffast-math"],
|
||||
"xcode_settings": {
|
||||
"GCC_ENABLE_CPP_EXCEPTIONS": "YES",
|
||||
"CLANG_CXX_LIBRARY": "libc++",
|
||||
"MACOSX_DEPLOYMENT_TARGET": "10.15",
|
||||
"OTHER_CFLAGS": ["-msse4.1", "-mavx", "-O3"]
|
||||
},
|
||||
"msvs_settings": {
|
||||
"VCCLCompilerTool": {
|
||||
"ExceptionHandling": 1,
|
||||
"AdditionalOptions": ["/arch:AVX"]
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user