Cpp-Taskflow

A fast C++ header-only library to help you quickly write parallel programs with complex task dependencies.
https://github.com/cpp-taskflow/cpp-taskflow

升级Cmake

指定安装路径进行安装

1
2
3
4
cd /user/bin/cmake-3.8/cmake-x.xx.x
./bootstrap --prefix=/user/bin/cmake-x.x/cmake-x.xx.x
make
make install

另一种安装方案:不使用./bootstrap,而通过 ./configure执行
1
2
3
4
./configure
make
make install
sudo ln -sf /....../....../cmake-3.12.4/bin/* /usr/bin/

升级编译器gcc/g++

1
2
3
4
5
6
7
8
9
10
11
12
13
sudo add-apt-repository ppa:ubuntu-toolchain-r/test
sudo apt-get update
sudo apt-get install gcc-7
sudo apt-get install g++-7

sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-7 100
sudo update-alternatives --config gcc

sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-7 100
sudo update-alternatives --config g++

gcc -v
g++ -v