Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions libdevice/cmake/modules/SYCLLibdevice.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ if(LLVM_LIBCXX_USED)
endif()

if (WIN32)
list(APPEND compile_opts "-std=c++17")
list(APPEND compile_opts -D_ALLOW_RUNTIME_LIBRARY_MISMATCH)
list(APPEND compile_opts -D_ALLOW_ITERATOR_DEBUG_LEVEL_MISMATCH)
endif()
Expand Down Expand Up @@ -657,6 +658,10 @@ if(LLVM_LIBCXX_USED)
list(APPEND imf_host_cxx_flags "-stdlib=libc++")
endif()

if (WIN32)
list(APPEND imf_host_cxx_flags "-std=c++17")
endif()

macro(mangle_name str output)
string(STRIP "${str}" strippedStr)
string(REGEX REPLACE "^/" "" strippedStr "${strippedStr}")
Expand Down