From 4011e4d2584af3dba1cdd0a5548db1784c71af35 Mon Sep 17 00:00:00 2001 From: Antonio Sanchez Date: Tue, 24 Aug 2021 08:57:02 -0700 Subject: [PATCH] Remove c++11-off CI jobs. This is step 1 in preparing to transition beyond c++03. --- ci/README.md | 18 ---- ci/build.gitlab-ci.yml | 92 +------------------ ci/smoketests.gitlab-ci.yml | 28 ------ ci/test.gitlab-ci.yml | 176 +----------------------------------- 4 files changed, 2 insertions(+), 312 deletions(-) diff --git a/ci/README.md b/ci/README.md index 8395b1601..a5599cc4b 100644 --- a/ci/README.md +++ b/ci/README.md @@ -9,17 +9,11 @@ The build stage consists of the following jobs: | Job Name | Arch | OS | Compiler | C++11 | |------------------------------------------|-----------|----------------|------------|---------| -| `build:x86-64:linux:gcc-4.8:cxx11-off` | `x86-64` | `Ubuntu 18.04` | `GCC-4.8` | `Off` | | `build:x86-64:linux:gcc-4.8:cxx11-on` | `x86-64` | `Ubuntu 18.04` | `GCC-4.8` | `On` | -| `build:x86-64:linux:gcc-9:cxx11-off` | `x86-64` | `Ubuntu 18.04` | `GCC-9` | `Off` | | `build:x86-64:linux:gcc-9:cxx11-on` | `x86-64` | `Ubuntu 18.04` | `GCC-9` | `On` | -| `build:x86-64:linux:gcc-10:cxx11-off` | `x86-64` | `Ubuntu 18.04` | `GCC-10` | `Off` | | `build:x86-64:linux:gcc-10:cxx11-on` | `x86-64` | `Ubuntu 18.04` | `GCC-10` | `On` | -| `build:x86-64:linux:clang-10:cxx11-off` | `x86-64` | `Ubuntu 18.04` | `Clang-10` | `Off` | | `build:x86-64:linux:clang-10:cxx11-on` | `x86-64` | `Ubuntu 18.04` | `Clang-10` | `On` | -| `build:aarch64:linux:gcc-10:cxx11-off` | `AArch64` | `Ubuntu 18.04` | `GCC-10` | `Off` | | `build:aarch64:linux:gcc-10:cxx11-on` | `AArch64` | `Ubuntu 18.04` | `GCC-10` | `On` | -| `build:aarch64:linux:clang-10:cxx11-off` | `AArch64` | `Ubuntu 18.04` | `Clang-10` | `Off` | | `build:aarch64:linux:clang-10:cxx11-on` | `AArch64` | `Ubuntu 18.04` | `Clang-10` | `On` | ### Test stage @@ -30,27 +24,15 @@ In principle every build-job has a corresponding test-job, however testing suppo | Job Name | Arch | OS | Compiler | C++11 | Module |-----------------------------------------------------|-----------|----------------|------------|---------|-------- -| `test:x86-64:linux:gcc-4.8:cxx11-off:official` | `x86-64` | `Ubuntu 18.04` | `GCC-4.8` | `Off` | `Official` -| `test:x86-64:linux:gcc-4.8:cxx11-off:unsupported` | `x86-64` | `Ubuntu 18.04` | `GCC-4.8` | `Off` | `Unsupported` | `test:x86-64:linux:gcc-4.8:cxx11-on:official` | `x86-64` | `Ubuntu 18.04` | `GCC-4.8` | `On` | `Official` | `test:x86-64:linux:gcc-4.8:cxx11-on:unsupported` | `x86-64` | `Ubuntu 18.04` | `GCC-4.8` | `On` | `Unsupported` -| `test:x86-64:linux:gcc-9:cxx11-off:official` | `x86-64` | `Ubuntu 18.04` | `GCC-9` | `Off` | `Official` -| `test:x86-64:linux:gcc-9:cxx11-off:unsupported` | `x86-64` | `Ubuntu 18.04` | `GCC-9` | `Off` | `Unsupported` | `test:x86-64:linux:gcc-9:cxx11-on:official` | `x86-64` | `Ubuntu 18.04` | `GCC-9` | `On` | `Official` | `test:x86-64:linux:gcc-9:cxx11-on:unsupported` | `x86-64` | `Ubuntu 18.04` | `GCC-9` | `On` | `Unsupported` -| `test:x86-64:linux:gcc-10:cxx11-off:official` | `x86-64` | `Ubuntu 18.04` | `GCC-10` | `Off` | `Official` -| `test:x86-64:linux:gcc-10:cxx11-off:unsupported` | `x86-64` | `Ubuntu 18.04` | `GCC-10` | `Off` | `Unsupported` | `test:x86-64:linux:gcc-10:cxx11-on:official` | `x86-64` | `Ubuntu 18.04` | `GCC-10` | `On` | `Official` | `test:x86-64:linux:gcc-10:cxx11-on:unsupported` | `x86-64` | `Ubuntu 18.04` | `GCC-10` | `On` | `Unsupported` -| `test:x86-64:linux:clang-10:cxx11-off:official` | `x86-64` | `Ubuntu 18.04` | `Clang-10` | `Off` | `Official` -| `test:x86-64:linux:clang-10:cxx11-off:unsupported` | `x86-64` | `Ubuntu 18.04` | `Clang-10` | `Off` | `Unsupported` | `test:x86-64:linux:clang-10:cxx11-on:official` | `x86-64` | `Ubuntu 18.04` | `Clang-10` | `On` | `Official` | `test:x86-64:linux:clang-10:cxx11-on:unsupported` | `x86-64` | `Ubuntu 18.04` | `Clang-10` | `On` | `Unsupported` -| `test:aarch64:linux:gcc-10:cxx11-off:official` | `AArch64` | `Ubuntu 18.04` | `GCC-10` | `Off` | `Official` -| `test:aarch64:linux:gcc-10:cxx11-off:unsupported` | `AArch64` | `Ubuntu 18.04` | `GCC-10` | `Off` | `Unsupported` | `test:aarch64:linux:gcc-10:cxx11-on:official` | `AArch64` | `Ubuntu 18.04` | `GCC-10` | `On` | `Official` | `test:aarch64:linux:gcc-10:cxx11-on:unsupported` | `AArch64` | `Ubuntu 18.04` | `GCC-10` | `On` | `Unsupported` -| `test:aarch64:linux:clang-10:cxx11-off:official` | `AArch64` | `Ubuntu 18.04` | `Clang-10` | `Off` | `Official` -| `test:aarch64:linux:clang-10:cxx11-off:unsupported` | `AArch64` | `Ubuntu 18.04` | `Clang-10` | `Off` | `Unsupported` | `test:aarch64:linux:clang-10:cxx11-on:official` | `AArch64` | `Ubuntu 18.04` | `Clang-10` | `On` | `Official` | `test:aarch64:linux:clang-10:cxx11-on:unsupported` | `AArch64` | `Ubuntu 18.04` | `Clang-10` | `On` | `Unsupported` diff --git a/ci/build.gitlab-ci.yml b/ci/build.gitlab-ci.yml index 1144419f4..213ec50f2 100644 --- a/ci/build.gitlab-ci.yml +++ b/ci/build.gitlab-ci.yml @@ -24,17 +24,6 @@ ######## x86-64 ################################################################ # GCC-4.8 (the oldest compiler we support) -build:x86-64:linux:gcc-4.8:cxx11-off: - extends: .build:linux:base - variables: - EIGEN_CI_CXX_COMPILER: "g++-4.8" - EIGEN_CI_CC_COMPILER: "gcc-4.8" - EIGEN_TEST_CXX11: "off" - tags: - - eigen-runner - - linux - - x86-64 - build:x86-64:linux:gcc-4.8:cxx11-on: extends: .build:linux:base variables: @@ -47,17 +36,6 @@ build:x86-64:linux:gcc-4.8:cxx11-on: - x86-64 # GCC-9 -build:x86-64:linux:gcc-9:cxx11-off: - extends: .build:linux:base - variables: - EIGEN_CI_CXX_COMPILER: "g++-9" - EIGEN_CI_CC_COMPILER: "gcc-9" - EIGEN_TEST_CXX11: "off" - tags: - - eigen-runner - - linux - - x86-64 - build:x86-64:linux:gcc-9:cxx11-on: extends: .build:linux:base variables: @@ -70,17 +48,6 @@ build:x86-64:linux:gcc-9:cxx11-on: - x86-64 # GCC-10 -build:x86-64:linux:gcc-10:cxx11-off: - extends: .build:linux:base - variables: - EIGEN_CI_CXX_COMPILER: "g++-10" - EIGEN_CI_CC_COMPILER: "gcc-10" - EIGEN_TEST_CXX11: "off" - tags: - - eigen-runner - - linux - - x86-64 - build:x86-64:linux:gcc-10:cxx11-on: extends: .build:linux:base variables: @@ -93,17 +60,6 @@ build:x86-64:linux:gcc-10:cxx11-on: - x86-64 # Clang-10 -build:x86-64:linux:clang-10:cxx11-off: - extends: .build:linux:base - variables: - EIGEN_CI_CXX_COMPILER: "clang++-10" - EIGEN_CI_CC_COMPILER: "clang-10" - EIGEN_TEST_CXX11: "off" - tags: - - eigen-runner - - linux - - x86-64 - build:x86-64:linux:clang-10:cxx11-on: extends: .build:linux:base variables: @@ -117,17 +73,6 @@ build:x86-64:linux:clang-10:cxx11-on: ######## AArch64 ############################################################### # GCC-10 -build:aarch64:linux:gcc-10:cxx11-off: - extends: .build:linux:base - variables: - EIGEN_CI_CXX_COMPILER: "g++-10" - EIGEN_CI_CC_COMPILER: "gcc-10" - EIGEN_TEST_CXX11: "off" - tags: - - eigen-runner - - linux - - aarch64 - build:aarch64:linux:gcc-10:cxx11-on: extends: .build:linux:base variables: @@ -140,17 +85,6 @@ build:aarch64:linux:gcc-10:cxx11-on: - aarch64 # Clang-10 -build:aarch64:linux:clang-10:cxx11-off: - extends: .build:linux:base - variables: - EIGEN_CI_CXX_COMPILER: "clang++-10" - EIGEN_CI_CC_COMPILER: "clang-10" - EIGEN_TEST_CXX11: "off" - tags: - - eigen-runner - - linux - - aarch64 - build:aarch64:linux:clang-10:cxx11-on: extends: .build:linux:base variables: @@ -166,18 +100,6 @@ build:aarch64:linux:clang-10:cxx11-on: # Currently all ppc64le jobs are allowed to fail # GCC-10 -build:ppc64le:linux:gcc-10:cxx11-off: - extends: .build:linux:base - variables: - EIGEN_CI_CXX_COMPILER: "g++-10" - EIGEN_CI_CC_COMPILER: "gcc-10" - EIGEN_TEST_CXX11: "off" - EIGEN_CI_ADDITIONAL_ARGS: "-DCMAKE_CXX_FLAGS='-DEIGEN_ALTIVEC_DISABLE_MMA'" - tags: - - eigen-runner - - linux - - ppc64le - build:ppc64le:linux:gcc-10:cxx11-on: allow_failure: true extends: .build:linux:base @@ -190,19 +112,7 @@ build:ppc64le:linux:gcc-10:cxx11-on: - linux - ppc64le -# # Clang-10 -build:ppc64le:linux:clang-10:cxx11-off: - allow_failure: true - extends: .build:linux:base - variables: - EIGEN_CI_CXX_COMPILER: "clang++-10" - EIGEN_CI_CC_COMPILER: "clang-10" - EIGEN_TEST_CXX11: "off" - tags: - - eigen-runner - - linux - - ppc64le - +# Clang-10 build:ppc64le:linux:clang-10:cxx11-on: allow_failure: true extends: .build:linux:base diff --git a/ci/smoketests.gitlab-ci.yml b/ci/smoketests.gitlab-ci.yml index 6384f1076..853333164 100644 --- a/ci/smoketests.gitlab-ci.yml +++ b/ci/smoketests.gitlab-ci.yml @@ -22,13 +22,6 @@ only: - merge_requests -buildsmoketests:x86-64:linux:gcc-10:cxx11-off: - extends: .buildsmoketests:linux:base - variables: - EIGEN_CI_CXX_COMPILER: "g++-10" - EIGEN_CI_CC_COMPILER: "gcc-10" - EIGEN_TEST_CXX11: "off" - buildsmoketests:x86-64:linux:gcc-10:cxx11-on: extends: .buildsmoketests:linux:base variables: @@ -36,13 +29,6 @@ buildsmoketests:x86-64:linux:gcc-10:cxx11-on: EIGEN_CI_CC_COMPILER: "gcc-10" EIGEN_TEST_CXX11: "on" -buildsmoketests:x86-64:linux:clang-10:cxx11-off: - extends: .buildsmoketests:linux:base - variables: - EIGEN_CI_CXX_COMPILER: "clang++-10" - EIGEN_CI_CC_COMPILER: "clang-10" - EIGEN_TEST_CXX11: "off" - buildsmoketests:x86-64:linux:clang-10:cxx11-on: extends: .buildsmoketests:linux:base variables: @@ -78,13 +64,6 @@ buildsmoketests:x86-64:linux:clang-10:cxx11-on: only: - merge_requests -smoketests:x86-64:linux:gcc-10:cxx11-off: - extends: .smoketests:linux:base - variables: - EIGEN_CI_CXX_COMPILER: g++-10 - EIGEN_CI_CC_COMPILER: gcc-10 - needs: [ "buildsmoketests:x86-64:linux:gcc-10:cxx11-off" ] - smoketests:x86-64:linux:gcc-10:cxx11-on: extends: .smoketests:linux:base variables: @@ -92,13 +71,6 @@ smoketests:x86-64:linux:gcc-10:cxx11-on: EIGEN_CI_CC_COMPILER: gcc-10 needs: [ "buildsmoketests:x86-64:linux:gcc-10:cxx11-on" ] -smoketests:x86-64:linux:clang-10:cxx11-off: - extends: .smoketests:linux:base - variables: - EIGEN_CI_CXX_COMPILER: clang++-10 - EIGEN_CI_CC_COMPILER: clang-10 - needs: [ "buildsmoketests:x86-64:linux:clang-10:cxx11-off" ] - smoketests:x86-64:linux:clang-10:cxx11-on: extends: .smoketests:linux:base variables: diff --git a/ci/test.gitlab-ci.yml b/ci/test.gitlab-ci.yml index 2a0f5dd17..3525ae979 100644 --- a/ci/test.gitlab-ci.yml +++ b/ci/test.gitlab-ci.yml @@ -29,27 +29,6 @@ ##### x86-64 ################################################################### # GCC-4.8 -.test:x86-64:linux:gcc-4.8:cxx11-off: - extends: .test:linux:base - variables: - EIGEN_CI_CXX_COMPILER: g++-4.8 - EIGEN_CI_CC_COMPILER: gcc-4.8 - needs: [ "build:x86-64:linux:gcc-4.8:cxx11-off" ] - tags: - - eigen-runner - - linux - - x86-64 - -test:x86-64:linux:gcc-4.8:cxx11-off:official: - extends: .test:x86-64:linux:gcc-4.8:cxx11-off - variables: - EIGEN_CI_TEST_LABEL: "Official" - -test:x86-64:linux:gcc-4.8:cxx11-off:unsupported: - extends: .test:x86-64:linux:gcc-4.8:cxx11-off - variables: - EIGEN_CI_TEST_LABEL: "Unsupported" - .test:x86-64:linux:gcc-4.8:cxx11-on: extends: .test:linux:base variables: @@ -72,27 +51,6 @@ test:x86-64:linux:gcc-4.8:cxx11-on:unsupported: EIGEN_CI_TEST_LABEL: "Unsupported" # GCC-9 -.test:x86-64:linux:gcc-9:cxx11-off: - extends: .test:linux:base - variables: - EIGEN_CI_CXX_COMPILER: g++-9 - EIGEN_CI_CC_COMPILER: gcc-9 - needs: [ "build:x86-64:linux:gcc-9:cxx11-off" ] - tags: - - eigen-runner - - linux - - x86-64 - -test:x86-64:linux:gcc-9:cxx11-off:official: - extends: .test:x86-64:linux:gcc-9:cxx11-off - variables: - EIGEN_CI_TEST_LABEL: "Official" - -test:x86-64:linux:gcc-9:cxx11-off:unsupported: - extends: .test:x86-64:linux:gcc-9:cxx11-off - variables: - EIGEN_CI_TEST_LABEL: "Unsupported" - .test:x86-64:linux:gcc-9:cxx11-on: extends: .test:linux:base variables: @@ -115,28 +73,6 @@ test:x86-64:linux:gcc-9:cxx11-on:unsupported: EIGEN_CI_TEST_LABEL: "Unsupported" # GCC-10 -.test:x86-64:linux:gcc-10:cxx11-off: - extends: .test:linux:base - variables: - EIGEN_CI_CXX_COMPILER: g++-10 - EIGEN_CI_CC_COMPILER: gcc-10 - needs: [ "build:x86-64:linux:gcc-10:cxx11-off" ] - tags: - - eigen-runner - - linux - - x86-64 - -test:x86-64:linux:gcc-10:cxx11-off:official: - extends: .test:x86-64:linux:gcc-10:cxx11-off - allow_failure: true - variables: - EIGEN_CI_TEST_LABEL: "Official" - -test:x86-64:linux:gcc-10:cxx11-off:unsupported: - extends: .test:x86-64:linux:gcc-10:cxx11-off - variables: - EIGEN_CI_TEST_LABEL: "Unsupported" - .test:x86-64:linux:gcc-10:cxx11-on: extends: .test:linux:base variables: @@ -161,27 +97,6 @@ test:x86-64:linux:gcc-10:cxx11-on:unsupported: EIGEN_CI_TEST_LABEL: "Unsupported" # Clang 10 -.test:x86-64:linux:clang-10:cxx11-off: - extends: .test:linux:base - variables: - EIGEN_CI_CXX_COMPILER: clang++-10 - EIGEN_CI_CC_COMPILER: clang-10 - needs: [ "build:x86-64:linux:clang-10:cxx11-off" ] - tags: - - eigen-runner - - linux - - x86-64 - -test:x86-64:linux:clang-10:cxx11-off:official: - extends: .test:x86-64:linux:clang-10:cxx11-off - variables: - EIGEN_CI_TEST_LABEL: "Official" - -test:x86-64:linux:clang-10:cxx11-off:unsupported: - extends: .test:x86-64:linux:clang-10:cxx11-off - variables: - EIGEN_CI_TEST_LABEL: "Unsupported" - .test:x86-64:linux:clang-10:cxx11-on: extends: .test:linux:base variables: @@ -205,29 +120,6 @@ test:x86-64:linux:clang-10:cxx11-on:unsupported: ##### AArch64 ################################################################## # GCC-10 -.test:aarch64:linux:gcc-10:cxx11-off: - extends: .test:linux:base - variables: - EIGEN_CI_CXX_COMPILER: g++-10 - EIGEN_CI_CC_COMPILER: gcc-10 - needs: [ "build:aarch64:linux:gcc-10:cxx11-off" ] - tags: - - eigen-runner - - linux - - aarch64 - -test:aarch64:linux:gcc-10:cxx11-off:official: - extends: .test:aarch64:linux:gcc-10:cxx11-off - allow_failure: true - variables: - EIGEN_CI_TEST_LABEL: "Official" - -test:aarch64:linux:gcc-10:cxx11-off:unsupported: - extends: .test:aarch64:linux:gcc-10:cxx11-off - allow_failure: true - variables: - EIGEN_CI_TEST_LABEL: "Unsupported" - .test:aarch64:linux:gcc-10:cxx11-on: extends: .test:linux:base variables: @@ -252,28 +144,6 @@ test:aarch64:linux:gcc-10:cxx11-on:unsupported: EIGEN_CI_TEST_LABEL: "Unsupported" # Clang 10 -.test:aarch64:linux:clang-10:cxx11-off: - extends: .test:linux:base - variables: - EIGEN_CI_CXX_COMPILER: clang++-10 - EIGEN_CI_CC_COMPILER: clang-10 - needs: [ "build:aarch64:linux:clang-10:cxx11-off" ] - tags: - - eigen-runner - - linux - - aarch64 - -test:aarch64:linux:clang-10:cxx11-off:official: - extends: .test:aarch64:linux:clang-10:cxx11-off - allow_failure: true - variables: - EIGEN_CI_TEST_LABEL: "Official" - -test:aarch64:linux:clang-10:cxx11-off:unsupported: - extends: .test:aarch64:linux:clang-10:cxx11-off - variables: - EIGEN_CI_TEST_LABEL: "Unsupported" - .test:aarch64:linux:clang-10:cxx11-on: extends: .test:linux:base variables: @@ -298,28 +168,6 @@ test:aarch64:linux:clang-10:cxx11-on:unsupported: ##### ppc64le ################################################################## # GCC-10 -.test:ppc64le:linux:gcc-10:cxx11-off: - extends: .test:linux:base - variables: - EIGEN_CI_CXX_COMPILER: g++-10 - EIGEN_CI_CC_COMPILER: gcc-10 - needs: [ "build:ppc64le:linux:gcc-10:cxx11-off" ] - allow_failure: true - tags: - - eigen-runner - - linux - - ppc64le - -test:ppc64le:linux:gcc-10:cxx11-off:official: - extends: .test:ppc64le:linux:gcc-10:cxx11-off - variables: - EIGEN_CI_TEST_LABEL: "Official" - -test:ppc64le:linux:gcc-10:cxx11-off:unsupported: - extends: .test:ppc64le:linux:gcc-10:cxx11-off - variables: - EIGEN_CI_TEST_LABEL: "Unsupported" - .test:ppc64le:linux:gcc-10:cxx11-on: extends: .test:linux:base variables: @@ -342,29 +190,7 @@ test:ppc64le:linux:gcc-10:cxx11-on:unsupported: variables: EIGEN_CI_TEST_LABEL: "Unsupported" -# # Clang 10 -.test:ppc64le:linux:clang-10:cxx11-off: - extends: .test:linux:base - variables: - EIGEN_CI_CXX_COMPILER: clang++-10 - EIGEN_CI_CC_COMPILER: clang-10 - needs: [ "build:ppc64le:linux:clang-10:cxx11-off" ] - allow_failure: true - tags: - - eigen-runner - - linux - - ppc64le - -test:ppc64le:linux:clang-10:cxx11-off:official: - extends: .test:ppc64le:linux:clang-10:cxx11-off - variables: - EIGEN_CI_TEST_LABEL: "Official" - -test:ppc64le:linux:clang-10:cxx11-off:unsupported: - extends: .test:ppc64le:linux:clang-10:cxx11-off - variables: - EIGEN_CI_TEST_LABEL: "Unsupported" - +# Clang 10 .test:ppc64le:linux:clang-10:cxx11-on: extends: .test:linux:base variables: