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
C++ algoliadatastoreelasticsearchenterprise-searchfacetingfull-text-searchfuzzy-searchgeosearchin-memoryinstantsearchmerchandisingpineconesearchsearch-enginesemantic-searchsimilarity-searchsite-searchsynonymstypo-tolerancevector-search
Use LLD for linking.
Kishore Nalland73d13f5bd89
diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.ymlindex af855337..b660aea7 100644--- a/.github/workflows/tests.yml+++ b/.github/workflows/tests.yml@@ -34,6 +34,10 @@ jobs:sudo update-alternatives --install /usr/bin/c++ c++ /usr/bin/g++ 30sudo update-alternatives --set c++ /usr/bin/g+++ - name: Setup lld+ run: |+ sudo apt-get install -y lld+- name: Set up Bazeluses: bazelbuild/setup-bazelisk@v2diff --git a/BUILD b/BUILDindex 2c6f8666..37e75672 100644--- a/BUILD+++ b/BUILD@@ -90,8 +90,6 @@ ASAN_COPTS = ["-DASAN_BUILD"]--cc_binary(name = "typesense-server",srcs = [@@ -102,7 +100,7 @@ cc_binary("TYPESENSE_VERSION=\\\"$(TYPESENSE_VERSION)\\\""],linkopts = select({- "@platforms//os:linux": ["-static-libstdc++", "-static-libgcc"],+ "@platforms//os:linux": ["-static-libstdc++", "-static-libgcc", "-fuse-ld=lld"],"//conditions:default": [],}),copts = COPTS + select({@@ -199,7 +197,10 @@ cc_test("ROOT_DIR="],linkopts = select({- ":asan_mode": ["-fsanitize=address"],+ ":asan_mode": ["-fsanitize=address", "-fuse-ld=lld"],"//conditions:default": []+ }) + select({+ "@platforms//os:linux": ["-fuse-ld=lld"],+ "//conditions:default": [],}))\ No newline at end of file