polaris.build.omega.make_build_script
- polaris.build.omega.make_build_script(machine, compiler, branch, build_dir, debug, clean, cmake_flags, account=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.
clean (bool) – Whether to clean the build directory before building.
cmake_flags (str) – Additional flags to pass to CMake.
account (str, optional) – The account to use for the build.
- Returns:
script_filename (str, optional) – The filename of the generated build script.