SConscript (12222:6db0fc7407a5) | SConscript (12223:a41385ccae4b) |
---|---|
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 --- 1103 unchanged lines hidden (view full) --- 1112 1113 new_env.Command(secondary_exename, exename, 1114 MakeAction('ln $SOURCE $TARGET', Transform("HARDLINK"))) 1115 1116 new_env.M5Binary = targets[0] 1117 1118 # Set up regression tests. 1119 SConscript(os.path.join(env.root.abspath, 'tests', 'SConscript'), | 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 --- 1103 unchanged lines hidden (view full) --- 1112 1113 new_env.Command(secondary_exename, exename, 1114 MakeAction('ln $SOURCE $TARGET', Transform("HARDLINK"))) 1115 1116 new_env.M5Binary = targets[0] 1117 1118 # Set up regression tests. 1119 SConscript(os.path.join(env.root.abspath, 'tests', 'SConscript'), |
1120 variant_dir=Dir('tests').Dir(new_env.Label).path, | 1120 variant_dir=Dir('tests').Dir(new_env.Label), |
1121 exports={ 'env' : new_env }, duplicate=False) 1122 1123# Start out with the compiler flags common to all compilers, 1124# i.e. they all use -g for opt and -g -pg for prof 1125ccflags = {'debug' : [], 'opt' : ['-g'], 'fast' : [], 'prof' : ['-g', '-pg'], 1126 'perf' : ['-g']} 1127 1128# Start out with the linker flags common to all linkers, i.e. -pg for --- 96 unchanged lines hidden --- | 1121 exports={ 'env' : new_env }, duplicate=False) 1122 1123# Start out with the compiler flags common to all compilers, 1124# i.e. they all use -g for opt and -g -pg for prof 1125ccflags = {'debug' : [], 'opt' : ['-g'], 'fast' : [], 'prof' : ['-g', '-pg'], 1126 'perf' : ['-g']} 1127 1128# Start out with the linker flags common to all linkers, i.e. -pg for --- 96 unchanged lines hidden --- |