[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#794583: ocaml: Allow setting arbitrary RNG seed in ocamlopt



> Therefore, we need a way to make these names determinist.

I looked into this a few months ago but my OCaml is very rusty (it would
require a change in at least 2 places).

My thoughts are that we can -- and should -- achieve the end result by
making the calculation deterministic in all cases, ie. moving away from
using an RNG altogher for this and basing the filename based on its
contents.

There may also be a solution where we simply don't include the filename
in the .a or overwrite it with some determistic one (as described above)
even if random *temporary* file is used during the build. After all,
they are files under /tmp/ which never exist in the binary package.


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby@debian.org / chris-lamb.co.uk
       `-


Reply to: