SConscript (3940:b87f85bb4275) | SConscript (3942:edc24787baf6) |
---|---|
1# -*- mode:python -*- 2 3# Copyright (c) 2004-2005 The Regents of The University of Michigan 4# All rights reserved. 5# 6# Redistribution and use in source and binary forms, with or without 7# modification, are permitted provided that the following conditions are 8# met: redistributions of source code must retain the above copyright --- 314 unchanged lines hidden (view full) --- 323elif env['SUNCC']: 324 ccflags['debug'] = '-g0' 325 ccflags['opt'] = '-g -O' 326 ccflags['fast'] = '-fast' 327 ccflags['prof'] = '-fast -g -pg' 328elif env['ICC']: 329 ccflags['debug'] = '-g -O0' 330 ccflags['opt'] = '-g -O' | 1# -*- mode:python -*- 2 3# Copyright (c) 2004-2005 The Regents of The University of Michigan 4# All rights reserved. 5# 6# Redistribution and use in source and binary forms, with or without 7# modification, are permitted provided that the following conditions are 8# met: redistributions of source code must retain the above copyright --- 314 unchanged lines hidden (view full) --- 323elif env['SUNCC']: 324 ccflags['debug'] = '-g0' 325 ccflags['opt'] = '-g -O' 326 ccflags['fast'] = '-fast' 327 ccflags['prof'] = '-fast -g -pg' 328elif env['ICC']: 329 ccflags['debug'] = '-g -O0' 330 ccflags['opt'] = '-g -O' |
331 ccflags['fast'] = '-xW -O3 -ipo -no-prec-div -static' | 331 ccflags['fast'] = '-fast' |
332 ccflags['prof'] = '-fast -g -pg' 333else: 334 print 'Unknown compiler, please fix compiler options' 335 Exit(1) 336 337makeEnv('debug', '.do', 338 CCFLAGS = Split(ccflags['debug']), 339 CPPDEFINES = ['DEBUG', 'TRACING_ON=1']) --- 18 unchanged lines hidden --- | 332 ccflags['prof'] = '-fast -g -pg' 333else: 334 print 'Unknown compiler, please fix compiler options' 335 Exit(1) 336 337makeEnv('debug', '.do', 338 CCFLAGS = Split(ccflags['debug']), 339 CPPDEFINES = ['DEBUG', 'TRACING_ON=1']) --- 18 unchanged lines hidden --- |