Skip to content

Commit 25d0788

Browse files
committed
COMP: AppleClang 17 does not support wrapping
castxml fails to configure ITK properly FAILED: [code=1] Wrapping/Modules/ITKCommon/itkVersorPython.cpp Wrapping/Generators/Python/itk/itkVersorPython.py /Users/johnsonhj/Dashboard/src/ITK_PR_SRC01/cmake-build-ccache/Wrapping/Modules/ITKCommon/itkVersorPython.cpp /Users/johnsonhj/Dashboard/src/ITK_PR_SRC01/cmake-build-ccache/Wrapping/Generators/Python/itk/itkVersorPython.py cd /Users/johnsonhj/Dashboard/src/ITK_PR_SRC01/cmake-build-ccache/Wrapping/Typedefs/python && /opt/homebrew/bin/ccache /Users/johnsonhj/Dashboard/src/ITK_PR_SRC01/cmake-build-ccache/Wrapping/Generators/SwigInterface/swigmacos-arm64-2024-03-26-master/bin/swig -c++ -python -fastdispatch -fvirtual -features autodoc=2 -doxygen -Werror -w302 -w303 -w312 -w314 -w361 -w362 -w350 -w383 -w384 -w389 -w394 -w395 -w467 -w508 -w509 -o /Users/johnsonhj/Dashboard/src/ITK_PR_SRC01/cmake-build-ccache/Wrapping/Modules/ITKCommon/itkVersorPython.cpp -I/Users/johnsonhj/Dashboard/src/ITK_PR_SRC01/cmake-build-ccache/Wrapping/Generators/SwigInterface/swigmacos-arm64-2024-03-26-master/share/swig/4.3.0/python -I/Users/johnsonhj/Dashboard/src/ITK_PR_SRC01/cmake-build-ccache/Wrapping/Generators/SwigInterface/swigmacos-arm64-2024-03-26-master/share/swig/4.3.0 -I/Users/johnsonhj/Dashboard/src/ITK_PR_SRC01/Wrapping/Generators -I/Users/johnsonhj/Dashboard/src/ITK_PR_SRC01/cmake-build-ccache/Wrapping/Typedefs/python -I/Users/johnsonhj/Dashboard/src/ITK_PR_SRC01/cmake-build-ccache/Wrapping/Typedefs -outdir /Users/johnsonhj/Dashboard/src/ITK_PR_SRC01/cmake-build-ccache/Wrapping/Generators/Python/itk /Users/johnsonhj/Dashboard/src/ITK_PR_SRC01/cmake-build-ccache/Wrapping/Typedefs/itkVersor.i
1 parent 926b171 commit 25d0788

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Wrapping/Generators/CastXML/CMakeLists.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,12 @@ else()
2929
set(_castxml_url)
3030
set(_castxml_hash)
3131
set(_castxml_version 2025.09.03)
32+
# castxml 2025.09.03 currently not compatible with AppleClang 17 (XCode 26)
33+
if(CMAKE_CXX_COMPILER_ID STREQUAL "AppleClang")
34+
if(CMAKE_CXX_COMPILER_VERSION VERSION_GREATER_EQUAL "17")
35+
# message(FATAL_ERROR "Apple Clang ${CMAKE_CXX_COMPILER_VERSION} is not supported. Need AppleClang < 17.")
36+
endif()
37+
endif()
3238

3339
# If 64 bit Linux build host, use the CastXML binary
3440
if(

0 commit comments

Comments
 (0)