native-vector-store 0.3.4 → 0.3.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/binding.gyp +10 -2
- package/docs/index.html +1 -1
- package/package.json +1 -1
- package/prebuilds/darwin-arm64/native-vector-store.node +0 -0
- package/prebuilds/darwin-x64/native-vector-store.node +0 -0
- package/prebuilds/linux-arm64/native-vector-store.node +0 -0
- package/prebuilds/linux-x64/native-vector-store.node +0 -0
- package/prebuilds/linux-x64-musl/napi-v9/native-vector-store.node +0 -0
- package/prebuilds/linux-x64-musl/native-vector-store.node +0 -0
- package/prebuilds/win32-x64/native-vector-store.node +0 -0
package/README.md
CHANGED
@@ -49,7 +49,7 @@ npm install native-vector-store
|
|
49
49
|
- **Windows**: Included with Visual C++ runtime
|
50
50
|
|
51
51
|
Prebuilt binaries are included for:
|
52
|
-
- Linux (x64, arm64, musl/Alpine)
|
52
|
+
- Linux (x64, arm64, musl/Alpine) - x64 builds are AWS Lambda compatible (no AVX-512)
|
53
53
|
- macOS (x64, arm64/Apple Silicon)
|
54
54
|
- Windows (x64)
|
55
55
|
|
package/binding.gyp
CHANGED
@@ -13,7 +13,6 @@
|
|
13
13
|
"cflags_cc": [
|
14
14
|
"-std=c++17",
|
15
15
|
"-O3",
|
16
|
-
"-march=native",
|
17
16
|
"-fno-exceptions"
|
18
17
|
],
|
19
18
|
"defines": ["NAPI_DISABLE_CPP_EXCEPTIONS"],
|
@@ -37,7 +36,16 @@
|
|
37
36
|
]
|
38
37
|
}],
|
39
38
|
["OS=='linux'", {
|
40
|
-
"cflags_cc": [
|
39
|
+
"cflags_cc": [
|
40
|
+
"-fopenmp",
|
41
|
+
# AWS Lambda compatibility: target x86-64-v3 (up to AVX2) but no AVX-512
|
42
|
+
"-march=x86-64-v3",
|
43
|
+
"-mno-avx512f",
|
44
|
+
"-mno-avx512cd",
|
45
|
+
"-mno-avx512bw",
|
46
|
+
"-mno-avx512dq",
|
47
|
+
"-mno-avx512vl"
|
48
|
+
],
|
41
49
|
"libraries": ["-lgomp"]
|
42
50
|
}],
|
43
51
|
["OS=='win'", {
|
package/docs/index.html
CHANGED
@@ -90,7 +90,7 @@
|
|
90
90
|
</ul>
|
91
91
|
<p>Prebuilt binaries are included for:</p>
|
92
92
|
<ul>
|
93
|
-
<li>Linux (x64, arm64, musl/Alpine)</li>
|
93
|
+
<li>Linux (x64, arm64, musl/Alpine) - x64 builds are AWS Lambda compatible (no AVX-512)</li>
|
94
94
|
<li>macOS (x64, arm64/Apple Silicon)</li>
|
95
95
|
<li>Windows (x64)</li>
|
96
96
|
</ul>
|
package/package.json
CHANGED
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|