Skip to content

Commit

Permalink
Revert "Update Build Script to build libraries with SIMD (#1451) (#1454
Browse files Browse the repository at this point in the history
…)" (#1460)

This reverts commit d5b4237.

Signed-off-by: Naveen Tatikonda <navtat@amazon.com>
  • Loading branch information
naveentatikonda authored Feb 6, 2024
1 parent b899ed0 commit 543834a
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions scripts/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -148,20 +148,6 @@ cd $distributions
zip -ur $zipPath lib
cd $work_dir

if [ "$PLATFORM" != "windows" ]; then
echo "Building k-NN libraries after enabling SIMD"
./gradlew :buildJniLib -Dsimd.enabled=true
mkdir $distributions/lib_simd
cp -v $ompPath $distributions/lib_simd
cp -v ./jni/release/${libPrefix}* $distributions/lib_simd
ls -l $distributions/lib_simd

# Add lib_simd directory to the k-NN plugin zip
cd $distributions
zip -ur $zipPath lib_simd
cd $work_dir
fi

echo "COPY ${distributions}/*.zip"
mkdir -p $OUTPUT/plugins
cp -v ${distributions}/*.zip $OUTPUT/plugins
Expand Down

0 comments on commit 543834a

Please sign in to comment.