Skip to content

Commit

Permalink
opensource neon code
Browse files Browse the repository at this point in the history
Signed-off-by: Yusheng.Ma <[email protected]>
  • Loading branch information
Presburger committed Oct 11, 2023
1 parent 12db789 commit 320fd2e
Show file tree
Hide file tree
Showing 5 changed files with 720 additions and 6 deletions.
10 changes: 5 additions & 5 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,19 +29,19 @@ repos:
language: system
types: [shell]
always_run: true
stages: [pre-push]
stages: [commit]
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.3.0
rev: v4.5.0
hooks:
- id: check-added-large-files
- id: check-merge-conflict
- id: end-of-file-fixer
- id: trailing-whitespace
- repo: https://github.com/pocc/pre-commit-hooks
rev: master
rev: v1.3.5
hooks:
- id: clang-format
args: [-style=file]
- id: clang-tidy
args: ["--config-file=.clang-tidy", "-p=build/compile_commands.json"]
stages: [pre-push]
args: ["-p=build/compile_commands.json"]
stages: [commit]
2 changes: 1 addition & 1 deletion cmake/libs/libfaiss.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ if(__X86_64)
endif()

if(__AARCH64)
set(UTILS_SRC src/simd/hook.cc src/simd/distances_ref.cc)
set(UTILS_SRC src/simd/hook.cc src/simd/distances_ref.cc src/simd/distances_neon.cc)
add_library(knowhere_utils STATIC ${UTILS_SRC})
target_link_libraries(knowhere_utils PUBLIC glog::glog)
endif()
Expand Down
Loading

0 comments on commit 320fd2e

Please sign in to comment.