From ef434b41eb33a70396fb336b1bae39c76d740c3d Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Mon, 2 Jan 2023 05:08:55 +0100 Subject: remove hack --- action.yml | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/action.yml b/action.yml index 7a03e6e..511433d 100644 --- a/action.yml +++ b/action.yml @@ -124,7 +124,6 @@ runs: $pkg_clang = 'clang' $pkg_llvm = 'llvm' $pkg_gxx = 'g++' - $additional_deps = @() if (!$latest) { $pkg_version = Format-UpstreamVersion $version @@ -135,21 +134,11 @@ runs: $clang = "$clang-$pkg_version" $clangxx = "$clangxx-$pkg_version" - - if ($pkg_version -eq '13') { - # On both Bionic and Focal, the following error occurs otherwise: - # - # The following packages have unmet dependencies: - # llvm-13 : Depends: libomp5-13 (>= 8) but it is not going to be installed - # E: Unable to correct problems, you have held broken packages. - $additional_deps += 'libomp5-13' - } } if (!$x64) { $pkg_gxx = 'g++-multilib' } $packages = $pkg_clang,$pkg_llvm,$pkg_gxx - $packages += $additional_deps Install-Package $packages } elseif ($cygwin_host) { -- cgit v1.2.3