From 31f92c57dd2627d4f8c7a5a1e280397456af6a72 Mon Sep 17 00:00:00 2001 From: Martin Nowack Date: Mon, 28 Mar 2022 13:34:50 +0100 Subject: Refactor cmake installation into own component --- scripts/build/p-libcxx-linux-ubuntu.inc | 23 ----------------------- 1 file changed, 23 deletions(-) (limited to 'scripts/build/p-libcxx-linux-ubuntu.inc') diff --git a/scripts/build/p-libcxx-linux-ubuntu.inc b/scripts/build/p-libcxx-linux-ubuntu.inc index 36333f19..623ec1f2 100644 --- a/scripts/build/p-libcxx-linux-ubuntu.inc +++ b/scripts/build/p-libcxx-linux-ubuntu.inc @@ -1,28 +1,6 @@ install_build_dependencies_libcxx() { source "${DIR}/common-functions" - # Check if the Ubuntu version is an LTS version - otherwise no cmake version available - if [[ $(grep -q LTS /etc/os-release) ]]; then - with_sudo apt update -y - # Add Kitware's certificate for CMake - dependencies=( - apt-transport-https - ca-certificates - gnupg - lsb-release - software-properties-common - wget - ) - - with_sudo apt -y --no-install-recommends install "${dependencies[@]}" - wget -O - "https://apt.kitware.com/keys/kitware-archive-latest.asc" 2> /dev/null \ - | gpg --dearmor - | with_sudo tee /etc/apt/trusted.gpg.d/kitware.gpg > /dev/null - - # Add CMake repository - codename="$(lsb_release --codename --short)" - with_sudo apt-add-repository -y "deb https://apt.kitware.com/ubuntu/ ${codename} main" - fi - with_sudo apt-get update -y dependencies=( build-essential @@ -30,7 +8,6 @@ install_build_dependencies_libcxx() { git python3 python3-pip - cmake curl file # Needed for wllvm ) -- cgit 1.4.1