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 /sml/trunk/config/new-install.sh
ViewVC logotype

Diff of /sml/trunk/config/new-install.sh

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

revision 1355, Wed Sep 10 00:44:52 2003 UTC revision 1368, Sat Sep 13 04:44:43 2003 UTC
# Line 252  Line 252 
252  #  #
253  # build the run-time system  # build the run-time system
254  #  #
 $CONFIGDIR/unpack $ROOT runtime  
255  if [ -x $RUNDIR/run.$ARCH-$OPSYS ]; then  if [ -x $RUNDIR/run.$ARCH-$OPSYS ]; then
256      vsay $this: Run-time system already exists.      vsay $this: Run-time system already exists.
257  else  else
258        $CONFIGDIR/unpack $ROOT runtime
259      cd $SRCDIR/runtime/objs      cd $SRCDIR/runtime/objs
260      echo $this: Compiling the run-time system.      echo $this: Compiling the run-time system.
261      $MAKE -f mk.$ARCH-$OPSYS $EXTRA_DEFS      $MAKE -f mk.$ARCH-$OPSYS $EXTRA_DEFS
# Line 309  Line 309 
309  #  #
310  # Now do all the rest using the libinstall.sml script:  # Now do all the rest using the libinstall.sml script:
311  #  #
312  echo $this: Compiling library code.  echo $this: Installing other libraries and programs:
313  if $BINDIR/sml $CONFIGDIR/libinstall.sml <<EOF  if $BINDIR/sml $CONFIGDIR/libinstall.sml <<EOF
314  LibInstall.proc { smlnjroot = "${ROOT}",  LibInstall.proc { smlnjroot = "${ROOT}",
                   targetsfiles = ["config/targets.customized",  
                                   "config/targets"],  
315                    buildcmd = "CM_LOCAL_PATHCONFIG=/dev/null ./build",                    buildcmd = "CM_LOCAL_PATHCONFIG=/dev/null ./build",
316                    unpackcmd = SOME "$CONFIGDIR/unpack",                    unpackcmd = SOME "$CONFIGDIR/unpack",
317                    instcmd = fn target => let                    instcmd = fn target => let
# Line 327  Line 325 
325                               end }                               end }
326  EOF  EOF
327  then  then
328      vsay $this: Libraries compiled successfully.      vsay $this: Installation complete.
329  else  else
330      complain "$this: !!! Something went wrong when compiling the libraries."      complain "$this: !!! Installation of libraries and programs failed."
331  fi  fi
332    
333  exit 0  exit 0

Legend:
Removed from v.1355  
changed lines
  Added in v.1368

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