'sparcv8': 'linux32',
}
-DEPRECATEDARCHES = [
- 'ia32',
- 'i686',
- 'i386',
- ]
SUPPORTEDARCHS = [
'x86_64',
- 'ia32',
- 'i686',
'i586',
- 'i386',
'armv6l',
'armv7hl',
'armv7l',
if not buildarch in SUPPORTEDARCHS:
raise GbsError('arch %s not supported, supported archs are: %s ' % \
(buildarch, ','.join(SUPPORTEDARCHS)))
- if buildarch in DEPRECATEDARCHES:
- log.warning('build arch: %s is deprecated, and will not be supportted '
- 'in next gbs version, please use i586 instead' % buildarch)
- buildarch = 'i586'
if buildarch not in CAN_ALSO_BUILD.get(hostarch, []):
if buildarch not in QEMU_CAN_BUILD:
from gitbuildsys import errors
from gitbuildsys.parsing import subparser, GbsHelpFormatter, basename_type
from gitbuildsys import log
+from gitbuildsys import cmd_build
@subparser
'dependency order')
group = parser.add_argument_group('build configuration options')
- group.add_argument('-A', '--arch', help='build target arch ')
+ group.add_argument('-A', '--arch', help='build target arch. Supported arch '
+ 'types are: %s' % ' '.join(cmd_build.SUPPORTEDARCHS))
group.add_argument('-D', '--dist',
help='specify project (build) configuration file')
group.add_argument('-P', '--profile',