Changeset a86cd82 in rtems-tools for specbuilder/specbuilder/linux.py


Ignore:
Timestamp:
Jun 9, 2011, 5:59:32 AM (8 years ago)
Author:
Chris Johns <chrisj@…>
Branches:
4.10, 4.11, e9f48e9face6c4dea62712d73b35412c0fe10332
Children:
a2bc901
Parents:
faa8181
Message:

2011-06-09 Chris Johns <chrisj@…>

  • specbuilder/specbuilder/build.py, specbuilder/specbuilder/crossgcc.py, specbuilder/specbuilder/defaults.py, specbuilder/specbuilder/linux.py, specbuilder/specbuilder/spec.py: Add CentOS support for older Pythons. Add options to build the tools with specific flags.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • specbuilder/specbuilder/linux.py

    rfaa8181 ra86cd82  
    4343            count = l.split(':')[1].strip()
    4444            if count > cpus:
    45                 cpus = count
     45                cpus = int(count)
    4646        if cpus > 0:
    4747            smp_mflags = '-j%d' % (cpus)
     
    5858        'optflags':                '-O2 -fasynchronous-unwind-tables',
    5959        '_smp_mflags':             smp_mflags,
    60         '__bzip2':                 '/bin/bzip2',
     60        '__bzip2':                 '/usr/bin/bzip2',
    6161        '__gzip':                  '/bin/gzip',
    6262        '__tar':                   '/bin/tar'
Note: See TracChangeset for help on using the changeset viewer.