Skip to content

Commit

Permalink
fix constraint on libcxx
Browse files Browse the repository at this point in the history
  • Loading branch information
h-vetinari committed Aug 30, 2024
1 parent e488d38 commit daf1719
Showing 1 changed file with 9 additions and 14 deletions.
23 changes: 9 additions & 14 deletions recipe/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ outputs:
- {{ pin_subpackage("libclang-cpp", exact=True) }}
- llvmdev =={{ version }}
# we need to do this manually because clang_bootstrap has no run-export
- libcxx >={{ cxx_compiler_version }} # [osx]
- libcxx >={{ version }} # [osx]
test:
requires:
- {{ compiler('cxx') }}
Expand Down Expand Up @@ -170,7 +170,7 @@ outputs:
- zstd
run:
# we need to do this manually because clang_bootstrap has no run-export
- libcxx >={{ cxx_compiler_version }} # [osx]
- libcxx >={{ version }} # [osx]
test:
commands:
# presence of versioned library
Expand Down Expand Up @@ -218,7 +218,7 @@ outputs:
run:
- {{ pin_subpackage("libclang-cpp" ~ minor_aware_ext, exact=True) }} # [unix]
# we need to do this manually because clang_bootstrap has no run-export
- libcxx >={{ cxx_compiler_version }} # [osx]
- libcxx >={{ version }} # [osx]
test:
commands:
# presence on unix
Expand Down Expand Up @@ -267,7 +267,7 @@ outputs:
- zstd
run:
# we need to do this manually because clang_bootstrap has no run-export
- libcxx >={{ cxx_compiler_version }} # [osx]
- libcxx >={{ version }} # [osx]
test:
commands:
# presence of versioned libraries
Expand Down Expand Up @@ -334,7 +334,7 @@ outputs:
run:
- {{ pin_subpackage("libclang" ~ libclang_soversion, exact=True) }}
# we need to do this manually because clang_bootstrap has no run-export
- libcxx >={{ cxx_compiler_version }} # [osx]
- libcxx >={{ version }} # [osx]
test:
commands:
- test -f $PREFIX/lib/libclang.so # [linux]
Expand Down Expand Up @@ -378,12 +378,7 @@ outputs:
run:
- {{ pin_subpackage("libclang-cpp" ~ minor_aware_ext, exact=True) }} # [unix]
# we need to do this manually because clang_bootstrap has no run-export
- libcxx >={{ cxx_compiler_version }} # [osx]
run_constrained:
- clangdev {{ version }}
- clangxx {{ version }}
- clang-tools {{ version }}
- llvm-tools {{ version }}
- libcxx >={{ version }} # [osx]
test:
commands:
# presence of versioned libraries
Expand Down Expand Up @@ -528,7 +523,7 @@ outputs:
run:
- {{ pin_subpackage("libclang-cpp" ~ minor_aware_ext, max_pin="x.x") }} # [unix]
# we need to do this manually because clang_bootstrap has no run-export
- libcxx >={{ cxx_compiler_version }} # [osx]
- libcxx >={{ version }} # [osx]
test:
commands:
- clang-format-{{ major_version }} --version
Expand Down Expand Up @@ -577,7 +572,7 @@ outputs:
- {{ pin_subpackage("libclang-cpp" ~ minor_aware_ext, max_pin="x.x") }} # [unix]
- {{ pin_subpackage("clang-format-" ~ major_version, exact=True) }} # [unix]
# we need to do this manually because clang_bootstrap has no run-export
- libcxx >={{ cxx_compiler_version }} # [osx]
- libcxx >={{ version }} # [osx]
test:
commands:
- clang-format --version
Expand Down Expand Up @@ -624,7 +619,7 @@ outputs:
- {{ pin_subpackage("libclang" ~ libclang_soversion, max_pin=None) }}
- {{ pin_subpackage("libclang-cpp" ~ minor_aware_ext, max_pin="x.x") }} # [unix]
# we need to do this manually because clang_bootstrap has no run-export
- libcxx >={{ cxx_compiler_version }} # [osx]
- libcxx >={{ version }} # [osx]
run_constrained:
- clangdev {{ version }}
test:
Expand Down

0 comments on commit daf1719

Please sign in to comment.