Skip to content

Commit

Permalink
fix: execstack
Browse files Browse the repository at this point in the history
  • Loading branch information
chidiwilliams committed Jan 3, 2024
1 parent 5456774 commit b52d7b2
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions snap/snapcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ parts:
build-packages:
- portaudio19-dev
- python3-poetry
- execstack
stage-packages:
# Audio
- ffmpeg
Expand All @@ -107,6 +108,10 @@ parts:
mkdir $CRAFT_PART_INSTALL/buzz
cp $CRAFT_PART_BUILD/buzz/whisper_cpp.py $CRAFT_PART_INSTALL/buzz/
cp $CRAFT_PART_BUILD/buzz/libwhisper.so $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
execstack --clear-execstack $CRAFT_PART_INSTALL/lib/python3.10/site-packages/torch/lib/libtorch_cpu.so
after: [ desktop-qt5 ]

desktop-file:
Expand Down

0 comments on commit b52d7b2

Please sign in to comment.