From 6391636cab3cfd4d1c3f7952b08d1b82b329c58d Mon Sep 17 00:00:00 2001 From: Henry Schreiner Date: Tue, 29 Sep 2020 21:30:29 -0400 Subject: [PATCH] chore: bumpversion patch --- .bumpversion.cfg | 2 +- .gitlab-ci.yml | 2 +- chapters/intro/installing.md | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.bumpversion.cfg b/.bumpversion.cfg index 3711c1c..14e9bb2 100644 --- a/.bumpversion.cfg +++ b/.bumpversion.cfg @@ -1,5 +1,5 @@ [bumpversion] -current_version = 3.18.2 +current_version = 3.18.3 [bumpversion:file:.gitlab-ci.yml] search = cmake-{current_version}-Linux diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 75a810a..879680b 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -5,7 +5,7 @@ test_code: - apt-get update && apt-get install -y make cmake libboost-dev git # We will install latest CMake, even though Ubuntu has a recent one - mkdir -p $HOME/.local - - curl -s "https://cmake.org/files/v3.18/cmake-3.18.2-Linux-x86_64.tar.gz" | tar --strip-components=1 -xz -C $HOME/.local + - curl -s "https://cmake.org/files/v3.18/cmake-3.18.3-Linux-x86_64.tar.gz" | tar --strip-components=1 -xz -C $HOME/.local - export PATH=$HOME/.local/bin:$PATH script: - cmake -S examples -B build diff --git a/chapters/intro/installing.md b/chapters/intro/installing.md index d4d537b..71e8d2e 100644 --- a/chapters/intro/installing.md +++ b/chapters/intro/installing.md @@ -34,13 +34,13 @@ You can [download CMake from KitWare][download]. This is how you will probably g On Linux, there are several options. Kitware provides a [Debian/Ubunutu apt repository][apt], as well as [snap packages][snap]. There are universal Linux binaries provided, but you'll need to pick an install location. If you already use `~/.local` for user-space packages, the following single line command[^1] will get CMake for you [^2]: {% term %} -~ $ wget -qO- "https://cmake.org/files/v3.18/cmake-3.18.2-Linux-x86_64.tar.gz" | tar --strip-components=1 -xz -C ~/.local +~ $ wget -qO- "https://cmake.org/files/v3.18/cmake-3.18.3-Linux-x86_64.tar.gz" | tar --strip-components=1 -xz -C ~/.local {% endterm %} If you just want a local folder with CMake only: {% term %} -~ $ mkdir -p cmake-3.18 && wget -qO- "https://cmake.org/files/v3.18/cmake-3.18.2-Linux-x86_64.tar.gz" | tar --strip-components=1 -xz -C cmake-3.18 +~ $ mkdir -p cmake-3.18 && wget -qO- "https://cmake.org/files/v3.18/cmake-3.18.3-Linux-x86_64.tar.gz" | tar --strip-components=1 -xz -C cmake-3.18 ~ $ export PATH=`pwd`/cmake-3.18/bin:$PATH {% endterm %} @@ -49,7 +49,7 @@ You'll obviously want to append to the PATH every time you start a new terminal, And, if you want a system install, install to `/usr/local`; this is an excellent choice in a Docker container, for example on GitLab CI. Do not try it on a non-containerized system. {% term %} -docker $ wget -qO- "https://cmake.org/files/v3.18/cmake-3.18.2-Linux-x86_64.tar.gz" | tar --strip-components=1 -xz -C /usr/local +docker $ wget -qO- "https://cmake.org/files/v3.18/cmake-3.18.3-Linux-x86_64.tar.gz" | tar --strip-components=1 -xz -C /usr/local {% endterm %}