Building on Linux#

relenv.build.linux.build_bzip2(env, dirs, logfp)#

Build bzip2.

Parameters
  • env (dict) – The environment dictionary

  • dirs (relenv.build.common.Dirs) – The working directories

  • logfp (file) – A handle for the log file

relenv.build.linux.build_gdbm(env, dirs, logfp)#

Build gdbm.

Parameters
  • env (dict) – The environment dictionary

  • dirs (relenv.build.common.Dirs) – The working directories

  • logfp (file) – A handle for the log file

relenv.build.linux.build_krb(env, dirs, logfp)#

Build kerberos.

Parameters
  • env (dict) – The environment dictionary

  • dirs (relenv.build.common.Dirs) – The working directories

  • logfp (file) – A handle for the log file

relenv.build.linux.build_libffi(env, dirs, logfp)#

Build libffi.

Parameters
  • env (dict) – The environment dictionary

  • dirs (relenv.build.common.Dirs) – The working directories

  • logfp (file) – A handle for the log file

relenv.build.linux.build_ncurses(env, dirs, logfp)#

Build ncurses.

Parameters
  • env (dict) – The environment dictionary

  • dirs (relenv.build.common.Dirs) – The working directories

  • logfp (file) – A handle for the log file

relenv.build.linux.build_python(env, dirs, logfp)#

Run the commands to build Python.

Parameters
  • env (dict) – The environment dictionary

  • dirs (relenv.build.common.Dirs) – The working directories

  • logfp (file) – A handle for the log file

relenv.build.linux.build_zlib(env, dirs, logfp)#

Build zlib.

Parameters
  • env (dict) – The environment dictionary

  • dirs (relenv.build.common.Dirs) – The working directories

  • logfp (file) – A handle for the log file

relenv.build.linux.main(args)#

The entrypoint into the linux build.

Parameters

args (argparse.Namespace) – The arguments for the build

relenv.build.linux.populate_env(env, dirs)#

Make sure we have the correct environment variables set.

Parameters
  • env (dict) – The environment dictionary

  • dirs (relenv.build.common.Dirs) – The working directories