[llvm] [libc][workflows] fix pre-commit fullbuild and re-enable gcc (PR #119441)

via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 10 11:35:41 PST 2024


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-github-workflow

Author: Schrodinger ZHU Yifan (SchrodingerZhu)

<details>
<summary>Changes</summary>



---
Full diff: https://github.com/llvm/llvm-project/pull/119441.diff


1 Files Affected:

- (modified) .github/workflows/libc-fullbuild-tests.yml (+3-4) 


``````````diff
diff --git a/.github/workflows/libc-fullbuild-tests.yml b/.github/workflows/libc-fullbuild-tests.yml
index b07e94244c2e8c..357e9064e90100 100644
--- a/.github/workflows/libc-fullbuild-tests.yml
+++ b/.github/workflows/libc-fullbuild-tests.yml
@@ -18,9 +18,8 @@ jobs:
         include:
           - c_compiler: clang
             cpp_compiler: clang++
-          # TODO: add back gcc build when it is fixed
-          # - c_compiler: gcc
-          #   cpp_compiler: g++
+          - c_compiler: gcc
+            cpp_compiler: g++
     steps:
     - uses: actions/checkout at v4
     
@@ -44,7 +43,7 @@ jobs:
     - name: Prepare dependencies (Ubuntu)
       run: |
         sudo apt-get update
-        sudo apt-get install -y libmpfr-dev libgmp-dev libmpc-dev ninja-build linux-headers-generic linux-libc-dev
+        sudo apt-get install -y libmpfr-dev libgmp-dev libmpc-dev ninja-build linux-libc-dev
         sudo ln -sf /usr/include/$(uname -p)-linux-gnu/asm /usr/include/asm
 
     - name: Set reusable strings

``````````

</details>


https://github.com/llvm/llvm-project/pull/119441


More information about the llvm-commits mailing list