The original intention was to build update all the bootstrap compilers to be based on GCC5, but right now I'm only doing that for DragonFly. After June 30, I might rebuild the bootstrap compiler on FreeBSD 10.1, but right now gcc5-aux is building fine on FreeBSD in one stage, even though their bootstrap is based on GCC 4.9. Right now, gcc5-aux is building with 3 full stages. I'm switching it to a single stage build, but adding an off-by-default option to build it in three stages again. With one stage, libcc1 is not built, but with three stages it is. LibCC1 is meant to support the upcoming release of GDB so it's currently not needed (it fails to build if gcc is not fully bootstrapping which is why it's disabled) This brings the build down to about 9-14 minutes versus 60-90 minutes depending on the (average power) machine. Also, I've explicitly limited the build to i386 and amd64 on FreeBSD and I have dropped i386 support on DragonFly, which could only have been build on DragonFly 3.8 or earlier. Also, I removed the iconv dependency when a bootstrap compiler is being created (the all-overriding BOOTSTRAP option for the maintainer)
143 lines
5 KiB
Text
143 lines
5 KiB
Text
# $FreeBSD$
|
|
|
|
.include "Makefile.version"
|
|
|
|
LIB_DEPENDS= libgmp.so:${PORTSDIR}/math/gmp
|
|
LIB_DEPENDS+= libmpfr.so:${PORTSDIR}/math/mpfr
|
|
LIB_DEPENDS+= libmpc.so:${PORTSDIR}/math/mpc
|
|
|
|
ONLY_FOR_ARCHS= i386 amd64
|
|
|
|
GNU_CONFIGURE= yes
|
|
USES= gmake libtool perl5 tar:bzip2
|
|
USE_PERL5= build
|
|
ALL_TARGET= default
|
|
|
|
LOCALE22FIX= \
|
|
codecvt/always_noconv/char/wrapped_locale.cc \
|
|
codecvt/always_noconv/wchar_t/2.cc \
|
|
codecvt/always_noconv/wchar_t/3.cc \
|
|
codecvt/always_noconv/wchar_t/wrapped_locale.cc \
|
|
codecvt/encoding/char/wrapped_locale.cc \
|
|
codecvt/encoding/wchar_t/2.cc \
|
|
codecvt/encoding/wchar_t/3.cc \
|
|
codecvt/encoding/wchar_t/wrapped_locale.cc \
|
|
codecvt/in/char/wrapped_locale.cc \
|
|
codecvt/in/wchar_t/2.cc \
|
|
codecvt/in/wchar_t/3.cc \
|
|
codecvt/in/wchar_t/wrapped_locale.cc \
|
|
codecvt/length/char/wrapped_locale.cc \
|
|
codecvt/length/wchar_t/2.cc \
|
|
codecvt/length/wchar_t/3.cc \
|
|
codecvt/length/wchar_t/wrapped_locale.cc \
|
|
codecvt/max_length/char/wrapped_locale.cc \
|
|
codecvt/max_length/wchar_t/2.cc \
|
|
codecvt/max_length/wchar_t/3.cc \
|
|
codecvt/max_length/wchar_t/wrapped_locale.cc \
|
|
codecvt/out/char/wrapped_locale.cc \
|
|
codecvt/out/wchar_t/2.cc \
|
|
codecvt/out/wchar_t/3.cc \
|
|
codecvt/out/wchar_t/7.cc \
|
|
codecvt/out/wchar_t/wrapped_locale.cc \
|
|
codecvt/unshift/char/wrapped_locale.cc \
|
|
codecvt/unshift/wchar_t/2.cc \
|
|
codecvt/unshift/wchar_t/3.cc \
|
|
codecvt/unshift/wchar_t/wrapped_locale.cc \
|
|
collate/compare/char/wrapped_locale.cc \
|
|
collate/compare/wchar_t/wrapped_locale.cc \
|
|
collate/hash/char/wrapped_locale.cc \
|
|
collate/hash/wchar_t/wrapped_locale.cc \
|
|
collate/transform/char/wrapped_locale.cc \
|
|
collate/transform/wchar_t/wrapped_locale.cc \
|
|
ctype/cons/char/wrapped_locale.cc \
|
|
ctype/is/char/wrapped_locale.cc \
|
|
ctype/is/wchar_t/wrapped_locale.cc \
|
|
ctype/narrow/char/wrapped_locale.cc \
|
|
ctype/narrow/wchar_t/3.cc \
|
|
ctype/narrow/wchar_t/wrapped_locale.cc \
|
|
ctype/scan/char/wrapped_locale.cc \
|
|
ctype/scan/wchar_t/wrapped_locale.cc \
|
|
ctype/to/char/wrapped_locale.cc \
|
|
ctype/to/wchar_t/wrapped_locale.cc \
|
|
ctype/widen/char/wrapped_locale.cc \
|
|
ctype/widen/wchar_t/2.cc \
|
|
ctype/widen/wchar_t/3.cc \
|
|
ctype/widen/wchar_t/wrapped_locale.cc \
|
|
facet/2.cc \
|
|
locale/cons/40184.cc \
|
|
locale/cons/5.cc \
|
|
locale/cons/unicode.cc \
|
|
locale/global_locale_objects/2.cc \
|
|
messages/members/char/wrapped_locale.cc \
|
|
money_get/get/char/16.cc \
|
|
money_get/get/char/18.cc \
|
|
money_get/get/char/2.cc \
|
|
money_get/get/char/4.cc \
|
|
money_get/get/char/wrapped_env.cc \
|
|
money_get/get/char/wrapped_locale.cc \
|
|
money_get/get/wchar_t/16.cc \
|
|
money_get/get/wchar_t/18.cc \
|
|
money_get/get/wchar_t/2.cc \
|
|
money_get/get/wchar_t/4.cc \
|
|
money_get/get/wchar_t/wrapped_env.cc \
|
|
money_get/get/wchar_t/wrapped_locale.cc \
|
|
money_put/put/char/2.cc \
|
|
money_put/put/char/wrapped_env.cc \
|
|
money_put/put/char/wrapped_locale.cc \
|
|
money_put/put/wchar_t/2.cc \
|
|
money_put/put/wchar_t/wrapped_env.cc \
|
|
money_put/put/wchar_t/wrapped_locale.cc \
|
|
moneypunct/members/char/wrapped_locale.cc \
|
|
moneypunct/members/wchar_t/wrapped_locale.cc \
|
|
num_get/get/char/3.cc \
|
|
num_get/get/char/wrapped_env.cc \
|
|
num_get/get/char/wrapped_locale.cc \
|
|
num_get/get/wchar_t/3.cc \
|
|
num_get/get/wchar_t/wrapped_env.cc \
|
|
num_get/get/wchar_t/wrapped_locale.cc \
|
|
num_put/put/char/3.cc \
|
|
num_put/put/char/wrapped_env.cc \
|
|
num_put/put/char/wrapped_locale.cc \
|
|
num_put/put/wchar_t/3.cc \
|
|
num_put/put/wchar_t/wrapped_env.cc \
|
|
num_put/put/wchar_t/wrapped_locale.cc \
|
|
numpunct/members/char/wrapped_locale.cc \
|
|
numpunct/members/wchar_t/wrapped_locale.cc \
|
|
time_get/date_order/char/wrapped_locale.cc \
|
|
time_get/date_order/wchar_t/wrapped_locale.cc \
|
|
time_get/get_date/char/2.cc \
|
|
time_get/get_date/char/wrapped_env.cc \
|
|
time_get/get_date/char/wrapped_locale.cc \
|
|
time_get/get_date/wchar_t/2.cc \
|
|
time_get/get_date/wchar_t/wrapped_env.cc \
|
|
time_get/get_date/wchar_t/wrapped_locale.cc \
|
|
time_get/get_monthname/char/2.cc \
|
|
time_get/get_monthname/char/wrapped_env.cc \
|
|
time_get/get_monthname/char/wrapped_locale.cc \
|
|
time_get/get_monthname/wchar_t/2.cc \
|
|
time_get/get_monthname/wchar_t/wrapped_env.cc \
|
|
time_get/get_monthname/wchar_t/wrapped_locale.cc \
|
|
time_get/get_time/char/2.cc \
|
|
time_get/get_time/char/wrapped_env.cc \
|
|
time_get/get_time/char/wrapped_locale.cc \
|
|
time_get/get_time/wchar_t/2.cc \
|
|
time_get/get_time/wchar_t/wrapped_env.cc \
|
|
time_get/get_time/wchar_t/wrapped_locale.cc \
|
|
time_get/get_weekday/char/2.cc \
|
|
time_get/get_weekday/char/38081-1.cc \
|
|
time_get/get_weekday/char/38081-2.cc \
|
|
time_get/get_weekday/char/wrapped_env.cc \
|
|
time_get/get_weekday/char/wrapped_locale.cc \
|
|
time_get/get_weekday/wchar_t/2.cc \
|
|
time_get/get_weekday/wchar_t/wrapped_env.cc \
|
|
time_get/get_weekday/wchar_t/wrapped_locale.cc \
|
|
time_get/get_year/char/wrapped_locale.cc \
|
|
time_get/get_year/wchar_t/wrapped_locale.cc \
|
|
time_put/put/char/3.cc \
|
|
time_put/put/char/7.cc \
|
|
time_put/put/char/wrapped_env.cc \
|
|
time_put/put/char/wrapped_locale.cc \
|
|
time_put/put/wchar_t/3.cc \
|
|
time_put/put/wchar_t/7.cc \
|
|
time_put/put/wchar_t/wrapped_env.cc \
|
|
time_put/put/wchar_t/wrapped_locale.cc
|