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