lmi-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lmi-commits] [lmi] master a1bd23c 1/2: Avoid installed libunwind-dev in


From: Vadim Zeitlin
Subject: [lmi-commits] [lmi] master a1bd23c 1/2: Avoid installed libunwind-dev in clang CI builds
Date: Mon, 13 Dec 2021 19:47:53 -0500 (EST)

branch: master
commit a1bd23c4b49caba24927798db36da805cfc92bde
Author: Vadim Zeitlin <vadim@tt-solutions.com>
Commit: Vadim Zeitlin <vadim@tt-solutions.com>

    Avoid installed libunwind-dev in clang CI builds
    
    This is useless as libunwind (and libdw) is only used with GNU C++
    standard library, and results in failures right now as there is a
    conflict between libunwind-dev and clang in Sid momentarily.
---
 .github/workflows/ci.yml | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 6434b00..b764955 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -93,7 +93,11 @@ jobs:
           # when building for MSW, but with autotools build we can avoid
           # installing them in the latter case.
           if [ -z "${{ matrix.autotools }}" -o -z "${{ matrix.mingw }}" ]; then
-            packages="$packages libunwind-dev libdw-dev libpcre2-dev"
+            # Those are never used with clang currently.
+            if [ "${{ matrix.compiler }}" != clang ]; then
+              packages="$packages libunwind-dev libdw-dev"
+            fi
+            packages="$packages libpcre2-dev"
           fi
 
           if [ "${{ matrix.compiler }}" = clang ]; then



reply via email to

[Prev in Thread] Current Thread [Next in Thread]