FS#12422 - Boost.Random non-deterministic random number generator
Attached to Project:
Arch Linux
Opened by Ricardo Hz (rata) - Friday, 12 December 2008, 05:10 GMT
Last edited by Andrea Scarpino (BaSh) - Tuesday, 14 April 2009, 21:51 GMT
Opened by Ricardo Hz (rata) - Friday, 12 December 2008, 05:10 GMT
Last edited by Andrea Scarpino (BaSh) - Tuesday, 14 April 2009, 21:51 GMT
|
Details
Description:
Could you please add the libboost_random.so and libboost_random-mt.so libraries to the Boost package? This dynamic libraries contain the code for a non-deterministic random number generator for Linux. Additional info: * package version(s): boost-1.36.0-2 In order to compile the Boost.Random non-deterministic random number generator from the Boost sources, you should create the 'libs/random/build' directory and put this file into it with the name Jamfile.v2 ===== BEGIN OF FILE ===== project boost/random : source-location ../ ; SOURCES = random_device ; lib boost_random : $(SOURCES).cpp : <link>shared:<define>BOOST_RANDOM_DYN_LINK=1 ; ===== END OF FILE ===== Best regards, Ricardo Honorato |
This task depends upon
In addition, the binaries are so tiny in size and easy to compile that I see no reason to not package them into Boost.
So in short if someone wants to use the nondeterministc random number generaters then he/she should copy the sample implementation from the boost sources into his/her project and use it from there.