Description: These tests use excluded datasets due to unclear licenses.
Forwarded: not-needed
Author: Dylan Aïssi <daissi@debian.org>

--- a/cmake/onnxruntime_python.cmake
+++ b/cmake/onnxruntime_python.cmake
@@ -439,15 +439,15 @@
   file(GLOB onnxruntime_python_transformers_test_srcs CONFIGURE_DEPENDS
       "${ONNXRUNTIME_ROOT}/test/python/transformers/*.py"
   )
-  file(GLOB onnxruntime_python_transformers_testdata_srcs CONFIGURE_DEPENDS
-      "${ONNXRUNTIME_ROOT}/test/python/transformers/test_data/models/*.onnx"
-  )
-  file(GLOB onnxruntime_python_transformers_testdata_whisper CONFIGURE_DEPENDS
-      "${ONNXRUNTIME_ROOT}/test/python/transformers/test_data/models/whisper/*.onnx"
-  )
-  file(GLOB onnxruntime_python_transformers_testdata_conformer CONFIGURE_DEPENDS
-      "${ONNXRUNTIME_ROOT}/test/python/transformers/test_data/models/conformer/*.onnx"
-  )
+#  file(GLOB onnxruntime_python_transformers_testdata_srcs CONFIGURE_DEPENDS
+#      "${ONNXRUNTIME_ROOT}/test/python/transformers/test_data/models/*.onnx"
+#  )
+#  file(GLOB onnxruntime_python_transformers_testdata_whisper CONFIGURE_DEPENDS
+#      "${ONNXRUNTIME_ROOT}/test/python/transformers/test_data/models/whisper/*.onnx"
+#  )
+#  file(GLOB onnxruntime_python_transformers_testdata_conformer CONFIGURE_DEPENDS
+#      "${ONNXRUNTIME_ROOT}/test/python/transformers/test_data/models/conformer/*.onnx"
+#  )
 endif()
 
 file(GLOB onnxruntime_python_tools_srcs CONFIGURE_DEPENDS
@@ -504,10 +504,10 @@
 file(GLOB onnxruntime_python_datasets_srcs CONFIGURE_DEPENDS
     "${ONNXRUNTIME_ROOT}/python/datasets/*.py"
 )
-file(GLOB onnxruntime_python_datasets_data CONFIGURE_DEPENDS
-    "${ONNXRUNTIME_ROOT}/python/datasets/*.pb"
-    "${ONNXRUNTIME_ROOT}/python/datasets/*.onnx"
-)
+#file(GLOB onnxruntime_python_datasets_data CONFIGURE_DEPENDS
+#    "${ONNXRUNTIME_ROOT}/python/datasets/*.pb"
+#    "${ONNXRUNTIME_ROOT}/python/datasets/*.onnx"
+#)
 
 # ORT Mobile helpers to convert ONNX model to ORT format, analyze model for suitability in mobile scenarios,
 # and assist with export from PyTorch.
@@ -609,9 +609,9 @@
   COMMAND ${CMAKE_COMMAND} -E copy
       ${onnxruntime_python_datasets_srcs}
       $<TARGET_FILE_DIR:${build_output_target}>/onnxruntime/datasets/
-  COMMAND ${CMAKE_COMMAND} -E copy
-      ${onnxruntime_python_datasets_data}
-      $<TARGET_FILE_DIR:${build_output_target}>/onnxruntime/datasets/
+#  COMMAND ${CMAKE_COMMAND} -E copy
+#      ${onnxruntime_python_datasets_data}
+#      $<TARGET_FILE_DIR:${build_output_target}>/onnxruntime/datasets/
   COMMAND ${CMAKE_COMMAND} -E copy
       ${onnxruntime_python_tools_srcs}
       $<TARGET_FILE_DIR:${build_output_target}>/onnxruntime/tools/
@@ -749,15 +749,15 @@
     COMMAND ${CMAKE_COMMAND} -E copy
         ${onnxruntime_python_transformers_test_srcs}
         $<TARGET_FILE_DIR:${build_output_target}>/transformers/
-    COMMAND ${CMAKE_COMMAND} -E copy
-        ${onnxruntime_python_transformers_testdata_srcs}
-        $<TARGET_FILE_DIR:${build_output_target}>/transformers/test_data/models/
-    COMMAND ${CMAKE_COMMAND} -E copy
-        ${onnxruntime_python_transformers_testdata_whisper}
-        $<TARGET_FILE_DIR:${build_output_target}>/transformers/test_data/models/whisper/
-    COMMAND ${CMAKE_COMMAND} -E copy
-        ${onnxruntime_python_transformers_testdata_conformer}
-        $<TARGET_FILE_DIR:${build_output_target}>/transformers/test_data/models/conformer/
+#    COMMAND ${CMAKE_COMMAND} -E copy
+#        ${onnxruntime_python_transformers_testdata_srcs}
+#        $<TARGET_FILE_DIR:${build_output_target}>/transformers/test_data/models/
+#    COMMAND ${CMAKE_COMMAND} -E copy
+#        ${onnxruntime_python_transformers_testdata_whisper}
+#        $<TARGET_FILE_DIR:${build_output_target}>/transformers/test_data/models/whisper/
+#    COMMAND ${CMAKE_COMMAND} -E copy
+#        ${onnxruntime_python_transformers_testdata_conformer}
+#        $<TARGET_FILE_DIR:${build_output_target}>/transformers/test_data/models/conformer/
   )
 endif()
 
