Merge pull request #372 from scchan/fix_hipcc_rhel

On RHEL and CentOS, don't use libc++ since we are using the devtoolse…

[ROCm/clr commit: eabd89f130]
这个提交包含在:
Maneesh Gupta 编写, GitHub 于 2018-03-16 07:44:40 +05:30 提交
2 父节点 66006b0ac7 765f3913ce
当前提交 05a7963b07
1 个文件已更改
+1 -3
+1 -3
查看文件
@@ -125,9 +125,7 @@ if ($HIP_PLATFORM eq "hcc") {
# Force -stdlib=libc++ on UB14.04
$HOST_OSVER= `cat /etc/os-release | grep "^VERSION_ID\=" | cut -d= -f2 | tr -d '\n'`;
if (($HOST_OSNAME eq "ubuntu" and $HOST_OSVER eq "\"14.04\"")
or ($HOST_OSNAME eq "\"centos\"" and $HOST_OSVER eq "\"7\"")
or ($HOST_OSNAME eq "\"rhel\"" and $HOST_OSVER eq "\"7.4\"")) {
if ($HOST_OSNAME eq "ubuntu" and $HOST_OSVER eq "\"14.04\"") {
$HIPCXXFLAGS .= " -stdlib=libc++";
$setStdLib = 1;
}