Skip to content

Commit

Permalink
build feedstock per clang version
Browse files Browse the repository at this point in the history
  • Loading branch information
h-vetinari committed Jul 30, 2023
1 parent ec910b5 commit c0a4be1
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 3 deletions.
26 changes: 26 additions & 0 deletions recipe/conda_build_config.yaml
Original file line number Diff line number Diff line change
@@ -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]
9 changes: 6 additions & 3 deletions recipe/meta.yaml
Original file line number Diff line number Diff line change
@@ -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.split(".")[0] }}

source:
path: .

build:
number: 1
number: 0
skip: true # [not (osx and python_impl == 'cpython')]
script:
echo "works!"
Expand Down

0 comments on commit c0a4be1

Please sign in to comment.