Skip to content
This repository has been archived by the owner on Jan 12, 2021. It is now read-only.

Commit

Permalink
add hostarch patch for R3.15.6
Browse files Browse the repository at this point in the history
  • Loading branch information
jeonghanlee committed Oct 8, 2018
1 parent 7be60a1 commit b369bd9
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions patch/Site/R3.15.6/ppc64e6500_epics_host_arch.p0.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
diff --git src/tools/EpicsHostArch.pl src/tools/EpicsHostArch.pl
index e8e49bc5e..0314a8bfc 100644
--- src/tools/EpicsHostArch.pl
+++ src/tools/EpicsHostArch.pl
@@ -49,7 +49,12 @@ sub HostArch {
}
die "$0: macOS CPU type '$cpu' not recognized\n";
}
-
+ if (m/^powerpc64-linux/) {
+ for ($cpu) {
+ return 'linux-ppc64e6500' if m/^ppc64/;
+ }
+ die "$0: linux-ppc64 OS CPU type '$cpu' not recognized\n";
+ }
die "$0: Architecture '$arch' not recognized\n";
}
}

0 comments on commit b369bd9

Please sign in to comment.