Skip to content

openfheorg/openfhe-numpy-packager

Repository files navigation

This repo is a collection of scripts to build a python wheel for openfhe-numpy.

How to build a new wheel

Docker build

  1. Adjust settings in ci-vars.sh as needed and push the file to the main branch
  2. Run build_openfhe_numpy_wheel_docker_ubu_24.sh for Ubuntu 24.04 or the build script for your operaing system (if available)
    • The script builds a new docker and the wheel in it.
    • When the wheel is ready, the script creates a new directory (wheel_<operating system name>. ex. "wheel_ubuntu_24.04" for Ubuntu 24.04) on your local machine and copies the *.whl and *.tar.gz files from the docker to that directory.

Manual build

  1. Prerequisites:
    Before building, make sure you have installed all dependencies (do not clone these repos):
  2. Build:
    • Adjust settings in ci-vars.sh as needed.
    • Run build_openfhe_numpy_wheel.sh.
    • The package built for distribution will be available in ./build/dist.
    • The wheel includes a file openfhe/build-config.txt with all settings from ci-vars.sh used to build the wheel.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published