From da261558d3eb5b04d08f081f2843f6eb42e9db5b Mon Sep 17 00:00:00 2001 From: "H. Vetinari" Date: Sun, 30 Jul 2023 20:51:10 +1100 Subject: [PATCH 1/2] build feedstock per clang version --- recipe/conda_build_config.yaml | 26 ++++++++++++++++++++++++++ recipe/meta.yaml | 9 ++++++--- 2 files changed, 32 insertions(+), 3 deletions(-) create mode 100644 recipe/conda_build_config.yaml diff --git a/recipe/conda_build_config.yaml b/recipe/conda_build_config.yaml new file mode 100644 index 0000000..408fe51 --- /dev/null +++ b/recipe/conda_build_config.yaml @@ -0,0 +1,26 @@ +# the builds of libcxx-testing depend on a specific +# clang version; to test new libcxx against old clang +# we need to build libcxx-testing for several versions. +c_compiler_version: # [osx] + - 16 # [osx] + - 15 # [osx] + - 14 # [osx] + - 13 # [osx] + - 12 # [osx] + - 11 # [osx] +cxx_compiler_version: # [osx] + - 16 # [osx] + - 15 # [osx] + - 14 # [osx] + - 13 # [osx] + - 12 # [osx] + - 11 # [osx] +# not linked to LLVM; can stay constant, +# but must have the same length as above +fortran_compiler_version: # [osx] + - 12 # [osx] + - 12 # [osx] + - 12 # [osx] + - 12 # [osx] + - 12 # [osx] + - 12 # [osx] diff --git a/recipe/meta.yaml b/recipe/meta.yaml index 0d143cc..c9616bb 100644 --- a/recipe/meta.yaml +++ b/recipe/meta.yaml @@ -1,15 +1,18 @@ {% set name = "libcxx-testing" %} -{% set version = "0.2" %} +# this number only needs to be increased if +# there are substantial infrastructure changes +{% set testing_generation = "0" %} package: name: {{ name|lower }} - version: {{ version }} + # version correspondence is: 0.{{ CLANG_MAJOR }} + version: {{ testing_generation }}.{{ c_compiler_version }} source: path: . build: - number: 1 + number: 0 skip: true # [not (osx and python_impl == 'cpython')] script: echo "works!" From 7c6ae3524adf44e518700c9a8df6cbdc59a55774 Mon Sep 17 00:00:00 2001 From: "H. Vetinari" Date: Sun, 30 Jul 2023 20:55:01 +1100 Subject: [PATCH 2/2] MNT: Re-rendered with conda-build 3.26.0, conda-smithy 3.24.1, and conda-forge-pinning 2023.07.29.23.56.43 --- .azure-pipelines/azure-pipelines-osx.yml | 19 ++++++++- .../osx_64_cxx_compiler_version11.yaml | 21 ++++++++++ .../osx_64_cxx_compiler_version12.yaml | 21 ++++++++++ .../osx_64_cxx_compiler_version13.yaml | 21 ++++++++++ .../osx_64_cxx_compiler_version14.yaml | 21 ++++++++++ ...aml => osx_64_cxx_compiler_version15.yaml} | 0 .../osx_64_cxx_compiler_version16.yaml | 21 ++++++++++ README.md | 39 ++++++++++++++++++- 8 files changed, 159 insertions(+), 4 deletions(-) create mode 100644 .ci_support/osx_64_cxx_compiler_version11.yaml create mode 100644 .ci_support/osx_64_cxx_compiler_version12.yaml create mode 100644 .ci_support/osx_64_cxx_compiler_version13.yaml create mode 100644 .ci_support/osx_64_cxx_compiler_version14.yaml rename .ci_support/{osx_64_.yaml => osx_64_cxx_compiler_version15.yaml} (100%) create mode 100644 .ci_support/osx_64_cxx_compiler_version16.yaml diff --git a/.azure-pipelines/azure-pipelines-osx.yml b/.azure-pipelines/azure-pipelines-osx.yml index 9e4e167..e3075c0 100755 --- a/.azure-pipelines/azure-pipelines-osx.yml +++ b/.azure-pipelines/azure-pipelines-osx.yml @@ -8,8 +8,23 @@ jobs: vmImage: macOS-11 strategy: matrix: - osx_64_: - CONFIG: osx_64_ + osx_64_cxx_compiler_version11: + CONFIG: osx_64_cxx_compiler_version11 + UPLOAD_PACKAGES: 'True' + osx_64_cxx_compiler_version12: + CONFIG: osx_64_cxx_compiler_version12 + UPLOAD_PACKAGES: 'True' + osx_64_cxx_compiler_version13: + CONFIG: osx_64_cxx_compiler_version13 + UPLOAD_PACKAGES: 'True' + osx_64_cxx_compiler_version14: + CONFIG: osx_64_cxx_compiler_version14 + UPLOAD_PACKAGES: 'True' + osx_64_cxx_compiler_version15: + CONFIG: osx_64_cxx_compiler_version15 + UPLOAD_PACKAGES: 'True' + osx_64_cxx_compiler_version16: + CONFIG: osx_64_cxx_compiler_version16 UPLOAD_PACKAGES: 'True' timeoutInMinutes: 360 diff --git a/.ci_support/osx_64_cxx_compiler_version11.yaml b/.ci_support/osx_64_cxx_compiler_version11.yaml new file mode 100644 index 0000000..352a949 --- /dev/null +++ b/.ci_support/osx_64_cxx_compiler_version11.yaml @@ -0,0 +1,21 @@ +MACOSX_DEPLOYMENT_TARGET: +- '10.9' +boost_cpp: +- 1.78.0 +channel_sources: +- conda-forge +channel_targets: +- conda-forge main +cxx_compiler: +- clangxx +cxx_compiler_version: +- '11' +macos_machine: +- x86_64-apple-darwin13.4.0 +pin_run_as_build: + boost-cpp: + max_pin: x.x.x +python_impl: +- cpython +target_platform: +- osx-64 diff --git a/.ci_support/osx_64_cxx_compiler_version12.yaml b/.ci_support/osx_64_cxx_compiler_version12.yaml new file mode 100644 index 0000000..9ca0679 --- /dev/null +++ b/.ci_support/osx_64_cxx_compiler_version12.yaml @@ -0,0 +1,21 @@ +MACOSX_DEPLOYMENT_TARGET: +- '10.9' +boost_cpp: +- 1.78.0 +channel_sources: +- conda-forge +channel_targets: +- conda-forge main +cxx_compiler: +- clangxx +cxx_compiler_version: +- '12' +macos_machine: +- x86_64-apple-darwin13.4.0 +pin_run_as_build: + boost-cpp: + max_pin: x.x.x +python_impl: +- cpython +target_platform: +- osx-64 diff --git a/.ci_support/osx_64_cxx_compiler_version13.yaml b/.ci_support/osx_64_cxx_compiler_version13.yaml new file mode 100644 index 0000000..b995102 --- /dev/null +++ b/.ci_support/osx_64_cxx_compiler_version13.yaml @@ -0,0 +1,21 @@ +MACOSX_DEPLOYMENT_TARGET: +- '10.9' +boost_cpp: +- 1.78.0 +channel_sources: +- conda-forge +channel_targets: +- conda-forge main +cxx_compiler: +- clangxx +cxx_compiler_version: +- '13' +macos_machine: +- x86_64-apple-darwin13.4.0 +pin_run_as_build: + boost-cpp: + max_pin: x.x.x +python_impl: +- cpython +target_platform: +- osx-64 diff --git a/.ci_support/osx_64_cxx_compiler_version14.yaml b/.ci_support/osx_64_cxx_compiler_version14.yaml new file mode 100644 index 0000000..bceef9b --- /dev/null +++ b/.ci_support/osx_64_cxx_compiler_version14.yaml @@ -0,0 +1,21 @@ +MACOSX_DEPLOYMENT_TARGET: +- '10.9' +boost_cpp: +- 1.78.0 +channel_sources: +- conda-forge +channel_targets: +- conda-forge main +cxx_compiler: +- clangxx +cxx_compiler_version: +- '14' +macos_machine: +- x86_64-apple-darwin13.4.0 +pin_run_as_build: + boost-cpp: + max_pin: x.x.x +python_impl: +- cpython +target_platform: +- osx-64 diff --git a/.ci_support/osx_64_.yaml b/.ci_support/osx_64_cxx_compiler_version15.yaml similarity index 100% rename from .ci_support/osx_64_.yaml rename to .ci_support/osx_64_cxx_compiler_version15.yaml diff --git a/.ci_support/osx_64_cxx_compiler_version16.yaml b/.ci_support/osx_64_cxx_compiler_version16.yaml new file mode 100644 index 0000000..f604bff --- /dev/null +++ b/.ci_support/osx_64_cxx_compiler_version16.yaml @@ -0,0 +1,21 @@ +MACOSX_DEPLOYMENT_TARGET: +- '10.9' +boost_cpp: +- 1.78.0 +channel_sources: +- conda-forge +channel_targets: +- conda-forge main +cxx_compiler: +- clangxx +cxx_compiler_version: +- '16' +macos_machine: +- x86_64-apple-darwin13.4.0 +pin_run_as_build: + boost-cpp: + max_pin: x.x.x +python_impl: +- cpython +target_platform: +- osx-64 diff --git a/README.md b/README.md index 796e14d..b3f9fb4 100644 --- a/README.md +++ b/README.md @@ -27,10 +27,45 @@ Current build status - + + + + + + + + + + + + + + + +
VariantStatus
osx_64osx_64_cxx_compiler_version11 - variant + variant + +
osx_64_cxx_compiler_version12 + + variant + +
osx_64_cxx_compiler_version13 + + variant + +
osx_64_cxx_compiler_version14 + + variant + +
osx_64_cxx_compiler_version15 + + variant + +
osx_64_cxx_compiler_version16 + + variant