We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 67b1719 commit d253a1cCopy full SHA for d253a1c
libdevice/cmake/modules/SYCLLibdevice.cmake
@@ -73,6 +73,7 @@ if(LLVM_LIBCXX_USED)
73
endif()
74
75
if (WIN32)
76
+ list(APPEND compile_opts "-std=c++17")
77
list(APPEND compile_opts -D_ALLOW_RUNTIME_LIBRARY_MISMATCH)
78
list(APPEND compile_opts -D_ALLOW_ITERATOR_DEBUG_LEVEL_MISMATCH)
79
@@ -657,6 +658,10 @@ if(LLVM_LIBCXX_USED)
657
658
list(APPEND imf_host_cxx_flags "-stdlib=libc++")
659
660
661
+if (WIN32)
662
+ list(APPEND imf_host_cxx_flags "-std=c++17")
663
+endif()
664
+
665
macro(mangle_name str output)
666
string(STRIP "${str}" strippedStr)
667
string(REGEX REPLACE "^/" "" strippedStr "${strippedStr}")
0 commit comments