Merge pull request #898 from yxsamliu/windows
Add windows specific compilation options
[ROCm/clr commit: 0b32d7813e]
这个提交包含在:
当前提交
5eead0e89e
1 个文件已更改
+5
@@ -763,6 +763,11 @@ if ($HIP_PLATFORM eq "clang") {
|
||||
$HIPLDFLAGS .= " -lgcc_s -lgcc -lpthread -lm";
|
||||
}
|
||||
|
||||
# Windows specific options
|
||||
if ($^O eq 'MSWin32' and $HIP_PLATFORM eq "clang") {
|
||||
$HIPCXXFLAGS .= " -std=c++14 -fms-extensions -fms-compatibility"
|
||||
}
|
||||
|
||||
if ($HIPCC_COMPILE_FLAGS_APPEND) {
|
||||
$HIPCXXFLAGS .= " $HIPCC_COMPILE_FLAGS_APPEND";
|
||||
}
|
||||
|
||||
在新工单中引用
屏蔽一个用户