Add Ubuntu 18.04 to the install scripts, CI, docs. (#1697)
parent
fe6e81a055
commit
1b0d4f1fee
|
@ -24,6 +24,7 @@ cache:
|
||||||
env:
|
env:
|
||||||
- LSB_RELEASE=trusty DOCKER_CACHE_FILE=/home/travis/docker/trusty-cache.tar.gz CC=gcc CXX=g++
|
- LSB_RELEASE=trusty DOCKER_CACHE_FILE=/home/travis/docker/trusty-cache.tar.gz CC=gcc CXX=g++
|
||||||
- LSB_RELEASE=xenial DOCKER_CACHE_FILE=/home/travis/docker/xenial-cache.tar.gz CC=gcc CXX=g++
|
- LSB_RELEASE=xenial DOCKER_CACHE_FILE=/home/travis/docker/xenial-cache.tar.gz CC=gcc CXX=g++
|
||||||
|
- LSB_RELEASE=bionic DOCKER_CACHE_FILE=/home/travis/docker/bionic-cache.tar.gz CC=gcc CXX=g++
|
||||||
- LSB_RELEASE=jessie DOCKER_CACHE_FILE=/home/travis/docker/jessie-cache.tar.gz CC=gcc CXX=g++
|
- LSB_RELEASE=jessie DOCKER_CACHE_FILE=/home/travis/docker/jessie-cache.tar.gz CC=gcc CXX=g++
|
||||||
- LSB_RELEASE=stretch DOCKER_CACHE_FILE=/home/travis/docker/stretch-cache.tar.gz CC=gcc CXX=g++
|
- LSB_RELEASE=stretch DOCKER_CACHE_FILE=/home/travis/docker/stretch-cache.tar.gz CC=gcc CXX=g++
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,34 @@
|
||||||
|
# Copyright 2020 The Cartographer Authors
|
||||||
|
#
|
||||||
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
# you may not use this file except in compliance with the License.
|
||||||
|
# You may obtain a copy of the License at
|
||||||
|
#
|
||||||
|
# http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
#
|
||||||
|
# Unless required by applicable law or agreed to in writing, software
|
||||||
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
# See the License for the specific language governing permissions and
|
||||||
|
# limitations under the License.
|
||||||
|
|
||||||
|
|
||||||
|
FROM ubuntu:bionic
|
||||||
|
|
||||||
|
ARG cc
|
||||||
|
ARG cxx
|
||||||
|
|
||||||
|
# Set the preferred C/C++ compiler toolchain, if given (otherwise default).
|
||||||
|
ENV CC=$cc
|
||||||
|
ENV CXX=$cxx
|
||||||
|
|
||||||
|
# This base image doesn't ship with sudo, apt-utils. tzdata is installed here to avoid hanging later
|
||||||
|
# when it would wait for user input.
|
||||||
|
RUN apt-get update && apt-get install -y sudo apt-utils tzdata && rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
|
COPY scripts/install_debs_cmake.sh cartographer/scripts/
|
||||||
|
RUN cartographer/scripts/install_debs_cmake.sh && rm -rf /var/lib/apt/lists/*
|
||||||
|
COPY scripts/install_proto3.sh cartographer/scripts/
|
||||||
|
RUN cartographer/scripts/install_proto3.sh && rm -rf protobuf
|
||||||
|
COPY . cartographer
|
||||||
|
RUN cartographer/scripts/install_cartographer_cmake.sh && rm -rf cartographer
|
|
@ -93,8 +93,8 @@ on systems that meet the following requirements:
|
||||||
|
|
||||||
* 64-bit, modern CPU (e.g. 3rd generation i7)
|
* 64-bit, modern CPU (e.g. 3rd generation i7)
|
||||||
* 16 GB RAM
|
* 16 GB RAM
|
||||||
* Ubuntu 14.04 (Trusty) and 16.04 (Xenial)
|
* Ubuntu 14.04 (Trusty), 16.04 (Xenial), 18.04 (Bionic)
|
||||||
* gcc version 4.8.4 and 5.4.0
|
* gcc version 4.8.4, 5.4.0, 7.5.0
|
||||||
|
|
||||||
Known Issues
|
Known Issues
|
||||||
------------
|
------------
|
||||||
|
|
|
@ -50,3 +50,9 @@ sudo apt-get install -y \
|
||||||
libsuitesparse-dev \
|
libsuitesparse-dev \
|
||||||
ninja-build \
|
ninja-build \
|
||||||
python-sphinx
|
python-sphinx
|
||||||
|
|
||||||
|
# Install Ceres Solver on Ubuntu Bionic. No need to build it ourselves.
|
||||||
|
if [[ "$(lsb_release -sc)" = "bionic" ]]
|
||||||
|
then
|
||||||
|
sudo apt-get install -y libceres-dev
|
||||||
|
fi
|
||||||
|
|
Loading…
Reference in New Issue