#146 tests: Add all missing requirements for tests/toolchains
Merged 2 years ago by sergesanspaille. Opened 2 years ago by jcheca.
rpms/ jcheca/clang tests-toolchains-review-reqs  into  rawhide

file modified
+13
@@ -4,21 +4,34 @@ 

  require:

    - glibc-static

    - yum-utils

+   # This require EPEL/CRB to be enabled on RHEL

+   - libstdc++-static

  adjust:

    # Common requirements when LLVM is not SCL-ized

    - require+:

        - clang

+       - compiler-rt

+       - lld

      when: "collection is not defined"

+   - require-:

+       - lld

+     when: collection is not defined and arch == s390x

  

    # Requirements for SCL-ized LLVM

    - require+:

        - llvm-toolset-13.0-clang

+       - llvm-toolset-13.0-compiler-rt

+       - llvm-toolset-13.0-lld

      when: "collection == llvm-toolset-13.0"

+   - require-:

+       - llvm-toolset-13.0-lld

+     when: collection == llvm-toolset-13.0 and arch == s390x

  

    - environment+:

        CXXLIBS: "libc++"

      require+:

        - libcxx-devel

+       - libcxx-static

      when: "distro == fedora"

      because: testing against libcxx package in Fedora

  

@@ -80,6 +80,11 @@ 

                        args="$args -pthread"

                      fi

  

+                     # lld is not supported in s390x

+                     if [[ "$(uname -m)" = "s390x" && "$linker" = "lld" ]]; then

+                       continue

+                     fi

+ 

                      test_toolchain $compiler $rtlib $linker $cxxlib $args

                  done

              done

Test locally in Fedora Rawhide, CentOS Stream 9 and RHEL 7.9/8.6/9.0
This can be rebased and merged once https://src.fedoraproject.org/rpms/clang/pull-request/145 has been merged

Build failed. More information on how to proceed and troubleshoot errors available at https://fedoraproject.org/wiki/Zuul-based-ci

Build failed. More information on how to proceed and troubleshoot errors available at https://fedoraproject.org/wiki/Zuul-based-ci

rebased onto 8d94b3d

2 years ago

rebased onto 12f649b

2 years ago

Pull-Request has been merged by sergesanspaille

2 years ago

Build failed. More information on how to proceed and troubleshoot errors available at https://fedoraproject.org/wiki/Zuul-based-ci