Merge pull request #898 from yxsamliu/windows

Add windows specific compilation options
Ta zmiana jest zawarta w:
Maneesh Gupta authored and GitHub committed 2019-02-07 06:00:24 +05:30
złożenie baea9f64e7
Plik 1 zmieniony
+5
+5
Wyświetl plik
@@ -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";
}