Skip to content

Commit 86c95d9

Browse files
committed
[modules] Enable cxxmodules for LLVM and libstdc++.
1 parent f11dd03 commit 86c95d9

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

interpreter/CMakeLists.txt

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -93,10 +93,7 @@ if(cxxmodules)
9393
# because the cxxmodules builds in llvm have different build dependency order.
9494
string(REPLACE "${ROOT_CXXMODULES_CXXFLAGS}" "" CMAKE_CXX_FLAGS ${CMAKE_CXX_FLAGS})
9595
string(REPLACE "${ROOT_CXXMODULES_CFLAGS}" "" CMAKE_C_FLAGS ${CMAKE_C_FLAGS})
96-
if(libcxx)
97-
# FIXME: We cannot build LLVM/clang with modules on with libstdc++, yet.
98-
set (LLVM_ENABLE_MODULES ON CACHE BOOL "Override the default LLVM_ENABLE_MODULES option value." )
99-
endif(libcxx)
96+
set (LLVM_ENABLE_MODULES ON CACHE BOOL "Override the default LLVM_ENABLE_MODULES option value." )
10097
endif(cxxmodules)
10198

10299
if(gcctoolchain)

0 commit comments

Comments
 (0)