Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset 79b39d0 in mainline for tools/travis.sh


Ignore:
Timestamp:
2018-09-05T19:53:11Z (4 years ago)
Author:
Jiří Zárevúcky <jiri.zarevucky@…>
Branches:
lfn, master, serial
Children:
954c024
Parents:
848740c9
git-author:
Jiří Zárevúcky <jiri.zarevucky@…> (2018-09-05 02:14:20)
git-committer:
Jiří Zárevúcky <jiri.zarevucky@…> (2018-09-05 19:53:11)
Message:

Download travis toolchain from Amazon S3 for now

Also a few minor changes to the script.
The toolchain I uploaded is not static. Instead it's built in virtualized
Ubuntu Trusty using a modified toolchain.sh with size optimizations enabled.
The resulting archive is a lot smaller than the static-link version.
The modified script is downloadable from the same path as the archives
(named "toolchain.sh" as usual).

Ask me for write access to the bucket if you need/want it.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tools/travis.sh

    r848740c9 r79b39d0  
    104104fi
    105105
    106 
    107 # Custom CROSS_PREFIX
    108 if [ ."$CROSS_PREFIX" == . ]; then
    109         export CROSS_PREFIX=/usr/local/cross-static/
    110 fi
    111 
    112106# Default Harbours repository
    113107if [ -z "$H_HARBOURS_REPOSITORY" ]; then
     
    135129    set -x
    136130
    137     # Install dependencies
    138     sudo apt-get -qq update || exit 1
    139     sudo apt-get install -y genisoimage || exit 1
    140 
    141131    # Fetch and install cross-compiler
    142     wget "http://ci.helenos.org/download/helenos-cross-$H_CROSS_TARGET.static.tar.xz" -O "/tmp/cross-$H_CROSS_TARGET.static.tar.xz" || exit 1
    143     sudo mkdir -p "$CROSS_PREFIX" || exit 1
    144     sudo tar -xJ -C "$CROSS_PREFIX" -f "/tmp/cross-$H_CROSS_TARGET.static.tar.xz" || exit 1
     132    wget "https://helenos.s3.amazonaws.com/toolchain/$H_CROSS_TARGET.tar.xz" -O "/tmp/$H_CROSS_TARGET.tar.xz" || exit 1
     133    sudo tar -xJ -C "/" -f "/tmp/$H_CROSS_TARGET.tar.xz" || exit 1
    145134    exit 0
    146 
    147135
    148136elif [ "$1" = "run" ]; then
Note: See TracChangeset for help on using the changeset viewer.