Add windows specific compilation options

이 커밋은 다음에 포함됨:
Yaxun Sam Liu
2019-02-05 14:27:57 -05:00
부모 9a5dc9fe24
커밋 52df98a5d1
+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";
}