summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKWSys Robot <kwrobot@kitware.com>2014-03-19 19:21:09 (GMT)
committerBrad King <brad.king@kitware.com>2014-03-20 13:42:18 (GMT)
commit12faf00d71e9a9d9f48ee13ef9dd0011fa95c385 (patch)
treee94ad45c72d9edbfc2a63665ac4bddf5ddac3a9f
parentc1dde67e62868529aaea807a3664b2eef9389a5b (diff)
downloadCMake-12faf00d71e9a9d9f48ee13ef9dd0011fa95c385.zip
CMake-12faf00d71e9a9d9f48ee13ef9dd0011fa95c385.tar.gz
CMake-12faf00d71e9a9d9f48ee13ef9dd0011fa95c385.tar.bz2
KWSys 2014-03-19 (a8aa1014)
Extract upstream KWSys using the following shell commands. $ git archive --prefix=upstream-kwsys/ a8aa1014 | tar x $ git shortlog --no-merges --abbrev=8 --format='%h %s' dd873734..a8aa1014 Gerhard Grimm (1): fa86f1ba SystemInformation: Fix HP-UX PA-RISC processor detection Rolf Eike Beer (1): a8aa1014 SystemInformation: Fix HP-UX Intel processor detection Change-Id: I5891a6898cc73caf1b2be98859d5d4b11a24c5df
-rw-r--r--SystemInformation.cxx13
1 files changed, 9 insertions, 4 deletions
diff --git a/SystemInformation.cxx b/SystemInformation.cxx
index 9c26380..720a7c3 100644
--- a/SystemInformation.cxx
+++ b/SystemInformation.cxx
@@ -5023,21 +5023,26 @@ bool SystemInformationImplementation::QueryHPUXProcessor()
case CPU_PA_RISC1_0:
this->ChipID.Vendor = "Hewlett-Packard";
this->ChipID.Family = 0x100;
+ break;
case CPU_PA_RISC1_1:
this->ChipID.Vendor = "Hewlett-Packard";
this->ChipID.Family = 0x110;
+ break;
case CPU_PA_RISC2_0:
this->ChipID.Vendor = "Hewlett-Packard";
this->ChipID.Family = 0x200;
-# ifdef CPU_HP_INTEL_EM_1_0
+ break;
+# if defined(CPU_HP_INTEL_EM_1_0) || defined(CPU_IA64_ARCHREV_0)
+# ifdef CPU_HP_INTEL_EM_1_0
case CPU_HP_INTEL_EM_1_0:
-# endif
-# ifdef CPU_IA64_ARCHREV_0
+# endif
+# ifdef CPU_IA64_ARCHREV_0
case CPU_IA64_ARCHREV_0:
-# endif
+# endif
this->ChipID.Vendor = "GenuineIntel";
this->Features.HasIA64 = true;
break;
+# endif
default:
return false;
}