[MLton-commit] r7290

Wesley Terpstra wesley at mlton.org
Sun Oct 18 21:11:20 PDT 2009


Hack the heap-size based on the information gathered about buildds.


----------------------------------------------------------------------

U   mlton/trunk/package/debian/changelog
U   mlton/trunk/package/debian/heap-size

----------------------------------------------------------------------

Modified: mlton/trunk/package/debian/changelog
===================================================================
--- mlton/trunk/package/debian/changelog	2009-10-19 00:33:42 UTC (rev 7289)
+++ mlton/trunk/package/debian/changelog	2009-10-19 04:11:18 UTC (rev 7290)
@@ -1,6 +1,7 @@
 mlton (20091018) unstable; urgency=low
 
   * Apparently, procps needs to be installed to use 'free'.
+  * The buildds aren't overloaded, they just suck. Revised heap-size.
 
  -- Wesley W. Terpstra (Debian) <terpstra at debian.org>  Mon, 19 Oct 2009 02:32:45 +0200
 

Modified: mlton/trunk/package/debian/heap-size
===================================================================
--- mlton/trunk/package/debian/heap-size	2009-10-19 00:33:42 UTC (rev 7289)
+++ mlton/trunk/package/debian/heap-size	2009-10-19 04:11:18 UTC (rev 7290)
@@ -1,17 +1,62 @@
 #! /bin/bash
 
-if dpkg-architecture -iany-hppa;    then result=800m; fi
-if dpkg-architecture -iany-i386;    then result=800m; fi
-if dpkg-architecture -iany-mips;    then result=800m; fi
-if dpkg-architecture -iany-mipsel;  then result=800m; fi
-if dpkg-architecture -iany-powerpc; then result=800m; fi
-if dpkg-architecture -iany-s390;    then result=800m; fi
+# MLton versions around 20091019 require 700m and 1.32g to build.
+# Earlier MLton versions (20070812)require slightly more.
 
-if dpkg-architecture -iany-alpha; then result=1.4g; fi
-if dpkg-architecture -iany-amd64; then result=1.4g; fi
-if dpkg-architecture -iany-ia64;  then result=1.4g; fi
+# Unfortunately, the debian buildds don't have that much memory
+# alpha          -  4g (goedel)
+#                -  8g (goetz)
+#   => 3g heap
+# amd64          -  1g (nautilus)              UNUSABLE
+#                - ??? (excelsior, brahms)
+#   => ???
+# hppa           -  8g (paer)
+#                -3.5g (penalosa, peri)
+#   => 3g heap
+# hurd-i386
+#                - 400m/800m ??? (mozart, rossini, sthibault, bach)
+#   => 700m heap
+# i386           - 16g (murphy)
+#                -  4g (puccini)
+#   => 2g heap
+# ia64           - 12g (mundy)
+#                -  4g (caballero)
+#   => 3g heap
+# kfreebsd-amd64 - ??? (himalia2)
+#                -1.5g (fano)
+#   => 1.35g heap
+# kfreebsd-i386  - ??? (himalia1)
+#                - ??? (finzi)
+#   => ???
+# mips           -  1g (ball)
+#                -1.4g (mayr)
+#   => 800m heap
+# mipsel         -  1g (mayer)
+#                -0.5g (rem)                   UNUSABLE
+#   => 800m heap
+# powerpc        -0.3g (voltaire)              UNUSABLE / black-listed
+#                -0.5g (malo)                  UNUSABLE / black-listed
+#                -  3g (praetorius)
+#   => 2g heap
+# s390           - ??? (31)
+#                - ??? (lxdebian)
+#   => ???
+# sparc          -  2g (schroeder, lebrun, spontini)
+#   => 1.8g heap
 
-if dpkg-architecture -ihurd-i386; then result=700m; fi
+if dpkg-architecture -ealpha;          then result=3g;    fi
+if dpkg-architecture -eamd64;          then result=1.8g;  fi # ??? & need black
+if dpkg-architecture -ehppa;           then result=3g;    fi
+if dpkg-architecture -ehurd-i386;      then result=700m;  fi
+if dpkg-architecture -ei386;           then result=2g;    fi
+if dpkg-architecture -eia64;           then result=3g;    fi
+if dpkg-architecture -ekfreebsd-amd64; then result=1.35g; fi # ??? & need black
+if dpkg-architecture -ekfreebsd-i386;  then result=700m;  fi # ???
+if dpkg-architecture -emips;           then result=800m;  fi
+if dpkg-architecture -emipsel;         then result=800m;  fi # need black
+if dpkg-architecture -epowerpc;        then result=2g;    fi
+if dpkg-architecture -es390;           then result=1.8g;  fi # ???
+if dpkg-architecture -esparc;          then result=1.8g;  fi
 
 # Default to more
 if test -z "$result"; then result=2g; echo "Warning: Unknown architecture." >&2; fi




More information about the MLton-commit mailing list