From 38b02f50f88708032a0a730b7a2be65d7ba46881 Mon Sep 17 00:00:00 2001 From: Samuel Audet Date: Tue, 16 Jan 2024 09:50:01 +0900 Subject: [PATCH] Fix builds for TVM on Windows --- .../org/bytedeco/tvm/global/tvm_runtime.java | 26 +++++-------------- .../org/bytedeco/tvm/presets/tvm_runtime.java | 3 ++- 2 files changed, 8 insertions(+), 21 deletions(-) diff --git a/tvm/src/gen/java/org/bytedeco/tvm/global/tvm_runtime.java b/tvm/src/gen/java/org/bytedeco/tvm/global/tvm_runtime.java index 0cc6c866a0c..2d538850152 100644 --- a/tvm/src/gen/java/org/bytedeco/tvm/global/tvm_runtime.java +++ b/tvm/src/gen/java/org/bytedeco/tvm/global/tvm_runtime.java @@ -676,18 +676,12 @@ public class tvm_runtime extends org.bytedeco.tvm.presets.tvm_runtime { // return Name; // } // } -// Targeting ../is_pod.java - - -// Targeting ../is_integral.java - - -// Targeting ../is_floating_point.java - - -// Targeting ../type_name_helper.java +/** \cond Doxygen_Suppress */ +// declare special traits when C++11 is not available +// #if DMLC_USE_CXX11 == 0 +// #endif /** \endcond */ // namespace dmlc // #endif // DMLC_TYPE_TRAITS_H_ @@ -2759,9 +2753,6 @@ public static native int TVMObjectDerivedFrom(@Cast("uint32_t") int child_type_i // #include // #include // #include -// Targeting ../Handler.java - - // namespace serializer // namespace dmlc @@ -3170,9 +3161,8 @@ public static native int TVMObjectDerivedFrom(@Cast("uint32_t") int child_type_i */ // handle case of function. -// Targeting ../Type2Str.java - +// handle case of function ptr. /** * \brief Template class to remove const, pointer and reference of original type. @@ -3191,9 +3181,6 @@ public static native int TVMObjectDerivedFrom(@Cast("uint32_t") int child_type_i -// Targeting ../typed_packed_call_dispatcher.java - - // namespace detail @@ -3230,9 +3217,8 @@ public static native int TVMObjectDerivedFrom(@Cast("uint32_t") int child_type_i -// Targeting ../PackedFuncValueConverter.java - +// specializations of PackedFuncValueConverter diff --git a/tvm/src/main/java/org/bytedeco/tvm/presets/tvm_runtime.java b/tvm/src/main/java/org/bytedeco/tvm/presets/tvm_runtime.java index 1058425014d..0952b820c9d 100644 --- a/tvm/src/main/java/org/bytedeco/tvm/presets/tvm_runtime.java +++ b/tvm/src/main/java/org/bytedeco/tvm/presets/tvm_runtime.java @@ -50,7 +50,8 @@ value = {"linux", "macosx", "windows"}, compiler = "cpp17", define = {"GENERIC_EXCEPTION_CLASS std::exception", "GENERIC_EXCEPTION_TOSTRING what()", "DMLC_USE_LOGGING_LIBRARY "}, - exclude = {"", "", ""}, + exclude = {"", "", "", + "openblas_config.h", "cblas.h", "lapacke_config.h", "lapacke_mangling.h", "lapack.h", "lapacke.h", "lapacke_utils.h"}, include = { "dlpack/dlpack.h", "dmlc/base.h",