unittest/run
zstd-*.tar.gz
+# Version is generated into src, because it should be included into src packages
+/src/Version.cpp
+
+# Typical build directories
+/build/
+/build-*
+/build_*
+
# Visual Studio
-.vs/
+/.vs/
# Visual Studio Code
-.vscode/
+/.vscode/
- libzstd1-dev
- libb2-dev
before_install:
- - source ./.travis/install_cuda.sh
+ - source ./misc/install_cuda.sh
# Job 5: Build on Linux with 32-bit MinGW cross-compiler
- os: linux
gcc libc-dev \
make \
bash \
+ build-essential \
+ cmake \
asciidoc \
autoconf \
zstd-dev \
gcc \
make \
bash \
+ build-essential \
+ cmake \
asciidoc \
autoconf \
libzstd-devel \
--- /dev/null
+FROM debian:10
+
+RUN apt-get update && apt-get install -y --no-install-recommends \
+ asciidoc \
+ bash \
+ build-essential \
+ clang \
+ cmake \
+ elfutils \
+ gcc-multilib \
+ libb2-dev \
+ libzstd-dev \
+ xsltproc \
+ && rm -rf /var/lib/apt/lists/*
--- /dev/null
+FROM debian:9
+
+RUN apt-get update && apt-get install -y --no-install-recommends \
+ asciidoc \
+ bash \
+ build-essential \
+ clang \
+ cmake \
+ elfutils \
+ gcc-multilib \
+ libb2-dev \
+ libzstd-dev \
+ xsltproc \
+ && rm -rf /var/lib/apt/lists/*
+++ /dev/null
-FROM debian:latest
-
-RUN apt-get update && apt-get install -y --no-install-recommends \
- gcc-multilib \
- make \
- bash \
- asciidoc xsltproc docbook-xml docbook-xsl \
- autoconf \
- libzstd-dev \
- && rm -rf /var/lib/apt/lists/*
bash \
asciidoc \
autoconf \
+ build-essential \
+ cmake \
libzstd-devel \
&& rpm -e --nodeps graphviz \
&& dnf autoremove -y \
RUN apt-get -qq update && apt-get install -y --no-install-recommends \
libc6-dev \
gcc \
+ build-essential \
clang \
+ cmake \
libc6-dev-i386 \
gcc-multilib \
gcc-mingw-w64 \
--- /dev/null
+FROM ubuntu:xenial
+
+RUN apt-get update && apt-get install -y --no-install-recommends \
+ asciidoc \
+ bash \
+ build-essential \
+ clang \
+ cmake \
+ elfutils \
+ gcc-multilib \
+ libb2-dev \
+ libzstd1-dev \
+ xsltproc \
+ && rm -rf /var/lib/apt/lists/*
+++ /dev/null
-FROM ubuntu:latest
-
-RUN apt-get update && apt-get install -y --no-install-recommends \
- gcc-multilib \
- make \
- bash \
- asciidoc xsltproc docbook-xml docbook-xsl \
- autoconf \
- libzstd-dev \
- && rm -rf /var/lib/apt/lists/*
ccache is a collective work with contributions from many people, including:
* Alexander Korsunsky
+* Alexander Lanin
* Alexey Tourbin
* Alfred Landrum
* Anders F Björklund
* Andrew Tridgell
* Bernhard Bauer
* Björn Jacke
+* Breno Guimaraes
* Chiaki Ishikawa
* Chris AtLee
* Clemens Rabe
* David Givone
* Doug Anderson
* Edward Z. Yang
+* Enrico Sorichetti
* Erik Johansson
* Francois Marier
* Gabriel Scherer
* Geert Bosch
* Geert Kloosterman
* Grigory Entin
+* Harsh Shandilya
* Havard Graff
* Hongli Lai
+* Igor Pylypiv
* Ivan Vaigult
* Ivan Volnov
* Jiang Jiang
* Per Nordlöw
* Peter Budai
* Philippe Proulx
+* Philipp Storz
* Rafael Kitover
* Ramiro Polla
* Robert Yang
* Robin H. Johnson
* Rolf Bjarne Kvinge
-* Russell King
* RW
* Ryan Brown
* Sam Gross
-* Steffen Dettmer
* Thomas Otto
* Thomas Röfer
* Timofei Kushnir
To build ccache from a source repository, you need:
- A C++11 compiler.
-- A C89 compiler.
+- A C99 compiler.
- GNU Bourne Again SHell (bash) for tests.
- [AsciiDoc](https://www.methods.co.nz/asciidoc/) to build the HTML
documentation.
echo "Installing CUDA support"
travis_retry wget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1604/x86_64/cuda-repo-ubuntu1604_${CUDA}_amd64.deb
travis_retry sudo dpkg -i cuda-repo-ubuntu1604_${CUDA}_amd64.deb
+ # sudo apt-key adv --fetch-keys http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1604/x86_64/7fa2af80.pub
travis_retry sudo apt-get update -qq
export CUDA_APT=${CUDA:0:4}
export CUDA_APT=${CUDA_APT/./-}
--- /dev/null
+#!/bin/sh -ex
+
+if [ -d .git ]; then
+ echo "Updating authors...\n"
+
+ # Full git history is needed for this to work
+ # (hide stderr and return code since this fails in case full history is already available)
+ git fetch --unshallow 2> /dev/null || true
+
+ # collect "Co-authored-by" and Authors and update doc/AUTHORS.adoc
+ { git log --pretty=format:"%(trailers)" | grep -Po "(?<=Co-authored-by: )(.*)(?= <)"; git log --format="%aN"; } | sed -e 's/^/* /' | LANG=en_US.utf8 sort -uf | perl -00 -p -i -e 's/^\*.*/<STDIN> . "\n"/es' doc/AUTHORS.adoc
+fi
{
}
-const char* Args::ArgvAccessWrapper::operator[](size_t i) const
+// clang-format off
+const char*
+Args::ArgvAccessWrapper::operator[](size_t i) const
+// clang-format on
{
return i == m_args->size() ? nullptr : m_args->at(i).c_str();
}
return m_args.size();
}
-inline const std::string& Args::operator[](size_t i) const
+// clang-format off
+inline const std::string&
+Args::operator[](size_t i) const
+// clang-format on
{
return m_args[i];
}
-inline std::string& Args::operator[](size_t i)
+// clang-format off
+inline std::string&
+Args::operator[](size_t i)
+// clang-format on
{
return m_args[i];
}
-inline Args& Args::operator*()
+// clang-format off
+inline Args&
+Args::operator*()
+// clang-format on
{
return *this;
}
-inline const Args* Args::operator->() const
+// clang-format off
+inline const Args*
+Args::operator->() const
+// clang-format on
{
return this;
}