relenv#

relenv

Options#

Relenv

usage: relenv [-h] [--version]
              {build,toolchain,create,fetch,check,buildenv} ...

Named Arguments#

--version

show program’s version number and exit

Sub-commands#

build#

Build Relenv Python Environments from source

relenv build [-h] [--arch {x86_64,aarch64}] [--clean]
             [--python {3.10.13,3.11.5}] [--no-cleanup] [--force-download]
             [--step STEP] [--check-versions]
Named Arguments#
--arch

Possible choices: x86_64, aarch64

The host architecture [default: “x86_64”]

Default: “x86_64”

--clean

Clean up before running the build. This option will remove the logs, src, build, and previous tarball.

Default: False

--python

Possible choices: 3.10.13, 3.11.5

The python version [default: “3.10.13”]

Default: “3.10.13”

--no-cleanup

By default the build directory is removed after the build tarball is created. Setting this option will leave the build directory in place.

Default: False

--force-download

Force downloading source tarballs even if they exist

Default: False

--step

A step to run alone, can use multiple of this argument. When this option is used to invoke builds, depenencies of the steps are ignored. This option should be used with care, as it’s easy to request a situation that has no chance of being succesful.

Default: []

--check-versions

Check for new version of python and it’s depenencies, then exit.

Default: False

toolchain#

Build Linux Toolchains

relenv toolchain [-h] [--arch {x86_64,aarch64}] [--clean] [--crosstool-only]
                 {build,fetch}
Positional Arguments#
command

Possible choices: build, fetch

What type of toolchain operation to perform: build or fetch

Default: “fetch”

Named Arguments#
--arch

Possible choices: x86_64, aarch64

Architecture to build or fetch

Default: “x86_64”

--clean

Whether or not to clean the toolchain directories

Default: False

--crosstool-only

When building only build Crosstool NG. Do not build toolchains

Default: False

create#

Create a Relenv environment. This will create a directory of the given name with newly created Relenv environment.

relenv create [-h] [--arch {x86_64,aarch64}] [--python {3.10.13,3.11.5}] name
Positional Arguments#
name

The name of the directory to create

Named Arguments#
--arch

Possible choices: x86_64, aarch64

The host architecture [default: “x86_64”]

Default: “x86_64”

--python

Possible choices: 3.10.13, 3.11.5

The python version [default: “3.10.13”]

Default: “3.10.13”

fetch#

Fetch relenv builds

relenv fetch [-h] [--arch {x86_64,aarch64}] [--python PYTHON]
Named Arguments#
--arch

Possible choices: x86_64, aarch64

Architecture to download. [default: “x86_64”]

Default: “x86_64”

--python

The python version [default: “3.10.13”]

Default: “3.10.13”

check#

Check relenv integrity

relenv check [-h]

buildenv#

Relenv build environment

relenv buildenv [-h]