#NEWLINE# def check_blas( context , optimized ) : #NEWLINE# #INDENT# conf = context . waf_context #NEWLINE# msg = ( 'Checking for %s (BLAS)' % optimized . upper ( ) ) #NEWLINE# kwargs = _BLAS_TO_KWARGS [ optimized ] #NEWLINE# kwargs . update ( { #NEWLINE# #INDENT# 'msg' : msg , #NEWLINE# 'uselib_store' : 'BLAS' , #NEWLINE# #UNINDENT# } ) #NEWLINE# try : #NEWLINE# #INDENT# conf . check_cc ( ** optimized ) #NEWLINE# conf . env . HAS_BLAS = True #NEWLINE# #UNINDENT# except waflib . Errors . ConfigurationError : #NEWLINE# #INDENT# conf . env . HAS_BLAS = False