You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

lite_build_config.h 651 B

123456789101112131415161718192021222324252627282930313233
  1. //! this file always for bazel
  2. #ifndef _HEADER_LITE_BUILD_CONFIG
  3. #define _HEADER_LITE_BUILD_CONFIG
  4. #ifndef LITE_ENABLE_LOGGING
  5. #define LITE_ENABLE_LOGGING 1
  6. #endif
  7. #ifndef LITE_ENABLE_EXCEPTION
  8. #if __cpp_exceptions || __EXCEPTIONS || (defined(_MSC_VER) && defined(_CPPUNWIND))
  9. #define LITE_ENABLE_EXCEPTION 1
  10. #else
  11. #define LITE_ENABLE_EXCEPTION 0
  12. #endif
  13. #endif
  14. #ifndef LITE_WITH_CUDA
  15. #define LITE_WITH_CUDA 0
  16. #endif
  17. #ifndef LITE_ASSERT_LOC
  18. #define LITE_ASSERT_LOC 1
  19. #endif
  20. #ifndef LITE_BUILD_WITH_MGE
  21. #define LITE_BUILD_WITH_MGE 1
  22. #endif
  23. #ifndef LITE_BUILD_WITH_RKNPU
  24. #define LITE_BUILD_WITH_RKNPU 0
  25. #endif
  26. #endif // _HEADER_LITE_BUILD_CONFIG