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

Commit

Permalink
Disable optimizations for knn library during docker build (#384)
Browse files Browse the repository at this point in the history
* disable optimizations for knn

* fix formatting

* test workflow

* Revert "test workflow"

This reverts commit 3604de6.

Co-authored-by: John Mazanec <jmazane@amazon.com>
  • Loading branch information
jmazanec15 and jmazanec15 committed Sep 10, 2020
1 parent 0cd24e3 commit d4c9cb3
Showing 1 changed file with 4 additions and 2 deletions.
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

0 comments on commit d4c9cb3

Please sign in to comment.