about summary refs log tree commit diff homepage
path: root/scripts/build/p-libcxx-linux-ubuntu.inc
blob: 623ec1f23732bfc25614563fb162014d27309eb0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
install_build_dependencies_libcxx() {
  source "${DIR}/common-functions"

  with_sudo apt-get update -y
  dependencies=(
    build-essential
    ca-certificates
    git
    python3
    python3-pip
    curl
    file # Needed for wllvm
  )

  with_sudo apt -y --no-install-recommends install "${dependencies[@]}"

  pip3 install --user wllvm
  base_path="$(python3 -m site --user-base)"
  export PATH="$PATH:${base_path}/bin"
}