Remove Ubuntu Xenial from CI. (#1833)
Ubuntu 16.04 has reached end of standard support. Signed-off-by: Wolfgang Hess <whess@lyft.com>master
parent
105c034577
commit
b8228ee656
|
@ -22,7 +22,6 @@ cache:
|
||||||
- /home/travis/docker/
|
- /home/travis/docker/
|
||||||
|
|
||||||
env:
|
env:
|
||||||
- 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=bionic DOCKER_CACHE_FILE=/home/travis/docker/bionic-cache.tar.gz CC=gcc CXX=g++
|
||||||
- LSB_RELEASE=focal DOCKER_CACHE_FILE=/home/travis/docker/focal-cache.tar.gz CC=gcc CXX=g++
|
- LSB_RELEASE=focal DOCKER_CACHE_FILE=/home/travis/docker/focal-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++
|
||||||
|
|
|
@ -1,36 +0,0 @@
|
||||||
# Copyright 2016 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:xenial
|
|
||||||
|
|
||||||
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.
|
|
||||||
RUN apt-get update && apt-get install -y sudo && 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_abseil.sh cartographer/scripts/
|
|
||||||
RUN cartographer/scripts/install_abseil.sh && rm -rf /var/lib/apt/lists/*
|
|
||||||
COPY scripts/install_ceres.sh cartographer/scripts/
|
|
||||||
RUN cartographer/scripts/install_ceres.sh && rm -rf ceres-solver
|
|
||||||
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
|
|
|
@ -78,10 +78,6 @@ macro(google_initialize_cartographer_project)
|
||||||
else()
|
else()
|
||||||
set(GOOG_CXX_FLAGS "-pthread -fPIC ${GOOG_CXX_FLAGS}")
|
set(GOOG_CXX_FLAGS "-pthread -fPIC ${GOOG_CXX_FLAGS}")
|
||||||
|
|
||||||
if (CMAKE_CXX_COMPILER_ID MATCHES "GNU" AND CMAKE_CXX_COMPILER_VERSION VERSION_LESS 6.1)
|
|
||||||
google_add_flag(GOOG_CXX_FLAGS "-std=c++11")
|
|
||||||
endif()
|
|
||||||
|
|
||||||
google_add_flag(GOOG_CXX_FLAGS "-Wall")
|
google_add_flag(GOOG_CXX_FLAGS "-Wall")
|
||||||
google_add_flag(GOOG_CXX_FLAGS "-Wpedantic")
|
google_add_flag(GOOG_CXX_FLAGS "-Wpedantic")
|
||||||
|
|
||||||
|
|
|
@ -65,7 +65,7 @@ Getting started without ROS
|
||||||
Please see our ROS integration as a starting point for integrating your system
|
Please see our ROS integration as a starting point for integrating your system
|
||||||
with the standalone library. Currently, it is the best available reference.
|
with the standalone library. Currently, it is the best available reference.
|
||||||
|
|
||||||
On Ubuntu 16.04 (Xenial):
|
On Ubuntu 18.04 (Bionic):
|
||||||
|
|
||||||
.. literalinclude:: ../../scripts/install_debs_cmake.sh
|
.. literalinclude:: ../../scripts/install_debs_cmake.sh
|
||||||
:language: bash
|
:language: bash
|
||||||
|
@ -97,8 +97,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 16.04 (Xenial), 18.04 (Bionic), 20.04 (Focal)
|
* Ubuntu 18.04 (Bionic), 20.04 (Focal)
|
||||||
* gcc version 4.8.4, 5.4.0, 7.5.0, 9.3.0
|
* gcc version 6.3.0, 7.5.0, 9.3.0
|
||||||
|
|
||||||
Known Issues
|
Known Issues
|
||||||
------------
|
------------
|
||||||
|
|
Loading…
Reference in New Issue