diff options
author | Brent Eagles <brent@zeroc.com> | 2005-12-22 17:36:31 +0000 |
---|---|---|
committer | Brent Eagles <brent@zeroc.com> | 2005-12-22 17:36:31 +0000 |
commit | 7af5af6955a09e5642169f9076477486332c65c8 (patch) | |
tree | 74087b2e7fe640b76e974a82184f1aab94af5ba4 /cpp/makebindist.py | |
parent | Fixed deadlock condition (diff) | |
download | ice-7af5af6955a09e5642169f9076477486332c65c8.tar.bz2 ice-7af5af6955a09e5642169f9076477486332c65c8.tar.xz ice-7af5af6955a09e5642169f9076477486332c65c8.zip |
Updating scripts for dealing with changes to IceCS install rules.
Making dotnet RPM noarch.
Diffstat (limited to 'cpp/makebindist.py')
-rwxr-xr-x | cpp/makebindist.py | 17 |
1 files changed, 14 insertions, 3 deletions
diff --git a/cpp/makebindist.py b/cpp/makebindist.py index f406b6d670a..87f7e66b007 100755 --- a/cpp/makebindist.py +++ b/cpp/makebindist.py @@ -473,8 +473,19 @@ def makeInstall(sources, buildDir, installDir, distro, clean, version): # # XXX- Optimizations need to be turned on for the release. # - runprog('gmake NOGAC=yes OPTIMIZE=yes INSTALL_ROOT=/opt/Ice-%s' % version) - runprog('gmake NOGAC=yes OPTIMIZE=yes INSTALL_ROOT=%s install' % installDir) + try: + runprog('gmake NOGAC=yes OPTIMIZE=no INSTALL_ROOT=/opt/Ice-%s' % version) + runprog('gmake NOGAC=yes OPTIMIZE=no INSTALL_ROOT=%s install' % installDir) + except ExtProgramError: + print "gmake failed for makeInstall(%s, %s, %s, %s, %s, %s)" % (sources, buildDir, installDir, distro, str(clean), version) + raise + + if distro.startswith('IceCS'): + assemblies = ["glacier2cs", "iceboxcs", "icecs", "icegridcs", "icepatch2cs", "icestormcs"] + for a in assemblies: + shutil.copy("bin/%s.dll" % a, "%s/bin/%s.dll" % (installDir, a)) + shutil.copy("bin/iceboxnet.exe", "%s/bin/iceboxnet.exe" % installDir) + os.chdir(cwd) def shlibExtensions(versionString, versionInt): @@ -1010,7 +1021,7 @@ def main(): # distributions doesn't build. # if collectSources: - toCollect = sourceTarBalls + toCollect = list(sourceTarBalls) toCollect.append(('icevb', 'IceVB-' + version, 'vb')) for cvs, tarball, demoDir in sourceTarBalls: collectSourceDistributions(cvsTag, sources, cvs, tarball) |