File tree 5 files changed +18
-21
lines changed
5 files changed +18
-21
lines changed Original file line number Diff line number Diff line change 7
7
- secure : " DUk/Ihg8KbbzEgPF0qrHqlxU8e8eET9i/BtzNvFddIGX4HP/P2qz0nk3cVkmjuWhqJXSbC22RdKME9qqPzw6fJwJ6dpJ3OR6dDmSd7rewavq+niwxu52PVa+yK8mL4yf1terM7QQ5tIRf+yUL9qGKrZ2xyvEuRit6d4cFep43Ws="
8
8
matrix :
9
9
- BUILD_SOC=none
10
+ - BUILD_SOC=pipistrello-nist_qc1
10
11
install :
11
12
- mkdir -p $HOME/.mlabs
12
- - if [ $TRAVIS_PULL_REQUEST != false ]; then BUILD_SOC=none; fi
13
- - if [ $BUILD_SOC != none ]; then ./.travis/get-xilinx.sh; ./.travis/get-toolchain.sh; fi
13
+ - [ $TRAVIS_PULL_REQUEST != false ] && BUILD_SOC=none
14
+ - [ $BUILD_SOC != none ] && ./.travis/get-xilinx.sh
15
+ - [ $BUILD_SOC != none ] && ./.travis/get-toolchain.sh
16
+ - [ $BUILD_SOC != none ] && ./.travis/get-misoc.sh
14
17
- . ./.travis/get-anaconda.sh
15
18
- source $HOME/miniconda/bin/activate py35
16
- - conda install -q pip coverage anaconda-client migen=0.0 cython
19
+ - conda install -q pip coverage anaconda-client cython
17
20
- pip install coveralls
18
21
# workaround for https://github.com/conda/conda-build/issues/466
19
22
- mkdir -p /home/travis/miniconda/conda-bld/linux-64
@@ -23,9 +26,12 @@ script:
23
26
- conda install -q --use-local artiq
24
27
- |
25
28
if [ $BUILD_SOC == none ]; then
26
- PACKAGES="$(conda build --output --python 3.5 conda/artiq) $PACKAGES"
27
29
coverage run --source=artiq setup.py test
28
30
make -C doc/manual html
31
+ PACKAGES="$(conda build --output --python 3.5 conda/artiq) $PACKAGES"
32
+ else
33
+ conda build --python 3.5 conda/artiq-$BUILD_SOC
34
+ PACKAGES="$(conda build --output --python 3.5 conda/artiq-$BUILD_SOC) $PACKAGES"
29
35
fi
30
36
after_success :
31
37
- |
Original file line number Diff line number Diff line change
1
+ #! /bin/sh
2
+
3
+ git clone --recursive https://github.com/m-labs/misoc $HOME /misoc
4
+ echo " export MSCDIR=$HOME /misoc" >> $HOME /.m-labs/build_settings.sh
Original file line number Diff line number Diff line change 1
1
#! /bin/sh
2
2
3
3
packages=" http://us.archive.ubuntu.com/ubuntu/pool/universe/i/iverilog/iverilog_0.9.7-1_amd64.deb"
4
- archives=" http://fehu.whitequark.org/files/llvm-or1k.tbz2"
5
4
6
5
mkdir -p packages
7
6
12
11
dpkg -x $pkg_name packages
13
12
done
14
13
15
- for a in $archives
16
- do
17
- wget $a
18
- (cd packages && tar xf ../$( basename $a ) )
19
- done
20
-
21
- export PATH=$PWD /packages/usr/local/llvm-or1k/bin:$PWD /packages/usr/local/bin:$PWD /packages/usr/bin:$PATH
22
- export LD_LIBRARY_PATH=$PWD /packages/usr/lib/x86_64-linux-gnu:$PWD /packages/usr/local/x86_64-unknown-linux-gnu/or1k-elf/lib:$LD_LIBRARY_PATH
23
-
24
- echo " export LD_LIBRARY_PATH=$PWD /packages/usr/lib/x86_64-linux-gnu:$PWD /packages/usr/local/x86_64-unknown-linux-gnu/or1k-elf/lib:\$ LD_LIBRARY_PATH" >> $HOME /.mlabs/build_settings.sh
25
- echo " export PATH=$PWD /packages/usr/local/llvm-or1k/bin:$PWD /packages/usr/local/bin:$PWD /packages/usr/bin:\$ PATH" >> $HOME /.mlabs/build_settings.sh
26
-
27
- or1k-linux-as --version
28
- llc --version
29
- clang --version
14
+ echo " export LD_LIBRARY_PATH=$PWD /packages/usr/lib/x86_64-linux-gnu" >> $HOME /.m-labs/build_settings.sh
15
+ echo " export PATH=$PWD /packages/usr/bin:\$ PATH" >> $HOME /.m-labs/build_settings.sh
Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ git clone https://github.com/fallen/impersonate_macaddress
30
30
make -C impersonate_macaddress
31
31
# Tell mibuild where Xilinx toolchains are installed
32
32
# and feed it the mac address corresponding to the license
33
- cat >> $HOME /.mlabs /build_settings.sh << EOF
33
+ cat >> $HOME /.m-labs /build_settings.sh << EOF
34
34
MISOC_EXTRA_VIVADO_CMDLINE="-Ob vivado_path $HOME /Xilinx/Vivado"
35
35
MISOC_EXTRA_ISE_CMDLINE="-Ob ise_path $HOME /opt/Xilinx/"
36
36
export MACADDR=$macaddress
Original file line number Diff line number Diff line change
1
+ Subproject commit 8b78fe492a076ce105fbbc912c898c6318a6f242
You can’t perform that action at this time.
0 commit comments