Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Generate doc with maintainer_mode and make gtnets tests
authornavarrop <navarrop@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Wed, 3 Mar 2010 12:55:37 +0000 (12:55 +0000)
committernavarrop <navarrop@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Wed, 3 Mar 2010 12:55:37 +0000 (12:55 +0000)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@7172 48e7efb5-ca39-0410-a469-dd3cf9ba447f

buildtools/CPACK/simgrid_CMakeList/CMakeLists.txt
buildtools/CPACK/src/CMakeDocs.txt
buildtools/CPACK/src/CMakeOption.txt
buildtools/CPACK/src/CMakeTest.txt
buildtools/CPACK/src/tmp_gras_config.h.in [deleted file]

index 9b4fd45..b9b8915 100644 (file)
@@ -53,4 +53,7 @@ include(${PROJECT_DIRECTORY}/CPACK/src/CMakeDistrib.txt)
 ### Print ARGS
 include(${PROJECT_DIRECTORY}/CPACK/src/CMakePrintArgs.txt)
 
 ### Print ARGS
 include(${PROJECT_DIRECTORY}/CPACK/src/CMakePrintArgs.txt)
 
+### Make Docs
+include(${PROJECT_DIRECTORY}/CPACK/src/CMakeDocs.txt)
+
 INCLUDE(Dart)
 INCLUDE(Dart)
index 503abd5..cb5c45b 100644 (file)
@@ -12,11 +12,10 @@ if(MAINTAINER_MODE)
                tar -xvf bibtex2html-1.02.tar.gz
                rm bibtex2html-1.02.tar.gz
                cd bibtex2html-1.02/src
                tar -xvf bibtex2html-1.02.tar.gz
                rm bibtex2html-1.02.tar.gz
                cd bibtex2html-1.02/src
-               make
-               ./bibtex2html"
+               make"
                )
                )
-               exec_program("chmod a=rwx ${PROJECT_DIRECTORY}/CPACK/bibtex2html_install.sh"  "${PROJECT_DIRECTORY}/doc/")
-               exec_program("${PROJECT_DIRECTORY}/CPACK/bibtex2html_install.sh"  "${PROJECT_DIRECTORY}/doc/")
+               exec_program("chmod a=rwx ${PROJECT_DIRECTORY}/CPACK/bibtex2html_install.sh")
+               exec_program("${PROJECT_DIRECTORY}/CPACK/bibtex2html_install.sh" OUTPUT_VARIABLE OKITOKI)
 
                if(EXISTS "${PROJECT_DIRECTORY}/bibtex2html-1.02/src/bibtex2html")
                set(BIBTEX2HTML_PATH ${PROJECT_DIRECTORY}/bibtex2html-1.02/src)
 
                if(EXISTS "${PROJECT_DIRECTORY}/bibtex2html-1.02/src/bibtex2html")
                set(BIBTEX2HTML_PATH ${PROJECT_DIRECTORY}/bibtex2html-1.02/src)
index fa50693..4f0c206 100644 (file)
@@ -16,5 +16,5 @@ option(disable_java "This variable set the java context." OFF)
 option(disable_lua "This variable set lua use." OFF)
 option(enable_compile_warnings "" OFF)
 option(enable_compile_optimizations "" OFF)
 option(disable_lua "This variable set lua use." OFF)
 option(enable_compile_warnings "" OFF)
 option(enable_compile_optimizations "" OFF)
+option(disable_gtnets "This variable set the gtnets context." OFF)
 option(disable_ruby "This variable set ruby use." ON)
 option(disable_ruby "This variable set ruby use." ON)
-option(disable_gtnets "This variable set the gtnets context." ON)
index 736924a..d9a4f96 100644 (file)
@@ -142,7 +142,6 @@ ADD_TEST(msg-priority       ${PROJECT_DIRECTORY}/tools/tesh/tesh --cd ${PROJECT_DIRECT
 ADD_TEST(msg-properties        ${PROJECT_DIRECTORY}/tools/tesh/tesh --cd ${PROJECT_DIRECTORY}/examples/msg properties/msg_prop.tesh)
 ADD_TEST(msg-trace     ${PROJECT_DIRECTORY}/tools/tesh/tesh --cd ${PROJECT_DIRECTORY}/examples/msg trace/trace.tesh)
 ADD_TEST(msg-masterslave_cpu_ti        ${PROJECT_DIRECTORY}/tools/tesh/tesh --cd ${PROJECT_DIRECTORY}/examples/msg masterslave/masterslave_cpu_ti.tesh)
 ADD_TEST(msg-properties        ${PROJECT_DIRECTORY}/tools/tesh/tesh --cd ${PROJECT_DIRECTORY}/examples/msg properties/msg_prop.tesh)
 ADD_TEST(msg-trace     ${PROJECT_DIRECTORY}/tools/tesh/tesh --cd ${PROJECT_DIRECTORY}/examples/msg trace/trace.tesh)
 ADD_TEST(msg-masterslave_cpu_ti        ${PROJECT_DIRECTORY}/tools/tesh/tesh --cd ${PROJECT_DIRECTORY}/examples/msg masterslave/masterslave_cpu_ti.tesh)
-ADD_TEST(msg-gtnets    ${PROJECT_DIRECTORY}/tools/tesh/tesh --cd ${PROJECT_DIRECTORY}/examples/msg gtnets/gtnets.tesh)
 
 IF(${ARCH_32_BITS})
   ADD_TEST(gras-ping-sg-32     ${PROJECT_DIRECTORY}/tools/tesh/tesh --cd ${PROJECT_DIRECTORY}/examples/gras/ping test_sg_32)
 
 IF(${ARCH_32_BITS})
   ADD_TEST(gras-ping-sg-32     ${PROJECT_DIRECTORY}/tools/tesh/tesh --cd ${PROJECT_DIRECTORY}/examples/gras/ping test_sg_32)
@@ -186,7 +185,6 @@ ADD_TEST(simdag-test_simdag2        ${PROJECT_DIRECTORY}/tools/tesh/tesh --cd ${PROJECT
 ADD_TEST(simdag-test_prop      ${PROJECT_DIRECTORY}/tools/tesh/tesh --cd ${PROJECT_DIRECTORY}/examples/simdag properties/test_prop.tesh)
 ADD_TEST(simdag-metaxml_test   ${PROJECT_DIRECTORY}/tools/tesh/tesh --cd ${PROJECT_DIRECTORY}/examples/simdag metaxml/metaxml_test.tesh)
 
 ADD_TEST(simdag-test_prop      ${PROJECT_DIRECTORY}/tools/tesh/tesh --cd ${PROJECT_DIRECTORY}/examples/simdag properties/test_prop.tesh)
 ADD_TEST(simdag-metaxml_test   ${PROJECT_DIRECTORY}/tools/tesh/tesh --cd ${PROJECT_DIRECTORY}/examples/simdag metaxml/metaxml_test.tesh)
 
-#############################################################################################################################################################
 if(HAVE_JAVA)
 # java examples
 ADD_TEST(java-basic    ${PROJECT_DIRECTORY}/CPACK/test_java.sh ${PROJECT_DIRECTORY}/examples/java/basic BasicTest)
 if(HAVE_JAVA)
 # java examples
 ADD_TEST(java-basic    ${PROJECT_DIRECTORY}/CPACK/test_java.sh ${PROJECT_DIRECTORY}/examples/java/basic BasicTest)
@@ -198,14 +196,14 @@ endif(HAVE_JAVA)
 ADD_TEST(smpi-bcast    ${PROJECT_DIRECTORY}/tools/tesh/tesh --cd ${PROJECT_DIRECTORY}/examples/smpi bcast.tesh)
 ADD_TEST(smpi-reduce   ${PROJECT_DIRECTORY}/tools/tesh/tesh --cd ${PROJECT_DIRECTORY}/examples/smpi reduce.tesh)
 
 ADD_TEST(smpi-bcast    ${PROJECT_DIRECTORY}/tools/tesh/tesh --cd ${PROJECT_DIRECTORY}/examples/smpi bcast.tesh)
 ADD_TEST(smpi-reduce   ${PROJECT_DIRECTORY}/tools/tesh/tesh --cd ${PROJECT_DIRECTORY}/examples/smpi reduce.tesh)
 
-#############################################################################################################################################################
+if(HAVE_GTNETS)
+ADD_TEST(msg-gtnets    ${PROJECT_DIRECTORY}/tools/tesh/tesh --cd ${PROJECT_DIRECTORY}/examples/msg gtnets/gtnets.tesh)
+endif(HAVE_GTNETS)
+
 ###
 ### Declare that we know that some tests are broken
 ###
 
 ###
 ### Declare that we know that some tests are broken
 ###
 
-# we should install gtnets on the bots, maybe
-set_tests_properties(msg-gtnets PROPERTIES WILL_FAIL true)
-
 # Amok is broken in RL since before v3.3 (should fix it one day)
 set_tests_properties(amok-bandwidth-rl PROPERTIES WILL_FAIL true)
 set_tests_properties(amok-saturate-rl PROPERTIES WILL_FAIL true)
 # Amok is broken in RL since before v3.3 (should fix it one day)
 set_tests_properties(amok-bandwidth-rl PROPERTIES WILL_FAIL true)
 set_tests_properties(amok-saturate-rl PROPERTIES WILL_FAIL true)
@@ -221,25 +219,5 @@ set_tests_properties(tesh-simdag-flatifier PROPERTIES WILL_FAIL true)
 # These are broken, but should have their timings updated, that's all
 IF(${ARCH_32_BITS})
   set_tests_properties(amok-bandwidth-sg-32 PROPERTIES WILL_FAIL true)  
 # These are broken, but should have their timings updated, that's all
 IF(${ARCH_32_BITS})
   set_tests_properties(amok-bandwidth-sg-32 PROPERTIES WILL_FAIL true)  
-  set_tests_properties(amok-saturate-sg-32 PROPERTIES WILL_FAIL true)
-ELSE(${ARCH_32_BITS})
-  #set_tests_properties(amok-bandwidth-sg-64 PROPERTIES WILL_FAIL true)  
+  set_tests_properties(amok-saturate-sg-32 PROPERTIES WILL_FAIL true) 
 ENDIF(${ARCH_32_BITS})
 ENDIF(${ARCH_32_BITS})
-
-# Don't mark this one since we should fix it before 3.3.4 gets released
-#  set_tests_properties(smpi-reduce PROPERTIES WILL_FAIL true)
-
-#SET(CTEST_CUSTOM_MAXIMUM_NUMBER_OF_ERRORS 50)
-#SET(CTEST_CUSTOM_MAXIMUM_NUMBER_OF_WARNINGS 50)
-#SET(CTEST_CUSTOM_TESTS_IGNORE ) 
-#SET(CTEST_CUSTOM_MEMCHECK_IGNORE
-#${CTEST_CUSTOM_MEMCHECK_IGNORE}
-#tesh-log-large
-#tesh-log-parallel
-#)
-
-
-
-
-
-
diff --git a/buildtools/CPACK/src/tmp_gras_config.h.in b/buildtools/CPACK/src/tmp_gras_config.h.in
deleted file mode 100644 (file)
index 39b0b04..0000000
+++ /dev/null
@@ -1,271 +0,0 @@
-//This document is maded by user
-//With Cmake it creates gras_config.h in <projectdirectory>/src
-
-/* Define if building universal (internal helper macro) */
-/* #undef AC_APPLE_UNIVERSAL_BUILD */
-
-/* Arguments passed to the configure script */
-/* #undef AC_CONFIGURE_ARGS */
-
-/* Path to the addr2line tool */
-#define ADDR2LINE "/usr/bin/addr2line"
-
-/* Predefined possible va_copy() implementation (id: ASP) */
-#define __VA_COPY_USE_ASP do { *(d) = *(s); } while (0)
-
-/* Predefined possible va_copy() implementation (id: ASS) */
-#define __VA_COPY_USE_ASS do { (d) = (s); } while (0)
-
-/* Predefined possible va_copy() implementation (id: C99) */
-#define __VA_COPY_USE_C99 va_copy((d),(s))
-
-/* Define if xbt contexts are based on our threads implementation or not */
-/* #undef CONTEXT_THREADS */
-
-/* Define if xbt contexts are based on ucontext or not */
-/* #undef CONTEXT_UCONTEXT */
-
-/* Predefined possible va_copy() implementation (id: CPP) */
-#define __VA_COPY_USE_CPP memcpy((void *)(d), (void *)(s)), sizeof(*(s))
-
-/* Predefined possible va_copy() implementation (id: CPS) */
-#define __VA_COPY_USE_CPS memcpy((void *)&(d), (void *)&(s)), sizeof((s))
-
-/* Predefined possible va_copy() implementation (id: GCB) */
-#define __VA_COPY_USE_GCB __builtin_va_copy((d),(s))
-
-/* Predefined possible va_copy() implementation (id: GCH) */
-#define __VA_COPY_USE_GCH __va_copy((d),(s))
-
-/* Predefined possible va_copy() implementation (id: GCM) */
-#define __VA_COPY_USE_GCM VA_COPY((d),(s))
-
-/* Defined if arrays in struct can straddle struct alignment boundaries. This
-   is like than the structure compaction above, but this time, the argument to
-   be compacted is an array whom each element would be normally compacted.
-   Exemple: struct s { double d; int i; char c[6]; }; Arrays can straddle if c
-   is allowed to come just after i. Note that GRAS only support architecture
-   presenting this caracteristic so far. */
-#define GRAS_ARRAY_STRADDLE_STRUCT 1
-
-/* define if big endian */
-#define GRAS_BIGENDIAN 0
-
-/* Defined if structures are compacted when possible. Consider this structure:
-   struct s {double d; int i; char c;}; If it is allowed, the char is placed
-   just after the int. If not, it has to be on the 8 bytes boundary imposed by
-   the double. For now, GRAS requires the structures to be compacted. */
-#define GRAS_STRUCT_COMPACT 1
-
-/* defines the GRAS architecture signature of this machine */
-#define GRAS_THISARCH 4
-
-/* Define to 1 if you have the <dlfcn.h> header file. */
-#define HAVE_DLFCN_H 1
-
-/* Define to 1 if you have the <errno.h> header file. */
-#define HAVE_ERRNO_H 1
-
-/* Define to 1 if you have the <execinfo.h> header file. */
-#define HAVE_EXECINFO_H 1
-
-/* Define to 1 if you have the `getdtablesize' function. */
-#define HAVE_GETDTABLESIZE 1
-
-/* Define to 1 if you have the `gettimeofday' function. */
-#define HAVE_GETTIMEOFDAY 1
-
-/* Indicates that we have GTNETS support */
-/* #undef HAVE_GTNETS */
-
-/* Define to 1 if you have the <inttypes.h> header file. */
-#define HAVE_INTTYPES_H 1
-
-/* defines whether Java bindings must be compiled or not */
-/* #undef HAVE_JAVA */
-
-/* Define to 1 if you have the <jni.h> header file. */
-/* #undef HAVE_JNI_H */
-
-/* defines whether Lua bindings must be compiled or not */
-/* #undef HAVE_LUA */
-
-/* Define to 1 if you have the <lua5.1/lualib.h> header file. */
-/* #undef HAVE_LUA5_1_LUALIB_H */
-
-/* Define to 1 if you have the `makecontext' function. */
-#define HAVE_MAKECONTEXT 1
-
-/* Define to 1 if you have the <memory.h> header file. */
-#define HAVE_MEMORY_H 1
-
-/* Define if pthread_mutex_timedlock() is avaible or not (part of XPG6
-   standard only?) */
-#define HAVE_MUTEX_TIMEDLOCK 1
-
-/* Define to 1 if you have the `popen' function. */
-#define HAVE_POPEN 1
-
-/* Define to 1 if you have the <pthread.h> header file. */
-#define HAVE_PTHREAD_H 1
-
-/* Define to 1 if you have the `readv' function. */
-#define HAVE_READV 1
-
-/* Define if sem_init() is avaible or not (part of XPG6 standard only) */
-/* #undef HAVE_SEM_INIT */
-
-/* Define if sem_timedwait() is avaible or not (part of XPG6 standard only) */
-#define HAVE_SEM_TIMEDWAIT 1
-
-/* Define to 1 if you have the `signal' function. */
-#define HAVE_SIGNAL 1
-
-/* Define to 1 if you have the <signal.h> header file. */
-#define HAVE_SIGNAL_H 1
-
-/* Define to 1 if you have the `snprintf' function. */
-#define HAVE_SNPRINTF 1
-
-/* Define to 1 if you have the <stdint.h> header file. */
-#define HAVE_STDINT_H 1
-
-/* Define to 1 if you have the <stdlib.h> header file. */
-#define HAVE_STDLIB_H 1
-
-/* Define to 1 if you have the <strings.h> header file. */
-#define HAVE_STRINGS_H 1
-
-/* Define to 1 if you have the <string.h> header file. */
-#define HAVE_STRING_H 1
-
-/* Define to 1 if you have the `sysconf' function. */
-#define HAVE_SYSCONF 1
-
-/* Define to 1 if you have the <sys/socket.h> header file. */
-#define HAVE_SYS_SOCKET_H 1
-
-/* Define to 1 if you have the <sys/stat.h> header file. */
-#define HAVE_SYS_STAT_H 1
-
-/* Define to 1 if you have the <sys/time.h> header file. */
-#define HAVE_SYS_TIME_H 1
-
-/* Define to 1 if you have the <sys/types.h> header file. */
-#define HAVE_SYS_TYPES_H 1
-
-/* Define to 1 if you have the <unistd.h> header file. */
-#define HAVE_UNISTD_H 1
-
-/* Define to 1 if you have the `usleep' function. */
-#define HAVE_USLEEP 1
-
-/* Define to 1 if you have the <valgrind/valgrind.h> header file. */
-/* #undef HAVE_VALGRIND_VALGRIND_H */
-
-/* Define if va_copy() macro exists (and no fallback implementation is
-   required) */
-#define HAVE_VA_COPY 1
-
-/* Define to 1 if you have the `vsnprintf' function. */
-#define HAVE_VSNPRINTF 1
-
-/* Define to 1 if you have the <windows.h> header file. */
-/* #undef HAVE_WINDOWS_H */
-
-/* Define to 1 if you have the <winsock2.h> header file. */
-/* #undef HAVE_WINSOCK2_H */
-
-/* Define to 1 if you have the <winsock.h> header file. */
-/* #undef HAVE_WINSOCK_H */
-
-/* Define to the sub-directory in which libtool stores uninstalled libraries.*/
-/* #undef LT_OBJDIR */
-
-/* enable the asprintf replacement */
-/* #undef NEED_ASPRINTF */
-
-/* enable the vasprintf replacement */
-/* #undef NEED_VASPRINTF */
-
-/* Name of package */
-/* #undef PACKAGE */
-
-/* Define to the address where bug reports for this package should be sent. */
-/* #undef PACKAGE_BUGREPORT */
-
-/* Define to the full name of this package. */
-/* #undef PACKAGE_NAME */
-
-/* Define to the full name and version of this package. */
-/* #undef PACKAGE_STRING */
-
-/* Define to the one symbol short name of this package. */
-/* #undef PACKAGE_TARNAME */
-
-/* Define to the home page for this package. */
-/* #undef PACKAGE_URL */
-
-/* Define to the version of this package. */
-/* #undef PACKAGE_VERSION */
-
-/* "enable replacement (v)snprintf if system (v)snprintf is broken" */
-/* #undef PREFER_PORTABLE_SNPRINTF */
-
-/* Indicates whether printf("%s",NULL) works */
-#define PRINTF_NULL_WORKING 1
-
-/* define for stack growth */
-#define PTH_STACKGROWTH -1
-
-/* enable the getline replacement */
-/* #undef SIMGRID_NEED_GETLINE */
-
-/* The maximal size of any scalar on this arch */
-#define SIZEOF_MAX 8
-
-/* Define to 1 if you have the ANSI C header files. */
-#define STDC_HEADERS 1
-
-/* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
-#define TIME_WITH_SYS_TIME 1
-
-/* Version number of package */
-/* #undef VERSION */
-
-/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
-   significant byte first (like Motorola and SPARC, unlike Intel). */
-#if defined AC_APPLE_UNIVERSAL_BUILD
-# if defined __BIG_ENDIAN__
-#  define WORDS_BIGENDIAN 1
-# endif
-#else
-# ifndef WORDS_BIGENDIAN
-/* #  undef WORDS_BIGENDIAN */
-# endif
-#endif
-
-/* Define to 1 if `lex' declares `yytext' as a `char *' by default, not a
-   `char[]'. */
-/* #undef YYTEXT_POINTER */
-
-/* Optional va_copy() implementation activation */
-#ifndef HAVE_VA_COPY
-#define va_copy(d, s) __VA_COPY_USE
-#endif
-
-
-/* Define to id of used va_copy() implementation */
-#define __VA_COPY_USE __VA_COPY_USE_C99
-
-/* Define to empty if `const' does not conform to ANSI C. */
-/* #undef const */
-
-/* Define to `__inline__' or `__inline' if that's what the C compiler
-   calls it, or to nothing if 'inline' is not supported under any name.  */
-#ifndef __cplusplus
-/* #undef inline */
-#endif
-
-/* Define to `unsigned int' if <sys/types.h> does not define. */
-/* #undef size_t */