Skip to content

How to generate python wheels

Hubert Balcerzak edited this page Oct 7, 2019 · 11 revisions

Python wheel generation process is not finished and is subject to changes in the near future.

Linux

  1. Update and commit wheel metadata (optional).
  2. Install docker.
  3. Run command sudo docker run --rm -v <local-output-dir>:/workspace/out hubertus248/kratoswheelbuilder-linux [branch] [number-of-cores]

[branch] - branch to compile. For exmaple master.

[number-of-cores] - number of cores assigned to the build. For example 4.

  1. Wait. Wheel files will appear in <local-output-dir>.

Windows

  1. Update and commit wheel metadata (optional).
  2. Install docker and enable windows containers.
  3. Run command docker run --rm --memory=<memory> --cpus=<number-of-cores> -v <local-output-dir>:c:\out hubertus248/kratoswheelbuilder-win <branch>

<memory> - maximum amount of RAM assigned to build container. Recomended value is 8g.

<number-of-cores> - number of cores assigned to the container. For example 4.

<branch> - branch to compile. For exmaple master.

  1. Wait. Wheel files will appear in <local-output-dir>.

Project information

Getting Started

Tutorials

Developers

Kratos structure

Conventions

Solvers

Debugging, profiling and testing

HOW TOs

Utilities

Kratos API

Kratos Structural Mechanics API

Clone this wiki locally