From f1d8aa27b661bc2d65d5ac06a5e16c35c0e1fabd Mon Sep 17 00:00:00 2001 From: ttliang Date: Thu, 3 Jul 2025 11:27:04 +0800 Subject: [PATCH] enable cmc gc in 1.2 runtime MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Issue:https://gitee.com/openharmony/arkcompiler_runtime_core/issues/ICE1D7 Signed-off-by: ttliang Change-Id: I0b90737b8964cbef55d634c2c974161f06bda823 --- build/config/BUILDCONFIG.gn | 4 ++-- toolchain_config.gni | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/build/config/BUILDCONFIG.gn b/build/config/BUILDCONFIG.gn index 1b0b1cdb..feee0355 100644 --- a/build/config/BUILDCONFIG.gn +++ b/build/config/BUILDCONFIG.gn @@ -12,7 +12,7 @@ # limitations under the License. declare_args() { ark_standalone_build = true - ark_hybrid = false + ark_hybrid = true use_musl = true build_root = "//arkcompiler/toolchain/build" run_with_qemu = false @@ -20,7 +20,7 @@ declare_args() { enable_lto_O0 = false disable_force_gc = false timeout = 1200 - enable_cmc_gc = false + enable_cmc_gc = true } check_mac_system_and_cpu_script = diff --git a/toolchain_config.gni b/toolchain_config.gni index 60d1354e..ca514acd 100644 --- a/toolchain_config.gni +++ b/toolchain_config.gni @@ -20,7 +20,7 @@ if (target_cpu == "arm64") { } declare_args() { - toolchain_enable_cmc_gc = false + toolchain_enable_cmc_gc = true } if (defined(enable_cmc_gc) && !toolchain_enable_cmc_gc) { -- Gitee