Skip to content

Commit

Permalink
[runtime_cxxmodules] Enable on AArch64
Browse files Browse the repository at this point in the history
It was disabled in commit a67863d ("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.
  • Loading branch information
hahnjo committed Oct 10, 2024
1 parent a4ee33c commit 3320cc2
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions cmake/modules/RootBuildOptions.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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.")
Expand Down

0 comments on commit 3320cc2

Please sign in to comment.