Add windows specific compilation options

[ROCm/hip commit: 52df98a5d1]
このコミットが含まれているのは:
Yaxun Sam Liu committed 2019-02-05 15:31:20 -05:00
1 親 08a20ec9fd
コミット df3b7c22a4
1ファイル変更
+5
+5
ファイルの表示
@@ -750,6 +750,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";
}