<s> """<STR_LIT>""" <EOL> import argparse <EOL> import os <EOL> import sys <EOL> sys . path . append ( os . path . join ( os . path . dirname ( __file__ ) , os . pardir , os . pardir , <EOL> os . pardir ) ) <EOL> import buildutil . common <EOL> import buildutil . linux <EOL> def main ( ) : <EOL> parser = argparse . ArgumentParser ( ) <EOL> buildutil . linux . BuildEnvironment . add_arguments ( parser ) <EOL> args = parser . parse_args ( ) <EOL> retval = - <NUM_LIT:1> <EOL> env = buildutil . linux . BuildEnvironment ( args ) <EOL> env . cmake_flags = '<STR_LIT>' <EOL> try : <EOL> env . git_clean ( ) <EOL> env . run_cmake ( ) <EOL> env . run_make ( ) <EOL> env . make_archive ( [ '<STR_LIT>' ] , '<STR_LIT>' ) <EOL> retval = <NUM_LIT:0> <EOL> except buildutil . common . Error as e : <EOL> print >> sys . stderr , '<STR_LIT>' % e . error_message <EOL> retval = e . error_code <EOL> except IOError as e : <EOL> print >> sys . stderr , '<STR_LIT>' % ( e . filename , <EOL> e . strerror ) <EOL> retval = - <NUM_LIT:1> <EOL> return retval <EOL> if __name__ == '<STR_LIT:__main__>' : <EOL> sys . exit ( main ( ) ) </s>
