mirror of https://github.com/m-labs/artiq.git
travis: export MACADDR, do not source get-xilinx
This commit is contained in:
parent
b820b7a3e1
commit
52030ab1b7
|
@ -9,7 +9,7 @@ env:
|
||||||
before_install:
|
before_install:
|
||||||
- mkdir -p $HOME/.mlabs
|
- mkdir -p $HOME/.mlabs
|
||||||
- if [ $TRAVIS_PULL_REQUEST != false ]; then BUILD_SOC=0; fi
|
- if [ $TRAVIS_PULL_REQUEST != false ]; then BUILD_SOC=0; fi
|
||||||
- if [ $BUILD_SOC -ne 0 ]; then . ./.travis/get-xilinx.sh; fi
|
- if [ $BUILD_SOC -ne 0 ]; then ./.travis/get-xilinx.sh; fi
|
||||||
- . ./.travis/get-toolchain.sh
|
- . ./.travis/get-toolchain.sh
|
||||||
- . ./.travis/get-anaconda.sh
|
- . ./.travis/get-anaconda.sh
|
||||||
- source $HOME/miniconda/bin/activate py34
|
- source $HOME/miniconda/bin/activate py34
|
||||||
|
|
|
@ -31,6 +31,6 @@ make -C impersonate_macaddress
|
||||||
cat > $HOME/.mlabs/build_settings.sh << EOF
|
cat > $HOME/.mlabs/build_settings.sh << EOF
|
||||||
MISOC_EXTRA_VIVADO_CMDLINE="-Ob vivado_path $HOME/Xilinx/Vivado"
|
MISOC_EXTRA_VIVADO_CMDLINE="-Ob vivado_path $HOME/Xilinx/Vivado"
|
||||||
MISOC_EXTRA_ISE_CMDLINE="-Ob ise_path $HOME/opt/Xilinx/"
|
MISOC_EXTRA_ISE_CMDLINE="-Ob ise_path $HOME/opt/Xilinx/"
|
||||||
MACADDR=$macaddress
|
export MACADDR=$macaddress
|
||||||
export LD_PRELOAD=$PWD/impersonate_macaddress/impersonate_macaddress.so
|
export LD_PRELOAD=$PWD/impersonate_macaddress/impersonate_macaddress.so
|
||||||
EOF
|
EOF
|
||||||
|
|
Loading…
Reference in New Issue