summaryrefslogtreecommitdiff
path: root/scripts/IcePatch2Util.py
diff options
context:
space:
mode:
authorBernard Normier <bernard@zeroc.com>2019-08-02 18:28:26 -0500
committerBernard Normier <bernard@zeroc.com>2019-08-02 18:28:26 -0500
commit7af30e0c843ac1936b50a9318ae72d7375d7996b (patch)
tree1fb362ee6c5b49341300d4083667ce869d904819 /scripts/IcePatch2Util.py
parentFixed ppc testing with bin (diff)
downloadice-7af30e0c843ac1936b50a9318ae72d7375d7996b.tar.bz2
ice-7af30e0c843ac1936b50a9318ae72d7375d7996b.tar.xz
ice-7af30e0c843ac1936b50a9318ae72d7375d7996b.zip
Fixes for source build testing on ppc
Diffstat (limited to 'scripts/IcePatch2Util.py')
-rw-r--r--scripts/IcePatch2Util.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/scripts/IcePatch2Util.py b/scripts/IcePatch2Util.py
index 5485d7babee..6b12ecccc76 100644
--- a/scripts/IcePatch2Util.py
+++ b/scripts/IcePatch2Util.py
@@ -9,12 +9,21 @@ class IcePatch2Calc(ProcessFromBinDir, ProcessIsReleaseOnly, Process):
def __init__(self, *args, **kargs):
Process.__init__(self, exe="icepatch2calc", mapping=Mapping.getByName("cpp"), *args, **kargs)
+ def getExe(self, current):
+ return self.exe + "_32" if current.config.buildPlatform == "ppc" else self.exe
+
class IcePatch2Client(ProcessFromBinDir, ProcessIsReleaseOnly, Process):
def __init__(self, *args, **kargs):
Process.__init__(self, exe="icepatch2client", mapping=Mapping.getByName("cpp"), *args, **kargs)
+ def getExe(self, current):
+ return self.exe + "_32" if current.config.buildPlatform == "ppc" else self.exe
+
class IcePatch2Server(ProcessFromBinDir, ProcessIsReleaseOnly, Process):
def __init__(self, *args, **kargs):
Process.__init__(self, exe="icepatch2server", mapping=Mapping.getByName("cpp"), *args, **kargs)
+
+ def getExe(self, current):
+ return self.exe + "_32" if current.config.buildPlatform == "ppc" else self.exe