1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2024-11-05 01:26:24 +00:00

trying to not build uhd

This commit is contained in:
Carles Fernandez 2014-11-23 12:12:36 +01:00
parent 688a86b9bd
commit dd14a60964

View File

@ -16,29 +16,31 @@ script:
before_install: before_install:
- cat /proc/cpuinfo - cat /proc/cpuinfo
- sudo add-apt-repository "deb http://archive.ubuntu.com/ubuntu trusty universe" #- sudo add-apt-repository "deb http://archive.ubuntu.com/ubuntu trusty universe"
- sudo add-apt-repository "deb http://archive.ubuntu.com/ubuntu trusty multiverse" #- sudo add-apt-repository "deb http://archive.ubuntu.com/ubuntu trusty multiverse"
- sudo add-apt-repository "deb http://archive.ubuntu.com/ubuntu trusty" #- sudo add-apt-repository "deb http://archive.ubuntu.com/ubuntu trusty"
- sudo add-apt-repository "deb http://security.ubuntu.com/ubuntu trusty-security universe" #- sudo add-apt-repository "deb http://security.ubuntu.com/ubuntu trusty-security universe"
- sudo add-apt-repository "deb http://security.ubuntu.com/ubuntu trusty-security main" #- sudo add-apt-repository "deb http://security.ubuntu.com/ubuntu trusty-security main"
- sudo apt-get update -qq #- sudo apt-get update -qq
#- sudo apt-get dist-upgrade -qq --force-yes #- sudo apt-get dist-upgrade -qq --force-yes
#- sudo add-apt-repository "deb http://archive.canonical.com/ubuntu $(lsb_release -sc) partner" - sudo add-apt-repository "deb http://archive.canonical.com/ubuntu $(lsb_release -sc) partner"
#- sudo add-apt-repository "deb http://archive.ubuntu.com/ubuntu $(lsb_release -sc) universe" - sudo add-apt-repository "deb http://archive.ubuntu.com/ubuntu $(lsb_release -sc) universe"
#- sudo add-apt-repository "deb http://archive.ubuntu.com/ubuntu $(lsb_release -sc) multiverse" - sudo add-apt-repository "deb http://archive.ubuntu.com/ubuntu $(lsb_release -sc) multiverse"
#- sudo add-apt-repository "deb http://archive.ubuntu.com/ubuntu $(lsb_release -sc) restricted" - sudo add-apt-repository "deb http://archive.ubuntu.com/ubuntu $(lsb_release -sc) restricted"
#- sudo add-apt-repository "deb http://security.ubuntu.com/ubuntu $(lsb_release -sc)-security main restricted" - sudo add-apt-repository "deb http://security.ubuntu.com/ubuntu $(lsb_release -sc)-security main restricted"
#- sudo add-apt-repository "deb http://security.ubuntu.com/ubuntu $(lsb_release -sc)-security universe" - sudo add-apt-repository "deb http://security.ubuntu.com/ubuntu $(lsb_release -sc)-security universe"
#- sudo add-apt-repository "deb http://ppa.launchpad.net/gqrx/snapshots/ubuntu $(lsb_release -sc) main" - sudo add-apt-repository "deb http://ppa.launchpad.net/gqrx/snapshots/ubuntu $(lsb_release -sc) main"
#- sudo sh -c "echo deb-src http://ppa.launchpad.net/gqrx/snapshots/ubuntu $(lsb_release -sc) main \ >> /etc/apt/sources.list" - sudo sh -c "echo deb-src http://ppa.launchpad.net/gqrx/snapshots/ubuntu $(lsb_release -sc) main \ >> /etc/apt/sources.list"
#- sudo add-apt-repository "deb http://ppa.launchpad.net/skellat/flow1/ubuntu $(lsb_release -sc) main"
#- sudo sh -c "echo deb-src http://ppa.launchpad.net/skellat/flow1/ubuntu $(lsb_release -sc) main \ >> /etc/apt/sources.list"
- sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y - sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y
- sudo apt-get update -qq - sudo apt-get update -qq
- if [ "$CXX" = "g++" ]; then sudo apt-get install -qq g++-4.8; fi - if [ "$CXX" = "g++" ]; then sudo apt-get install -qq g++-4.8; fi
- if [ "$CXX" = "g++" ]; then export CXX="g++-4.8" CC="gcc-4.8"; fi - if [ "$CXX" = "g++" ]; then export CXX="g++-4.8" CC="gcc-4.8"; fi
- if [ "$CXX" = "g++" ]; then sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.8 90; fi - if [ "$CXX" = "g++" ]; then sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.8 90; fi
- sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 5125D2724EAF93B6 - sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 5125D2724EAF93B6
# - sudo sh -c "echo net.core.rmem_max = 262144 \ >> /etc/sysctl.conf" # - sudo sh -c "echo net.core.rmem_max = 262144 \ >> /etc/sysctl.conf"
#- sudo sh -c "echo 83886080 > /proc/sys/net/core/wmem_max" #- sudo sh -c "echo 83886080 > /proc/sys/net/core/wmem_max"
#- sudo sh -c "echo net.core.wmem_max = 262144 \ >> /etc/sysctl.conf" #- sudo sh -c "echo net.core.wmem_max = 262144 \ >> /etc/sysctl.conf"
- sudo /sbin/sysctl -p - sudo /sbin/sysctl -p
- sudo apt-get install -y cmake git-core g++ libstdc++-4.8-dev libboost-all-dev python-wxgtk2.8 uhd-host gnuradio libarmadillo-dev liblapack-dev libopenblas-dev libssl-dev - sudo apt-get install -y cmake git-core g++ libstdc++-4.8-dev libboost-all-dev python-wxgtk2.8 libgnuradio-pmt libgnuradio-runtime libgnuradio-blocks libgnuradio-filter libgnuradio-fft libgnuradio-fec libgnuradio-analog libgnuradio-trellis libarmadillo-dev liblapack-dev libopenblas-dev libssl-dev