def try_march_flag(flags):
 test_code = textwrap.dedent('            #include <cmath>\n            using namespace std;\n            int main(int argc, char** argv)\n            {\n                float Nx = -1.3787706641;\n                float Sx = 25.0;\n                double r = Nx + sqrt(Sx);\n                if (abs(r - 3.621229) > 0.01)\n                {\n                    return -1;\n                }\n                return 0;\n            }\n            ')
 cflags = (flags + [('-L' + d) for d in theano.gof.cmodule.std_lib_dirs()])
 (compilation_result, execution_result) = GCC_compiler.try_compile_tmp(test_code, tmp_prefix='try_march_', flags=cflags, try_run=True)
 return (compilation_result, execution_result)

def try_march_flag ( flags ) : test_code = textwrap . dedent ( '            #include <cmath>\n            using namespace std;\n            int main(int argc, char** argv)\n            {\n                float Nx = -1.3787706641;\n                float Sx = 25.0;\n                double r = Nx + sqrt(Sx);\n                if (abs(r - 3.621229) > 0.01)\n                {\n                    return -1;\n                }\n                return 0;\n            }\n            ' ) cflags = ( flags + [ ( '-L' + d ) for d in theano . gof . cmodule . std_lib_dirs ( ) ] ) ( compilation_result , execution_result ) = GCC_compiler . try_compile_tmp ( test_code , tmp_prefix = 'try_march_' , flags = cflags , try_run = True ) return ( compilation_result , execution_result )
try to compile and run a simple c snippet using current flags .