[llvm] Create a CharSetConverter class with both iconv and icu support (PR #74516)

Eli Friedman via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 15 13:58:48 PST 2025


================
@@ -552,6 +552,10 @@ else()
   option(LLVM_ENABLE_THREADS "Use threads if available." ON)
 endif()
 
+set(LLVM_ENABLE_ICU "ON" CACHE STRING "Use ICU for character conversion support if available. Can be ON, OFF, or FORCE_ON")
----------------
efriedma-quic wrote:

> I'm not sure I get the built-in vs separate library distinction for iconv.

See https://discourse.llvm.org/t/rfc-enabling-fexec-charset-support-to-llvm-and-clang-reposting/71512/30 .

https://github.com/llvm/llvm-project/pull/74516


More information about the llvm-commits mailing list