Skip to content

Commit 58990a1

Browse files
committed
COMP: Pin libcxx <22 in conda recipe for CastXML 0.7.0 compatibility
CastXML 0.7.0 on conda-forge bundles Clang 20 internally, which cannot parse the __acquire_capability__ pack-expansion syntax that libc++ 22 introduced in <mutex>:422. Without this pin, every wrapped ITK class fails during Python XML generation with: attribute '__acquire_capability__' does not support argument pack expansion Remove this pin when CastXML ships against Clang 22+ (or when conda-forge tightens castxml-feedstock's own libcxx upper bound).
1 parent a046c8f commit 58990a1

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Utilities/conda-packages/recipe.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,12 @@ outputs:
3636
- ${{ compiler('c') }}
3737
- ${{ compiler('cxx') }}
3838
- castxml >=0.7.0
39+
# castxml 0.7.0 bundles Clang 20, which cannot parse the
40+
# __acquire_capability__ pack-expansion syntax introduced in
41+
# libc++ 22's <mutex>. Pin libc++ to <22 until a castxml release
42+
# builds against Clang 22+. Without this, every wrapped header
43+
# fails at mutex:422.
44+
- libcxx <22
3945
- if: env.get("ITK_CONDA_USE_CCACHE", default="0") == "1"
4046
then: ccache
4147
- if: build_platform != target_platform

0 commit comments

Comments
 (0)