Check-in [60f3a1a967]
Overview
Comment:Updated to allow user to specify platforms
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:60f3a1a9670cb9de3013a368ab1a3108feea70ca
User & Date: rkeene on 2012-05-12 18:19:50
Other Links: manifest | tags
Context
2012-05-12
18:20
Updated ignores check-in: cacef894ea user: rkeene tags: trunk
18:19
Updated to allow user to specify platforms check-in: 60f3a1a967 user: rkeene tags: trunk
18:19
Updated to build GNU readline if needed check-in: 86fb425c6b user: rkeene tags: trunk
Changes

Modified server/buildpkgs/build-all-platforms.sh from [4313924d82] to [60abef200d].

     1      1   #! /bin/bash
     2      2   
     3      3   CCROOT="${HOME}/root/cross-compilers"
     4      4   SETUP_CC="${CCROOT}/setup-cc"
     5      5   
     6         -for platform in i386-pc-solaris2.10@solaris2.10-ix86 i386-pc-solaris2.10,64@solaris2.10-x86_64 mipsel-unknown-linux-uclibc@linux-glibc2.0-mipsel sparc-sun-solaris2.8@solaris2.8-sparc sparc-sun-solaris2.8,64@solaris2.8-sparc64 sparc-sun-solaris2.10@solaris2.10-sparc sparc-sun-solaris2.10,64@solaris2.10-sparc64 x86_64-unknown-freebsd8@freebsd8-x86_64 x86_64-unknown-netbsd5@netbsd5-x86_64; do
            6  +if [ -z "$1" ]; then
            7  +	platforms="i386-pc-solaris2.10@solaris2.10-ix86 i386-pc-solaris2.10,64@solaris2.10-x86_64 mipsel-unknown-linux-uclibc@linux-glibc2.0-mipsel sparc-sun-solaris2.8@solaris2.8-sparc sparc-sun-solaris2.8,64@solaris2.8-sparc64 sparc-sun-solaris2.10@solaris2.10-sparc sparc-sun-solaris2.10,64@solaris2.10-sparc64 x86_64-unknown-freebsd8@freebsd8-x86_64 x86_64-unknown-netbsd5@netbsd5-x86_64 arm-android9-linux-androideabi@linux-unknown-arm"
            8  +else
            9  +	platforms="$1"
           10  +fi
           11  +
           12  +for platform in ${platforms}; do
           13  +	echo "  * Building for ${platform}"
     7     14   	cc_platform="$(echo "${platform}" | cut -f 1 -d '@')"
     8     15   	tcl_platform="$(echo "${platform}" | cut -f 2 -d '@')"
     9     16   	opts=''
    10     17   	setup_cc_opts=''
    11     18   	configure_opts=''
    12     19   
    13     20   	if echo "${cc_platform}" | grep ',' >/dev/null; then