SConscript (2788:73f724ff348f) SConscript (2789:f99d51ed08d6)
1# -*- mode:python -*-
2
3# Copyright (c) 2006 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

--- 170 unchanged lines hidden (view full) ---

179 ozone/lsq_unit.cc
180 ozone/lw_back_end.cc
181 ozone/lw_lsq.cc
182 ''')
183 if env['USE_CHECKER']:
184 sources += Split('ozone/checker_builder.cc')
185
186if env['USE_CHECKER']:
1# -*- mode:python -*-
2
3# Copyright (c) 2006 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

--- 170 unchanged lines hidden (view full) ---

179 ozone/lsq_unit.cc
180 ozone/lw_back_end.cc
181 ozone/lw_lsq.cc
182 ''')
183 if env['USE_CHECKER']:
184 sources += Split('ozone/checker_builder.cc')
185
186if env['USE_CHECKER']:
187 sources += Split('checker/cpu.cc')
187 checker_supports = False
188 for i in CheckerSupportedCPUList:
189 if i in env['CPU_MODELS']:
190 checker_supports = True
191 if not checker_supports:
192 print "Checker only supports CPU models %s, please " \
193 "set USE_CHECKER=False or use one of those CPU models" \
194 % CheckerSupportedCPUList

--- 12 unchanged lines hidden ---
188 checker_supports = False
189 for i in CheckerSupportedCPUList:
190 if i in env['CPU_MODELS']:
191 checker_supports = True
192 if not checker_supports:
193 print "Checker only supports CPU models %s, please " \
194 "set USE_CHECKER=False or use one of those CPU models" \
195 % CheckerSupportedCPUList

--- 12 unchanged lines hidden ---