Skip to content

Latest commit

 

History

History

.ci

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

Usage example

Building spaCy for arm-v8a using python-for-android:

docker buildx build ./build-env --tag p4a/build-env
docker buildx build ./bundle    --tag p4a/spacy
docker run -v p4a-build-cache:/root/.ccache -v p4a-build-output:/root/.local/share p4a/spacy
# To use a local recipe folder (e.g. if it is not yet submitted), also include
# -v /path/to/local/p4a-recipes:/root/bundle/local_recipes

Then for the target platform you can grab:

  • python-bundle;
  • modules;
  • site-packages;
  • stdlib.zip;
  • etc.

from the p4a-build-output docker volume.

You can customize the build with Docker's --build-args:

For the build-env image:

For the bundle image:

...see other build options in the contained Dockerfiles.