-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
I plan to package CDBA in alpine, as it uses musl libc it is a lot easier for things to break there. Add alpine latest edge and stable build tests to catch these. Signed-off-by: Caleb Connolly <[email protected]>
- Loading branch information
Showing
2 changed files
with
31 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
#!/bin/sh | ||
# SPDX-License-Identifier: GPL-2.0 | ||
# | ||
# Copyright (c) 2021 Canonical Ltd. | ||
# Copyright (c) 2023 Linaro Ltd | ||
# Author: Krzysztof Kozlowski <[email protected]> | ||
# <[email protected]> | ||
# | ||
|
||
set -ex | ||
|
||
PKGS_CC="gcc" | ||
case $CC in | ||
clang*) | ||
PKGS_CC="clang" | ||
;; | ||
esac | ||
|
||
apk add \ | ||
linux-headers \ | ||
libftdi1-dev \ | ||
yaml-dev \ | ||
eudev-dev \ | ||
meson \ | ||
musl-dev \ | ||
libc-dev \ | ||
$PKGS_CC | ||
|
||
echo "Install finished: $0" |