polaris.build.omega.make_build_script

polaris.build.omega.make_build_script(machine, compiler, branch, build_dir, debug, cmake_flags, account=None, build_command=None)[source]

Make a shell script for checking out Omega and its submodules and building Omega.

Parameters:
  • machine (str) – The machine to build on.

  • compiler (str) – The compiler to build with.

  • branch (str) – The branch of Omega to build.

  • build_dir (str) – The directory in which to build Omega.

  • debug (bool) – Whether to build in debug mode.

  • cmake_flags (str) – Additional flags to pass to CMake.

  • account (str, optional) – The account to use for the build.

  • build_command (str, optional) – The command that builds Omega once CMake has configured it, run from build_dir. The default is Omega’s own ./omega_build.sh. The CTest utility passes a ctest -S command here so the build is recorded for CDash.

Returns:

script_filename (str, optional) – The filename of the generated build script.