Home My Page Projects Code Snippets Project Openings SML/NJ
Summary Activity Forums Tracker Lists Tasks Docs Surveys News SCM Files

SCM Repository

[smlnj] Diff of /config/releases/release-110.63/install.sh
ViewVC logotype

Diff of /config/releases/release-110.63/install.sh

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1725, Tue Dec 14 23:23:41 2004 UTC revision 1794, Wed May 18 16:59:22 2005 UTC
# Line 12  Line 12 
12  # Author: Matthias Blume (blume@tti-c.org)  # Author: Matthias Blume (blume@tti-c.org)
13  #  #
14    
15    if [ x$1 = xnolib ] ; then
16        nolib=true
17    else
18        nolib=false
19    fi
20    
21  if [ x${INSTALL_QUIETLY} = xtrue ] ; then  if [ x${INSTALL_QUIETLY} = xtrue ] ; then
22      export CM_VERBOSE      export CM_VERBOSE
23      CM_VERBOSE=false      CM_VERBOSE=false
# Line 260  Line 266 
266  installdriver _link-sml .link-sml  installdriver _link-sml .link-sml
267  installdriver _ml-makedepend ml-makedepend  installdriver _ml-makedepend ml-makedepend
268    
269    installdriver _heap2exec heap2exec
270    
271  #  #
272  # set some architecture dependent run-time system flags  # set some architecture dependent run-time system flags
273  #  #
# Line 314  Line 322 
322      $MAKE -f mk.$ARCH-$OPSYS $EXTRA_DEFS      $MAKE -f mk.$ARCH-$OPSYS $EXTRA_DEFS
323      if [ -x run.$ARCH-$OPSYS ]; then      if [ -x run.$ARCH-$OPSYS ]; then
324          mv run.$ARCH-$OPSYS "$RUNDIR"          mv run.$ARCH-$OPSYS "$RUNDIR"
325            if [ -f runx.$ARCH-$OPSYS ]; then
326                mv runx.$ARCH-$OPSYS "$RUNDIR"
327            fi
328          $MAKE MAKE=$MAKE clean          $MAKE MAKE=$MAKE clean
329      else      else
330          complain "$this: !!! Run-time system build failed for some reason."          complain "$this: !!! Run-time system build failed for some reason."
# Line 330  Line 341 
341      # ignore requested arc name since we have to live with what is there:      # ignore requested arc name since we have to live with what is there:
342      export CM_DIR_ARC      export CM_DIR_ARC
343      CM_DIR_ARC=$ORIG_CM_DIR_ARC      CM_DIR_ARC=$ORIG_CM_DIR_ARC
344        # now re-dump the heap image:
345        vsay "$this: Re-creating a (customized) heap image..."
346        "$BINDIR"/sml @CMredump "$ROOT"/sml
347        cd "$ROOT"
348        if [ -r sml.$HEAP_SUFFIX ]; then
349            mv sml.$HEAP_SUFFIX "$HEAPDIR"
350        else
351            complain "$this !!! Unable to re-create heap image (sml.$HEAP_SUFFIX)."
352        fi
353  else  else
354      "$CONFIGDIR"/unpack "$ROOT" "$BOOT_ARCHIVE"      "$CONFIGDIR"/unpack "$ROOT" "$BOOT_ARCHIVE"
355    
# Line 392  Line 412 
412  #  #
413  # Now do all the rest using the precompiled installer:  # Now do all the rest using the precompiled installer:
414  #  #
415    if [ $nolib = false ] ; then
416  echo $this: Installing other libraries and programs:  echo $this: Installing other libraries and programs:
417  export ROOT INSTALLDIR CONFIGDIR BINDIR  export ROOT INSTALLDIR CONFIGDIR BINDIR
418  if "$BINDIR"/sml -m \$smlnj/installer.cm  if "$BINDIR"/sml -m \$smlnj/installer.cm
# Line 400  Line 421 
421  else  else
422      complain "$this: !!! Installation of libraries and programs failed."      complain "$this: !!! Installation of libraries and programs failed."
423  fi  fi
424    fi
425    
426  exit 0  exit 0

Legend:
Removed from v.1725  
changed lines
  Added in v.1794

root@smlnj-gforge.cs.uchicago.edu
ViewVC Help
Powered by ViewVC 1.0.0