Files
ortools-clone/cmake/docker/ubuntu/setup.sh
Corentin Le Molgat a538af550e Add cmake/Makefile to test cmake build and install
- This makefile orchestrate the use of cmake/docker to test cmake
- add cache/ to .gitignore
2018-02-06 14:20:09 +01:00

12 lines
373 B
Bash
Executable File

#!/usr/bin/env bash
set -x
apt-get update -qq
apt-get install -qq git wget build-essential swig python3-dev python3-pip
python3 -m pip install virtualenv
wget https://cmake.org/files/v3.10/cmake-3.10.2-Linux-x86_64.sh && \
chmod a+x cmake-3.10.2-Linux-x86_64.sh && \
./cmake-3.10.2-Linux-x86_64.sh --prefix=/usr/local/ --skip-license && \
rm cmake-3.10.2-Linux-x86_64.sh