regress (7735:a1a85250e897) regress (8120:e4257cde2d79)
1#! /usr/bin/env python
2# Copyright (c) 2005-2007 The Regents of The University of Michigan
3# All rights reserved.
4#
5# Redistribution and use in source and binary forms, with or without
6# modification, are permitted provided that the following conditions are
7# met: redistributions of source code must retain the above copyright
8# notice, this list of conditions and the following disclaimer;

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

128scons_opts = options.scons_opts
129if options.jobs != 1:
130 if options.jobs == 0:
131 options.jobs = cpu_count()
132 scons_opts += ' -j %d' % options.jobs
133if options.keep_going:
134 scons_opts += ' -k'
135
1#! /usr/bin/env python
2# Copyright (c) 2005-2007 The Regents of The University of Michigan
3# All rights reserved.
4#
5# Redistribution and use in source and binary forms, with or without
6# modification, are permitted provided that the following conditions are
7# met: redistributions of source code must retain the above copyright
8# notice, this list of conditions and the following disclaimer;

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

128scons_opts = options.scons_opts
129if options.jobs != 1:
130 if options.jobs == 0:
131 options.jobs = cpu_count()
132 scons_opts += ' -j %d' % options.jobs
133if options.keep_going:
134 scons_opts += ' -k'
135
136cmd = 'scons IGNORE_STYLE=True %s %s' % (scons_opts, ' '.join(targets))
136cmd = 'scons --ignore-style %s %s' % (scons_opts, ' '.join(targets))
137if options.no_exec:
138 print cmd
139else:
140 system(cmd)
141 sys.exit(0)
137if options.no_exec:
138 print cmd
139else:
140 system(cmd)
141 sys.exit(0)