Changeset 79b39d0 in mainline


Ignore:
Timestamp:
2018-09-05T19:53:11Z (6 years ago)
Author:
Jiří Zárevúcky <jiri.zarevucky@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
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.

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • .travis.yml

    r848740c9 r79b39d0  
    3535
    3636language: c
     37dist: trusty
    3738sudo: required
    3839env:
    3940  global:
    40     - CROSS_PREFIX=/usr/local/cross-static/
     41    - CROSS_PREFIX=/usr/local/cross
    4142  matrix:
    4243    - H_CCHECK=true
     
    5758    - H_ARCH=sparc64/ultra
    5859before_install:
     60  - sudo apt-get update -qq
     61  - sudo apt-get install -qq genisoimage
    5962  - ./tools/travis.sh install
    6063script:
     
    6669    channels:
    6770      - "chat.freenode.net#helenos"
    68     use_notice: true
     71    use_notice: false
    6972    skip_join: true
    7073    template:
  • 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.