Skip to content

Building Steppable (build.py)

Andy Zhang edited this page Aug 22, 2024 · 5 revisions

Building Steppable (build.py)

On platforms where Python is available, you can use the build.py script to build Steppable. It is a simple script that can replace the need for CMake, Make, and other build tools.

Get Started

To get started, you would need:

Software Purpose Alternatives Required?
LLVM Clang C++ Compiler GCC, MSVC... YES
Python Building None YES
Git Downloading Download as Zip NO

First, clone the repository using the command:

$ git clone https://github.com/ZCG-coder/Steppable.git
Cloning into Steppable
...

For more information on getting the source code, see Getting the Source Code.

Then, invoke Python to run the build script:

$ python build.py
[1/5|20%] Building add.cpp.o
...

The script will generate a new directory called Steppable.build, structured as follows:

Steppable.build
├── bin -- Executables.
│   ├── ...
├── lib -- Library files.
│   ├── libbase.a
│   ├── libcalc.a
│   └── libutil.a
├── obj.temp -- Temporary object files, generated during the compilation.
│   ├── base.build
│   │   ├── ...
│   ├── calc.build
│   │   ├── ...
│   └── ...
├── status.json -- Cache values for the build.
└── status.log -- Build log.

Contents

Introduction

Contributing

Building

Development

API Documentation

Others

  • Performance - Some benchmarks of Steppable for reference
  • Status - Status of Steppable, at a glance
Clone this wiki locally