SConstruct (9068:d421f95f92d9) | SConstruct (9071:64db8473f3ab) |
---|---|
1# -*- mode:python -*- 2 3# Copyright (c) 2011 Advanced Micro Devices, Inc. 4# Copyright (c) 2009 The Hewlett-Packard Development Company 5# Copyright (c) 2004-2005 The Regents of The University of Michigan 6# All rights reserved. 7# 8# Redistribution and use in source and binary forms, with or without --- 755 unchanged lines hidden (view full) --- 764 'clock_nanosleep(0,0,NULL,NULL);') 765 766if conf.CheckLib('tcmalloc_minimal'): 767 have_tcmalloc = True 768else: 769 have_tcmalloc = False 770 print termcap.Yellow + termcap.Bold + \ 771 "You can get a 12% performance improvement by installing tcmalloc "\ | 1# -*- mode:python -*- 2 3# Copyright (c) 2011 Advanced Micro Devices, Inc. 4# Copyright (c) 2009 The Hewlett-Packard Development Company 5# Copyright (c) 2004-2005 The Regents of The University of Michigan 6# All rights reserved. 7# 8# Redistribution and use in source and binary forms, with or without --- 755 unchanged lines hidden (view full) --- 764 'clock_nanosleep(0,0,NULL,NULL);') 765 766if conf.CheckLib('tcmalloc_minimal'): 767 have_tcmalloc = True 768else: 769 have_tcmalloc = False 770 print termcap.Yellow + termcap.Bold + \ 771 "You can get a 12% performance improvement by installing tcmalloc "\ |
772 "(google-perftools package on Ubuntu or RedHat)." + termcap.Normal | 772 "(libgoogle-perftools-dev package on Ubuntu or RedHat)." + \ 773 termcap.Normal |
773 774if not have_posix_clock: 775 print "Can't find library for POSIX clocks." 776 777# Check for <fenv.h> (C99 FP environment control) 778have_fenv = conf.CheckHeader('fenv.h', '<>') 779if not have_fenv: 780 print "Warning: Header file <fenv.h> not found." --- 282 unchanged lines hidden --- | 774 775if not have_posix_clock: 776 print "Can't find library for POSIX clocks." 777 778# Check for <fenv.h> (C99 FP environment control) 779have_fenv = conf.CheckHeader('fenv.h', '<>') 780if not have_fenv: 781 print "Warning: Header file <fenv.h> not found." --- 282 unchanged lines hidden --- |