-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathEdgeVectorStore.podspec
More file actions
44 lines (38 loc) · 1.57 KB
/
Copy pathEdgeVectorStore.podspec
File metadata and controls
44 lines (38 loc) · 1.57 KB
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
require "json"
pkg = JSON.parse(File.read(File.join(__dir__, "package.json")))
Pod::Spec.new do |s|
s.name = "EdgeVectorStore"
s.version = pkg["version"]
s.summary = pkg["description"]
s.homepage = pkg["homepage"] || "https://github.com/sukshm/edge-vector-store"
s.license = pkg["license"]
s.author = pkg["author"] || "sukshm"
s.source = { :git => ".git", :tag => s.version }
s.ios.deployment_target = "13.0"
# ── C++ sources ────────────────────────────────────────────
s.source_files = [
"cpp/**/*.{h,cpp}",
"ios/**/*.{h,mm}",
"third_party/usearch/c/*.{h,cpp}",
"third_party/usearch/include/**/*.hpp",
"third_party/miniz/*.{h,c}",
]
# ── Include paths ──────────────────────────────────────────
s.header_mappings_dir = "."
s.pod_target_xcconfig = {
"HEADER_SEARCH_PATHS" => [
"\"$(PODS_TARGET_SRCROOT)/cpp\"",
"\"$(PODS_TARGET_SRCROOT)/third_party/usearch/include\"",
"\"$(PODS_TARGET_SRCROOT)/third_party/usearch/c\"",
"\"$(PODS_TARGET_SRCROOT)/third_party/miniz\"",
].join(" "),
"CLANG_CXX_LANGUAGE_STANDARD" => "c++17",
"GCC_PREPROCESSOR_DEFINITIONS" => [
"USEARCH_USE_SIMSIMD=0",
"USEARCH_USE_FP16LIB=0",
"USEARCH_USE_OPENMP=0",
].join(" "),
}
# React Native dependencies (auto-configures TurboModule/Codegen support)
install_modules_dependencies(s)
end