Skip to content

Open Source alternative to Algolia + Pinecone and an Easier-to-Use alternative to ElasticSearch ⚡ 🔍 ✨ Fast, typo tolerant, in-memory fuzzy Search Engine for building delightful search experiences

Fix snowball bazel file for MacOS (#1566)

Ozan Armağan670b97dbcddd
diff --git a/bazel/snowball.BUILD b/bazel/snowball.BUILD
index 975d5e95..7524c8d2 100644
--- a/bazel/snowball.BUILD
+++ b/bazel/snowball.BUILD
@@ -23,6 +23,12 @@ make(
lib_source = "//:snowball_src",
out_static_libs = ["libstemmer.a"],
out_include_dir = "include",
+ env = select({
+ "@platforms//os:macos": {
+ "AR": "/usr/bin/ar",
+ },
+ "//conditions:default": {},
+ }),
args= ["-j12"],
tags = ["no-sandbox"],
targets = [""],