Skip to content

Commit

Permalink
Merge pull request #306 from isuruf/different-clang
Browse files Browse the repository at this point in the history
Allow different clang versions to exist in the same env
  • Loading branch information
isuruf authored Aug 10, 2024
2 parents e79d1b0 + a0eff1d commit 64ae15f
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions recipe/meta.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{% set version = "18.1.8" %}
{% set major_version = version.split(".")[0] %}
{% set build_number = 1 %}
{% set build_number = 2 %}

# always includes minor as of v18, see https://github.com/llvm/llvm-project/issues/76273
{% set minor_aware_ext = major_version ~ "." ~ version.split(".")[1] %}
Expand Down Expand Up @@ -369,11 +369,6 @@ outputs:
run:
- {{ pin_compatible("libcxx", max_pin=None) }} # [osx]
- {{ pin_subpackage("libclang-cpp" ~ minor_aware_ext, exact=True) }} # [unix]
run_constrained:
- clangdev {{ version }}
- clangxx {{ version }}
- clang-tools {{ version }}
- llvm-tools {{ version }}
test:
commands:
# presence of versioned libraries
Expand Down

0 comments on commit 64ae15f

Please sign in to comment.