Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

Disable optimizations for knn library during docker build #384

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions elasticsearch/docker/templates/Dockerfile.j2
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@
# express or implied. See the License for the specific language governing
# permissions and limitations under the License.

# Description:
# Description:
# Dockerfile for building the docker image for open distro for elasticsearch
#
#
# This file was generated from the template at templates/Dockerfile.j2

################################################################################
Expand Down Expand Up @@ -92,6 +92,8 @@ RUN set -ex; \
\
&& cd /usr/share/elasticsearch/k-NN/jni \
\
&& sed -i 's/-march=native/-march=x86-64/g' external/nmslib/similarity_search/CMakeLists.txt \
\
&& cmake . \
\
&& make \
Expand Down