Re: Proper sequence of commands to build SML/NJ from SVN
Vesa A Norrman <[email protected]> Sun, 18 Nov 2007 14:42:49 +0200 (EET)
| Newsgroups | gmane.comp.lang.sml.smlnj |
|---|---|
| Message-ID | <[email protected]> |
I have used below sequence in the past. Also find it in the attachment. If you have bad magic number then there is maybe something wrong in config/install.sh not building everything again. I have never used rm in this purpose. I don't know how it can destroy build. Maybe your modification touches some tricky parts. - Vesa #!/bin/sh # script to build smlnj # normal install mkdir smlnj cd smlnj wget http://smlnj.cs.uchicago.edu/dist/working/110.67/config.tgz gunzip -c config.tgz | tar xf - config/install.sh cd .. # build install mv smlnj smlnj.install mkdir smlnj cd smlnj svn co svn://smlnj-gforge.cs.uchicago.edu/smlnj/admin admin/checkout-all.sh # now insert your modification echo Press enter to continue read testingvariable mv ../smlnj.install/bin . mv ../smlnj.install/lib . cd base/system echo 'CMB.make();' | ../../bin/sml '$smlnj/cmb.cm' ./makeml # optional testing #./testml ./installml cd ../.. config/install.sh cd .. exit 0 On Thu, 15 Nov 2007, Vesa Karvonen wrote: > What is the proper sequence of commands to fully (re)build/bootstrap > SML/NJ from a checked out SVN copy? > > Specifically, I'd like to fix a couple of minor issues in SML/NJ's > Basis library implementation, verify/test the changes, and submit a > patch, but I have not been able to rebuild the compiler after the > changes to a usable state. The instructions in > http://www.smlnj.org/doc/CM/btcomp/index.html do not work. In > particular, instructions on the page > http://www.smlnj.org/doc/CM/btcomp/node8.html do NOT produce a working > system (at least the rm command is wrong). Depending on what I try, > either magic numbers differ in libraries (IOW, some libraries weren't > updated properly for the newly build compiler) or some files become > missing (if I actually delete files from lib or bin). > > Please write a single shell script or Makefile for the process. > > -Vesa Karvonen > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Smlnj-list mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/smlnj-list > -- /`---*\ = ^ o ^ = `-----' ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Smlnj-list mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/smlnj-list
builders
(text/plain, 666 B)
#!/bin/sh # script to build smlnj # normal install mkdir smlnj cd smlnj wget http://smlnj.cs.uchicago.edu/dist/working/110.67/config.tgz gunzip -c config.tgz | tar xf - config/install.sh cd .. # build install mv smlnj smlnj.install mkdir smlnj cd smlnj svn co svn://smlnj-gforge.cs.uchicago.edu/smlnj/admin admin/checkout-all.sh # now insert your modification echo Press enter to continue read testingvariable mv ../smlnj.install/bin . mv ../smlnj.install/lib . cd base/system echo 'CMB.make();' | ../../bin/sml '$smlnj/cmb.cm' ./makeml # optional testing #./testml ./installml cd ../.. config/install.sh cd .. exit 0