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]
Este cometimento está contido em:
Maneesh Gupta criou e GitHub cometeu 2018-03-16 07:44:40 +05:30
2 ascendentes 66006b0ac7 765f3913ce
cometimento 05a7963b07
1 ficheiro modificado
+1 -3
+1 -3
Ver ficheiro
@@ -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;
}