Skip to content

Commit

Permalink
fix: snapcraft build
Browse files Browse the repository at this point in the history
  • Loading branch information
chidiwilliams committed Dec 27, 2023
1 parent d9e7430 commit a3d6e27
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions snap/snapcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -88,10 +88,10 @@ parts:
- libasound2-plugins
override-build: |
craftctl default
cp $CRAFT_PART_BUILD/buzz/libwhisper.so $CRAFT_PART_INSTALL/buzz/
cp $CRAFT_PART_BUILD/buzz/libwhisper.so $CRAFT_PART_INSTALL/usr/lib/
cp $CRAFT_PART_BUILD/whisper_cpp $CRAFT_PART_INSTALL/
mkdir $CRAFT_PART_INSTALL/buzz && cp $CRAFT_PART_BUILD/buzz/whisper_cpp.py $CRAFT_PART_INSTALL/buzz/
mkdir $CRAFT_PART_INSTALL/buzz
cp $CRAFT_PART_BUILD/buzz/libwhisper.so $CRAFT_PART_INSTALL/buzz/
cp $CRAFT_PART_BUILD/buzz/whisper_cpp.py $CRAFT_PART_INSTALL/buzz/
# execstack --clear-execstack $CRAFT_PART_INSTALL/lib/python3.10/site-packages/ctranslate2.libs/libctranslate2-7e7a7741.so.3.15.1
execstack --clear-execstack $CRAFT_PART_INSTALL/lib/python3.10/site-packages/onnxruntime/capi/onnxruntime_pybind11_state.cpython-310-x86_64-linux-gnu.so
Expand Down

0 comments on commit a3d6e27

Please sign in to comment.