Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Move RngStream to xbt (public)
authorSamuel Lepetit <samuel.lepetit@inria.fr>
Wed, 30 May 2012 10:30:35 +0000 (12:30 +0200)
committerArnaud Giersch <arnaud.giersch@iut-bm.univ-fcomte.fr>
Fri, 1 Jun 2012 09:18:23 +0000 (11:18 +0200)
buildtools/Cmake/DefinePackages.cmake
include/xbt/RngStream.h [moved from src/rngstreams/RngStream.h with 100% similarity]
src/xbt/RngStream.c [moved from src/rngstreams/RngStream.c with 99% similarity]

index 41c3f36..5dde708 100644 (file)
@@ -197,6 +197,7 @@ set(XBT_SRC
        src/xbt/xbt_socket.c
        src/xbt/xbt_socket_private.h
        src/xbt/xbt_trp_plugin_tcp.c
+       src/xbt/RngStream.c
 )
 
 if(HAVE_MMAP)
@@ -390,11 +391,6 @@ set(MC_SRC
        src/mc/mc_liveness.c
 )
 
-set(RNGSTREAM_SRC
-       src/rngstreams/RngStream.h
-       src/rngstreams/RngStream.c
-)
-
 set(headers_to_install
        include/xbt/misc.h
        include/xbt/sysdep.h
@@ -436,6 +432,7 @@ set(headers_to_install
        include/xbt/socket.h
        include/xbt/file_stat.h
        include/xbt/xbt_os_thread.h
+  include/xbt/RngStream.h
        include/simgrid/platf.h
        include/simgrid/modelchecker.h
        include/simgrid/simix.h
@@ -523,7 +520,6 @@ set(simgrid_sources
        ${AMOK_SRC}
        ${BINDINGS_SRC}
        ${JEDULE_SRC}
-       ${RNGSTREAM_SRC}
 )
 
 if(HAVE_MC)
similarity index 99%
rename from src/rngstreams/RngStream.c
rename to src/xbt/RngStream.c
index eb4f695..fb81143 100644 (file)
@@ -12,7 +12,7 @@
 \***********************************************************************/
 
 
-#include "RngStream.h"
+#include "xbt/RngStream.h"
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>