about summary refs log tree commit diff homepage
path: root/scripts/build/p-libcxx-linux-ubuntu-16.04.inc
blob: 40909f21045447b4cc53101ed39c00ebd96ad0b5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
install_build_dependencies_libcxx() { 
  apt-get update -y

  dependencies=(
    build-essential
    ca-certificates
    git
    python3
    cmake
    curl
    
    file # Needed for wllvm
  )

  #Install essential dependencies
  apt -y --no-install-recommends install "${dependencies[@]}"

  curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
  python3 get-pip.py --user
  export PATH="${HOME}/.local/bin:$PATH"
  pip3 install wllvm
}