1
0
mirror of https://github.com/linux-msm/qrtr.git synced 2024-11-01 10:18:06 +00:00
qrtr/ci/archlinux.sh
2024-04-09 19:31:56 +02:00

26 lines
402 B
Bash
Executable File

#!/bin/sh
# SPDX-License-Identifier: GPL-2.0
#
# Copyright (c) 2021 Canonical Ltd.
# Copyright (c) 2023 Linaro Ltd
# Author: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
# <krzk@kernel.org>
#
set -ex
PKGS_CC="gcc"
case $CC in
clang*)
PKGS_CC="clang"
;;
esac
pacman -Syu --noconfirm \
systemd-libs \
pkgconf \
meson \
$PKGS_CC
echo "Install finished: $0"