theano/gof/cmodule.py
def _try_flags(cls, flag_list, preambule="", body="",
                   try_run=False, output=False, compiler=None,
                   comp_args=True):
        """
        Try to compile a dummy file with these flags.

        Returns True if compilation was successful, False if there
        were errors.

        Compile arguments from the Compiler's compile_args() method are added
        if comp_args=True.

        """
        if not compiler:
            return False

        code = b("""
        %(preambule)s
        int main(int argc, char** argv)
        {
            %(body)s
            return 0;
        }
        """ % locals())
        return cls._try_compile_tmp(code, tmp_prefix='try_flags_',
                                    flags=flag_list, try_run=try_run,
                                    output=output, compiler=compiler,
                                    comp_args=comp_args)

        Try to compile a dummy file with these flags.

        Returns True if compilation was successful, False if there
        were errors.

        Compile arguments from the Compiler's compile_args() method are added
        if comp_args=True.

        
Try to compile a dummy file with these flags.
Returns True if compilation was successful, False if there
were errors.

Compile arguments from the Compiler's compile_args() method are added
if comp_args=True.
Try to compile a dummy file with these flags . Returns True if compilation was successful False if there were errors . Compile arguments from the Compiler ' s compile_args () method are added if comp_args = True .
def _try_flags(cls, flag_list, preambule="", body="",
                   try_run=False, output=False, compiler=None,
                   comp_args=True):
        if not compiler:
            return False
        code = b("""
        %(preambule)s
        int main(int argc, char** argv)
        {
            %(body)s
            return 0;
        }
        """ % locals())
        return cls._try_compile_tmp(code, tmp_prefix='try_flags_',
                                    flags=flag_list, try_run=try_run,
                                    output=output, compiler=compiler,
                                    comp_args=comp_args)
def _try_flags ( cls , flag_list , preambule = "" , body = "" , try_run = False , output = False , compiler = None , comp_args = True ) : if not compiler : return False code = b ( """
        %(preambule)s
        int main(int argc, char** argv)
        {
            %(body)s
            return 0;
        }
        """ % locals ( ) ) return cls . _try_compile_tmp ( code , tmp_prefix = 'try_flags_' , flags = flag_list , try_run = try_run , output = output , compiler = compiler , comp_args = comp_args )
Try to compile a dummy file with these flags.
Try to compile a dummy file with these flags .
"""
        Try to compile a dummy file with these flags.

        Returns True if compilation was successful, False if there
        were errors.

        Compile arguments from the Compiler's compile_args() method are added
        if comp_args=True.

        """
cls
flag_list
preambule
body
try_run
output
compiler
comp_args