* config-list.mk (LIST): Replace
[official-gcc.git] / contrib / config-list.mk
blobe11e5c3d8bd585f4add5c4900f16484ab14c1dab
1 # Run tests covering all config.gcc cases.
2 host_options='--with-mpc=/opt/cfarm/mpc' # gcc10
3 # make sure you have a recent enough gcc your path so that
4 # --enable-werror-always will work.
5 # Use -j / -l make arguments and nice to assure a smooth resource-efficient
6 # load on the build machine, e.g. for 24 cores:
7 # svn co svn://gcc.gnu.org/svn/gcc/branches/foo-branch gcc
8 # mkdir multi-mk; cd multi-mk
9 # nohup nice make -j25 -l36 -f ../gcc/contrib/config-list.mk > make.out 2>&1 &
11 # v850e1-elf is rejected by config.sub
12 LIST = alpha-linux-gnu alpha-gnu alpha-freebsd6 alpha-netbsd alpha-openbsd \
13 alpha-dec-osf5.1 alpha64-dec-vms alpha-dec-vms am33_2.0-linux arc-elf \
14 arm-wrs-vxworks arm-freebsd6 arm-netbsdelf arm-netbsd arm-linux \
15 arm-linux-androideabi arm-uclinux_eabi arm-ecos-elf arm-eabi \
16 arm-symbianelf arm-rtems arm-elf arm-wince-pe arm-pe avr-rtems avr-elf \
17 bfin-elf bfin-uclinux bfin-linux-uclibc bfin-rtems bfin-openbsd \
18 cris-elf cris-linux crisv32-elf crisv32-linux crx-elf fido-elf \
19 fr30-elf frv-elf frv-linux h8300-elf h8300-rtems hppa-linux-gnu \
20 hppa-linux-gnuOPT-enable-sjlj-exceptions=yes hppa64-linux-gnu \
21 hppa2.0-hpux10.1 hppa64-hpux11.3 \
22 hppa64-hpux11.0OPT-enable-sjlj-exceptions=yes hppa2.0-hpux11.9 \
23 i686-pc-linux-gnu i686-apple-darwin i686-apple-darwin9 i686-apple-darwin10 \
24 i386-freebsd6.0_aout i486-freebsd4 i686-freebsd6 i686-kfreebsd-gnu \
25 i386-netbsd i686-netbsdelf9 i686-knetbsd-gnu i686-openbsd i686-openbsd3.0 \
26 i686-elf i686-kopensolaris-gnu i686-symbolics-gnu i686-pc-msdosdjgpp \
27 i686-lynxos i586-netwareOPT-with-ld=SCRIPTSnwld i686-nto-qnx \
28 i686-rtems i686-solaris2.10OPT-enable-threads=solaris i686-wrs-vxworks \
29 i686-wrs-vxworksae i686-peOPT-enable-sjlj-exceptions=yes \
30 i686-cygwinOPT-enable-threads=yes i686-mingw32crt i686-interix3 ia64-elf \
31 ia64-freebsd6 ia64-linux ia64-hpux ia64-hp-vms iq2000-elf lm32-elf \
32 lm32-rtems lm32-uclinux m32c-rtems m32c-elf m32r-elf m32rle-elf m32r-rtems \
33 m32r-linux m32rle-linux m68hc11-elf m68hc12-elf m68k-elf m68k-netbsdelf \
34 m68k-openbsd m68k-uclinuxoldabi m68k-uclinux m68k-linux m68k-rtems \
35 mcore-elf mcore-pe mep-elf microblaze-linux microblaze-elf \
36 mips-sgi-irix6.5OPT-with-stabsOPT-enable-threads=posix mips-netbsd \
37 mips64el-st-linux-gnu mips64octeon-linux mipsisa64r2-linux \
38 mipsisa32r2-linux-gnu mips-openbsd mipsisa64r2-sde-elf mipsisa32-elfoabi \
39 mipsisa64-elfoabi mipsisa64r2el-elf mipsisa64sr71k-elf mipsisa64sb1-elf \
40 mipsel-elf mips64-elf mips64vr-elf mips64orion-elf mips-rtems \
41 mips-wrs-vxworks mipstx39-elf mmix-knuth-mmixware mn10300-elf moxie-elf \
42 moxie-uclinux moxie-rtems pdp11-aout picochip-elf powerpc-darwin8 \
43 powerpc-darwin7 powerpc64-darwin powerpc-freebsd6 powerpc-netbsd \
44 powerpc-eabispe powerpc-eabisimaltivec powerpc-eabisim ppc-elf \
45 powerpc-eabialtivec powerpc-xilinx-eabi powerpc-eabi \
46 powerpc-rtems4.11OPT-enable-threads=yes powerpc-linux_spe \
47 powerpc-linux_paired powerpc64-linux_altivec powerpc64-darl-gnu \
48 powerpc-gnu-gnualtivec powerpc-ungulate-gnuOPT-enable-threads=yes \
49 powerpc-wrs-vxworks powerpc-wrs-vxworksae powerpc-lynxos powerpcle-elf \
50 powerpcle-eabisim powerpcle-eabi rs6000-ibm-aix4.3 rs6000-ibm-aix5.1.0 \
51 rs6000-ibm-aix5.2.0 rs6000-ibm-aix5.3.0 rs6000-ibm-aix6.0 ppc64-freebsd6 \
52 rx-elf s390-linux-gnu s390x-linux-gnu s390x-ibm-tpf score-elf sh-elf \
53 shle-linux sh-netbsdelf sh-superh-elf sh5el-netbsd sh64-netbsd sh64-linux \
54 sh64-elfOPT-with-newlib sh-symbianelf sh-rtems sh-wrs-vxworks sparc-elf \
55 sparc-leon-elf sparc-rtems sparc-linux-gnu \
56 sparc-leon3-linux-gnuOPT-enable-target=all sparc-netbsdelf \
57 sparc-sun-solaris2.8OPT-enable-threads=solaris \
58 sparc64-sun-solaris2.10OPT-with-gnu-ldOPT-with-gnu-asOPT-enable-threads=posix \
59 sparc-wrs-vxworks sparc64-elf sparc64-rtems sparc64-linux sparc64-freebsd6 \
60 sparc64-netbsd sparc64-openbsd spu-elf v850e-elf v850-elf vax-linux-gnu \
61 vax-netbsdelf vax-netbsd vax-openbsd x86_64-apple-darwin \
62 x86_64-pc-linux-gnuOPT-with-fpmath=avx \
63 x86_64-elfOPT-with-fpmath=sse x86_64-freebsd6 x86_64-netbsd \
64 x86_64-knetbsd-gnu x86_64-w64-mingw32 \
65 x86_64-mingw32OPT-enable-sjlj-exceptions=yes xstormy16-elf xtensa-elf \
66 xtensa-linux
68 all: $(LIST)
70 .PHONEY: make-log-dir make-script-dir
72 empty=
74 #Check for the presence of the MAINTAINERS file to make sure we are in a
75 #suitable current working direcrory.
76 make-log-dir: ../gcc/MAINTAINERS
77 mkdir log
79 # The 'ix86-netware --with-ld=nwld' configuration needs a nwld executable to
80 # configure. See PR47104.
81 make-script-dir:
82 mkdir scripts
83 echo ld $* > scripts/nwld
84 chmod u+x scripts/nwld
86 $(LIST): make-log-dir make-script-dir
87 -mkdir $@
88 (cd $@ && \
89 ../../gcc/configure \
90 --target=$(subst SCRIPTS,`pwd`/../scripts/,$(subst OPT,$(empty) -,$@)) \
91 --enable-werror-always ${host_options} --enable-languages=all,ada,go) \
92 > log/$@-config.out 2>&1
93 -$(MAKE) -C $@ all-gcc > log/$@-make.out 2>&1 && rm -r $@