mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-05-02 03:54:07 +08:00
travis: just use libeigen3-dev
This commit is contained in:
parent
3d28f7ecca
commit
54e62f1495
@ -7,10 +7,10 @@ before_install:
|
||||
- sudo apt-get update -qq
|
||||
|
||||
install:
|
||||
- sudo apt-get install -qq g++-4.8
|
||||
- sudo apt-get install -qq g++-4.8 libeigen3-dev
|
||||
- export CXX="g++-4.8"
|
||||
|
||||
before_script:
|
||||
- chmod +x build.sh
|
||||
|
||||
script: ./build.sh
|
||||
script: ./build.sh
|
||||
|
||||
12
build.sh
12
build.sh
@ -1,6 +1,6 @@
|
||||
############################################################################
|
||||
#
|
||||
# Copyright (c) 2015 ECL Development Team. All rights reserved.
|
||||
# Copyright (c) 2015-2016 ECL Development Team. All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
# modification, are permitted provided that the following conditions
|
||||
@ -31,16 +31,6 @@
|
||||
#
|
||||
############################################################################
|
||||
|
||||
#download, build and install eigen
|
||||
wget -O eigen.tar.bz2 http://bitbucket.org/eigen/eigen/get/3.2.8.tar.bz2
|
||||
mkdir eigen
|
||||
tar -xvjf eigen.tar.bz2 -C eigen --strip-components=1
|
||||
mkdir eigen-build
|
||||
cd eigen-build
|
||||
cmake ../eigen
|
||||
make
|
||||
sudo make install
|
||||
|
||||
#build EKF shared library
|
||||
cd ..
|
||||
mkdir Build
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user