forked from kakaroto/pthread-embeded
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
56 lines (56 loc) · 3.43 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
sudo: required
dist: trusty
git:
submodules: false
language: c
compiler: gcc
before_install:
- sudo apt-get -qq update
- sudo apt-get install -y nasm texinfo libmpfr-dev libmpc-dev libgmp-dev libisl-dev packaging-dev
script:
- rm -rf .git
- cd ..
- mv pthread-embedded pthread-embedded-1.0
- tar -czf pthread-embedded-1.0.orig.tar.gz pthread-embedded-1.0
- cd $TOPDIR
- wget https://bintray.com/rwth-os/hermitcore/download_file?file_path=binutils-hermit_2.26.1-1_amd64.deb -O binutils-hermit_2.26.1-1_amd64.deb
- sudo dpkg -i ./binutils-hermit_2.26.1-1_amd64.deb
- wget https://bintray.com/rwth-os/hermitcore/download_file?file_path=newlib-hermit_2.4.0-1_amd64.deb -O newlib-hermit_2.4.0-1_amd64.deb
- sudo dpkg -i ./newlib-hermit_2.4.0-1_amd64.deb
- wget https://www.lankes.org/deploy/bootstrap.tar.gz
- tar xzf bootstrap.tar.gz
- cd -
- cd pthread-embedded-1.0
- debuild -e PATH -us -uc
deploy:
on: production
provider: bintray
file: .bintray_descriptor.json
user:
secure: PsjCHxf1V0W517zusKVu9KPgoSIpjaAP1jGNQ6hv+n2uTKuOCPDWMKZKro9miQMOElFMrDE4GnISSh1sz1AW0xFoG6OyViG/aJMNG3VaVdV0lNyOVvONbX7YJlG5oVA2Lv+sy5YVEQuEzSKY65ILvfXBMnGYUetzWf+siHq7H3Wo/tH7H6DlrJw5tBJSwVo177J/vhqvK89sGTfAts/VeB6W2/mOFcKf8b0R9zJZj4YUGGivw3gaKZgLhupU4w2716et+e3dUffp/Y8xXAL1Aha0VsuqjX9i/XGmfiPDDoXfu3pEGSG/DmY4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:$TOPDIR/x86/bin:/opt/hermit/bin
- CROSSCOMPREFIX = x86_64-hermit
- FC_FOR_TARGET = $CROSSCOMPREFIX-gfortran
- CC_FOR_TARGET = $CROSSCOMPREFIX-gcc
- CXX_FOR_TARGET = $CROSSCOMPREFIX-g++
- GCC_FOR_TARGET = $CROSSCOMPREFIX-gcc
- CPP_FOR_TARGET = $CROSSCOMPREFIX-cpp
- AR_FOR_TARGET = $CROSSCOMPREFIX-ar
- AS_FOR_TARGET = $CROSSCOMPREFIX-as
- LD_FOR_TARGET = $CROSSCOMPREFIX-ld
- NM_FOR_TARGET = $CROSSCOMPREFIX-nm
- OBJDUMP_FOR_TARGET = $CROSSCOMPREFIX-objdump
- OBJCOPY_FOR_TARGET = $CROSSCOMPREFIX-objcopy
- RANLIB_FOR_TARGET = $CROSSCOMPREFIX-ranlib
- STRIP_FOR_TARGET = $CROSSCOMPREFIX-strip
- READELF_FOR_TARGET = $CROSSCOMPREFIX-readelf
- ELFEDIT_FOR_TARGET = $CROSSCOMPREFIX-elfedit
- CFLAGS_FOR_TARGE = -m64 -mtls-direct-seg-refs -O3 -ftree-vectorize
- FCFLAGS_FOR_TARGET = -m64 -mtls-direct-seg-refs -O3 -ftree-vectorize
- FFLAGS_FOR_TARGET = -m64 -mtls-direct-seg-refs -O3 -ftree-vectorize
- CXXFLAGS_FOR_TARGET = -m64 -mtls-direct-seg-refs -O3 -ftree-vectorize