mirror of
https://github.com/boostorg/build.git
synced 2026-02-12 12:02:24 +00:00
Add features for specifying CPU code generation: address-model, architecture, and instruction-set. Transplanted from BBv1.
[SVN r30744]
This commit is contained in:
@@ -112,6 +112,56 @@ feature def-file : : free dependency ;
|
||||
# of the library.
|
||||
feature allow : : free ;
|
||||
|
||||
# The addressing model to generate code for.
|
||||
# Currently a limited set only specifying the bit size of pointers.
|
||||
feature address-model : 16 32 64
|
||||
: propagated optional ;
|
||||
|
||||
# Type of CPU architecture to compile for.
|
||||
feature architecture :
|
||||
# x86 and x86-64
|
||||
x86
|
||||
# ia64
|
||||
ia64
|
||||
# Sparc
|
||||
sparc
|
||||
# RS/6000 & PowerPC
|
||||
power
|
||||
# MIPS/SGI
|
||||
mips1 mips2 mips3 mips4 mips32 mips32r2 mips64
|
||||
#
|
||||
: propagated optional ;
|
||||
|
||||
# The specific instruction set in an architecture to compile.
|
||||
feature instruction-set :
|
||||
# x86 and x86-64
|
||||
i386 i486 i586 i686
|
||||
pentium pentium-mmx pentiumpro pentium2 pentium3 pentium3m pentium-m pentium4 pentium4m
|
||||
prescott nocona
|
||||
k6 k6-2 k6-3 athlon athlon-tbird athlon-4 athlon-xp athlon-mp
|
||||
k8 opteron athlon64 athlon-fx
|
||||
winchip-c6 winchip2
|
||||
c3 c3-2
|
||||
# ia64
|
||||
itanium itanium1 merced itanium2 mckinley
|
||||
# Sparc
|
||||
v7 cypress v8 supersparc sparclite hypersparc sparclite86x
|
||||
f930 f934 sparclet tsc701 v9 ultrasparc
|
||||
# RS/6000 & PowerPC
|
||||
401 403 405 405fp 440 440fp 505
|
||||
601 602 603 603e 604 604e 620 630 740 7400 7450 750
|
||||
801 821 823 860 970 8540
|
||||
power-common ec603e g3 g4 g5
|
||||
power power2 power3 power4 power5 powerpc powerpc64
|
||||
rios rios1 rsc rios2 rs64a
|
||||
# MIPS
|
||||
4kc 4kp 5kc 20kc m4k
|
||||
r2000 r3000 r3900 r4000 r4100 r4300 r4400 r4600 r4650 r6000 r8000
|
||||
rm7000 rm9000 orion sb1
|
||||
vr4100 vr4111 vr4120 vr4130 vr4300 vr5000 vr5400 vr5500
|
||||
#
|
||||
: propagated optional ;
|
||||
|
||||
# Windows-specific features
|
||||
|
||||
feature user-interface : console gui wince native auto ;
|
||||
|
||||
Reference in New Issue
Block a user