[llvm] Create a CharSetConverter class with both iconv and icu support (PR #74516)
Abhina Sree via llvm-commits
llvm-commits at lists.llvm.org
Fri Apr 4 11:04:33 PDT 2025
================
@@ -572,6 +572,10 @@ else()
option(LLVM_ENABLE_THREADS "Use threads if available." ON)
endif()
+set(LLVM_ENABLE_ICU "OFF" CACHE STRING "Use ICU for character conversion support if available. Can be ON, OFF, or FORCE_ON")
+
+set(LLVM_ENABLE_ICONV "OFF" CACHE STRING "Use iconv for character conversion support if available. Can be ON, OFF, or FORCE_ON")
----------------
abhina-sree wrote:
I think the community preferred ICU over iconv, so it would make more sense to enable ICU and disable iconv, or disable both as the default
https://github.com/llvm/llvm-project/pull/74516
More information about the llvm-commits
mailing list