From b0121698f19d02b7a40c1dc23b2dd23b1d510f57 Mon Sep 17 00:00:00 2001 From: Jonas Hahnfeld Date: Tue, 10 Sep 2024 14:45:38 +0200 Subject: [PATCH] [runtime_cxxmodules] Enable on AArch64 It was disabled in commit a67863d33a ("Disable modules on aarch64 due to ODR violation") in 2019. I cannot reproduce these problems on lxplus-arm, so try to turn it back on. --- cmake/modules/RootBuildOptions.cmake | 6 ------ 1 file changed, 6 deletions(-) diff --git a/cmake/modules/RootBuildOptions.cmake b/cmake/modules/RootBuildOptions.cmake index 16e73d8d098c5..3d5625e81d115 100644 --- a/cmake/modules/RootBuildOptions.cmake +++ b/cmake/modules/RootBuildOptions.cmake @@ -318,12 +318,6 @@ elseif(APPLE) set(x11_defvalue OFF) endif() -# Current limitations for modules: -#---Modules are disabled on aarch64 platform (due ODR violations) -if(CMAKE_SYSTEM_PROCESSOR MATCHES aarch64) - set(runtime_cxxmodules_defvalue OFF) -endif() - # builtin_openssl is only supported on macOS if(builtin_openssl AND NOT APPLE) message(FATAL_ERROR ">>> Option 'builtin_openssl' is only supported on macOS.")