Update to spdlog 1.8.2

This commit is contained in:
Sebastian Messmer 2021-01-14 20:00:19 -08:00
parent aced324564
commit 042c7130eb
5 changed files with 11 additions and 9 deletions

View File

@ -60,8 +60,8 @@ references:
DEBIAN_FRONTEND=noninteractive sudo apt-get install -y git ccache $APT_COMPILER_PACKAGE make libcurl4-openssl-dev libssl-dev libfuse-dev DEBIAN_FRONTEND=noninteractive sudo apt-get install -y git ccache $APT_COMPILER_PACKAGE make libcurl4-openssl-dev libssl-dev libfuse-dev
# install cmake # install cmake
wget -O /tmp/cmake.sh https://github.com/Kitware/CMake/releases/download/v3.9.6/cmake-3.9.6-Linux-x86_64.sh wget -O /tmp/cmake.sh https://github.com/Kitware/CMake/releases/download/v3.10.2/cmake-3.10.2-Linux-x86_64.sh
if [ $(sha256sum /tmp/cmake.sh | awk '{print $1;}') == "57cd1dc4857e4d3689d006faf6ff56d5e3635c64d456e34596476db5e9ba8031" ]; then if [ $(sha256sum /tmp/cmake.sh | awk '{print $1;}') == "9348039642fc0213f4dd4235e513adc8ffbe6424ee98f349db17ca2a523a5d1b" ]; then
echo Correct sha256sum echo Correct sha256sum
else else
echo Wrong sha256sum echo Wrong sha256sum
@ -153,8 +153,8 @@ references:
echo Download spdlog echo Download spdlog
cd ~ cd ~
wget https://github.com/gabime/spdlog/archive/v1.4.2.tar.gz -O spdlog.tar.gz wget https://github.com/gabime/spdlog/archive/v1.8.2.tar.gz -O spdlog.tar.gz
if [ $(sha512sum spdlog.tar.gz | awk '{print $1;}') == "886b489138a1bdf363b5eab65a7d973f570a01c399ff5b910fcfee172ad4ff4d42a45dc2ae24e77b07130df527fb13a86b3e55ac992e72c418aebb232e27eabf" ]; then if [ $(sha512sum spdlog.tar.gz | awk '{print $1;}') == "7a0a2353a10187cc314253b366fc46be8f9fe2480d2cbac3a96a8e6825ee4b62b0a5ebb3add2b22b5d7ca8fe6dddd963926603e5296e3431c0a4f7ac42beda7f" ]; then
echo Correct sha512sum echo Correct sha512sum
else else
echo Wrong sha512sum echo Wrong sha512sum
@ -163,7 +163,7 @@ references:
fi fi
tar -xvf spdlog.tar.gz tar -xvf spdlog.tar.gz
rm spdlog.tar.gz rm spdlog.tar.gz
cd spdlog-1.4.2 cd spdlog-1.8.2
echo Install spdlog echo Install spdlog
mkdir build mkdir build

View File

@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 3.9 FATAL_ERROR) cmake_minimum_required(VERSION 3.10 FATAL_ERROR)
# TODO Remove this deprecated policy switch once we're on cmake 3.4 or later # TODO Remove this deprecated policy switch once we're on cmake 3.4 or later
cmake_policy(SET CMP0065 OLD) cmake_policy(SET CMP0065 OLD)

View File

@ -4,7 +4,7 @@ Build changes:
* Switch to Conan package manager * Switch to Conan package manager
* Allow an easy way to modify how the dependencies are found. This is mostly helpful for package maintainers. * Allow an easy way to modify how the dependencies are found. This is mostly helpful for package maintainers.
* Build with LTO if the compiler supports it * Build with LTO if the compiler supports it
* Now requires CMake 3.9 or later * Now requires CMake 3.10 or later
Improvements: Improvements:
* Display the file system configuration when mounting a file system * Display the file system configuration when mounting a file system
@ -18,6 +18,8 @@ New features:
* Add an --immediate flag to cryfs-unmount that tries to unmount immediately and doesn't wait for processes to release their locks on the file system. * Add an --immediate flag to cryfs-unmount that tries to unmount immediately and doesn't wait for processes to release their locks on the file system.
* Add a --create-missing-basedir and --create-missing-mountpoint flag to create the base directory and mount directory respectively, if they don't exist, skipping the confirmation prompt. * Add a --create-missing-basedir and --create-missing-mountpoint flag to create the base directory and mount directory respectively, if they don't exist, skipping the confirmation prompt.
Other:
* Updated to spdlog 1.8.2
Version 0.10.3 (unreleased) Version 0.10.3 (unreleased)
--------------- ---------------

View File

@ -51,7 +51,7 @@ Requirements
------------ ------------
- Git (for getting the source code) - Git (for getting the source code)
- GCC version >= 6.5 or Clang >= 4.0 - GCC version >= 6.5 or Clang >= 4.0
- CMake version >= 3.9 - CMake version >= 3.10
- Conan package manager - Conan package manager
- libcurl4 (including development headers) - libcurl4 (including development headers)
- SSL development libraries (including development headers, e.g. libssl-dev) - SSL development libraries (including development headers, e.g. libssl-dev)

View File

@ -4,7 +4,7 @@ class CryFSConan(ConanFile):
settings = "os", "compiler", "build_type", "arch" settings = "os", "compiler", "build_type", "arch"
requires = [ requires = [
"range-v3/0.9.1@ericniebler/stable", "range-v3/0.9.1@ericniebler/stable",
"spdlog/1.4.2", "spdlog/1.8.2",
] ]
generators = "cmake" generators = "cmake"
default_options = { default_options = {