Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] CI failure in Build and Test k-NN Plugin on MacOS #1660

Closed
junqiu-lei opened this issue Apr 29, 2024 · 1 comment
Closed

[BUG] CI failure in Build and Test k-NN Plugin on MacOS #1660

junqiu-lei opened this issue Apr 29, 2024 · 1 comment
Labels
bug Something isn't working Infrastructure Changes to infrastructure, testing, CI/CD, pipelines, etc.

Comments

@junqiu-lei
Copy link
Member

What is the bug?

[  4%] Building CXX object external/faiss/faiss/CMakeFiles/faiss.dir/AutoTune.cpp.o
In file included from /Users/runner/work/k-NN/k-NN/jni/external/faiss/faiss/AutoTune.cpp:25:
In file included from /Users/runner/work/k-NN/k-NN/jni/external/faiss/faiss/IndexHNSW.h:17:
/Users/runner/work/k-NN/k-NN/jni/external/faiss/faiss/impl/HNSW.h:14:10: fatal error: 'omp.h' file not found
#include <omp.h>
         ^~~~~~~
1 error generated.
make[3]: *** [external/faiss/faiss/CMakeFiles/faiss.dir/AutoTune.cpp.o] Error 1
make[2]: *** [external/faiss/faiss/CMakeFiles/faiss.dir/all] Error 2
make[1]: *** [CMakeFiles/opensearchknn_faiss.dir/rule] Error 2
make: *** [opensearchknn_faiss] Error 2

Task :buildJniLib FAILED
FAILURE: Build failed with an exception.

How can one reproduce the bug?
Failure example: Build and Test k-NN Plugin on MacOS (11)

What is the expected behavior?
No failure

What is your host/environment?
Main branch and 2.x branch

Do you have any screenshots?
N/A

Do you have any additional context?
N/A

@junqiu-lei
Copy link
Member Author

https://github.com/actions/runner-images?tab=readme-ov-file#available-images shows macos-latest as being an ARM platform recently.

Related issue: actions/runner-images#9741

@junqiu-lei junqiu-lei added the Infrastructure Changes to infrastructure, testing, CI/CD, pipelines, etc. label May 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Infrastructure Changes to infrastructure, testing, CI/CD, pipelines, etc.
Projects
None yet
Development

No branches or pull requests

2 participants