summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | | | | | | | | Tweak for cygwin, don't convert : to ;Clinton Stimpson2010-07-031-2/+2
| | | | | | | | | | | |
| * | | | | | | | | | | Add cross-compiling support to FindQt4.cmakeClinton Stimpson2010-07-023-246/+229
| | | | | | | | | | | |
* | | | | | | | | | | | Merge topic 'disable_gcc33_onfree_bsd'Brad King2010-07-131-1/+15
|\ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3ef273c Poison GCC 3.3 on OpenBSD a bit later 696a0af Disable gcc 33 on OpenBSD because it crashes CPack by default.
| * | | | | | | | | | | | Poison GCC 3.3 on OpenBSD a bit laterBrad King2010-07-061-16/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Move lines from commit 696a0af (Disable gcc 33 on OpenBSD because it crashes CPack by default, 2010-06-25) further down in CMakeLists.txt so that CMAKE_ALLOW_LOOSE_LOOP_CONSTRUCTS applies. This fixes the code for building with CMake 2.4.
| * | | | | | | | | | | | Disable gcc 33 on OpenBSD because it crashes CPack by default.Bill Hoffman2010-06-251-0/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Make sure no one tries to use gcc 33 based tools to build CMake. This is because a cpack test failed with a crash. The crash seems to be caused by the stack checking code on by default in OpenBSD. The crash is in some stl code. The problem is fixed with newer gcc compilers on OpenBSD.
* | | | | | | | | | | | | Merge topic 'bootstrap-toolchains'Brad King2010-07-131-2/+69
|\ \ \ \ \ \ \ \ \ \ \ \ \ | |_|_|_|_|_|_|_|_|/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2ad2c2d bootstrap: Detect known C/C++ compiler toolchains
| * | | | | | | | | | | | bootstrap: Detect known C/C++ compiler toolchainsBrad King2010-06-301-2/+69
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Look for a C/C++ compiler pair from known toolchains on some platforms. This makes it less likely that mismatched compilers will be found. Check only if the environment variables CC and CXX are both empty.
* | | | | | | | | | | | | KWSys Nightly Date StampKWSys Robot2010-07-131-1/+1
| |_|_|_|_|/ / / / / / / |/| | | | | | | | | | |
* | | | | | | | | | | | KWSys Nightly Date StampKWSys Robot2010-07-121-1/+1
| | | | | | | | | | | |
* | | | | | | | | | | | KWSys Nightly Date StampKWSys Robot2010-07-111-1/+1
| | | | | | | | | | | |
* | | | | | | | | | | | KWSys Nightly Date StampKWSys Robot2010-07-101-1/+1
| |_|_|_|/ / / / / / / |/| | | | | | | | | |
* | | | | | | | | | | KWSys: Avoid undefined behavior in Process crash testsBrad King2010-07-091-3/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Clang is smart enough to recognize that "*(int*)0=0" invokes undefined behavior, warns, and produces an "undefined instruction". The message in commit "Avoid Clang optimizer bug in testProcess-[45]" (2010-07-02) is incorrect; this is not a Clang bug. It really is undefined behavior. Use "*(int*)1=0" to produce a crash instead.
* | | | | | | | | | | KWSys Nightly Date StampKWSys Robot2010-07-091-1/+1
| | | | | | | | | | |
* | | | | | | | | | | KWSys Nightly Date StampKWSys Robot2010-07-081-1/+1
| |_|_|/ / / / / / / |/| | | | | | | | |
* | | | | | | | | | KWSys Nightly Date StampKWSys Robot2010-07-071-1/+1
| | | | | | | | | |
* | | | | | | | | | Merge branch 'CPackRPM-handleFileWithSpace'Brad King2010-07-061-3/+4
|\ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | CPackRPM:: Quote every filenames in %file section (see bugs 10701,10871,10345)Eric NOULARD2010-07-041-3/+4
| | | | | | | | | | |
* | | | | | | | | | | Merge branch 'CPackRPM-VariousEnhancement-0010741'Brad King2010-07-061-88/+97
|\ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | Provides default changelog if no file is providedEric NOULARD2010-07-041-0/+2
| | |_|_|_|_|_|_|_|/ / | |/| | | | | | | | |
| * | | | | | | | | | clean up some stuff in CPack RPM scriptRolf Eike Beer2010-07-041-88/+95
| |/ / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | -remove trailing whitespace -fix description of CPACK_RPM_PACKAGE_SUMMARY -fix description of CPACK_RPM_PACKAGE_VENDOR -fix description of CPACK_RPM_PACKAGE_PROVIDES -do not put changelog of that file to generated RPM but read it from CPACK_RPM_CHANGELOG_FILE -add CPACK_RPM_PACKAGE_URL -add CPACK_RPM_PACKAGE_OBSOLETES -add CPACK_RPM_PACKAGE_SUGGESTS -add a loop so adding more user supplied header fields is easy Signed-off-by: Eric NOULARD <eric.noulard@gmail.com>
* | | | | | | | | | Merge branch 'CPackRPM-fixDashInRPMVersion'Brad King2010-07-061-0/+5
|\ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | CPackRPM:: Replace - with _ in RPM Version (fix bug 0010934)Eric NOULARD2010-07-041-0/+5
| |/ / / / / / / / /
* | | | | | | | | | Merge branch 'improve-test-cost-sorting'Brad King2010-07-062-59/+60
|\ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | More robust cost-based scheduling implZach Mullen2010-07-012-59/+60
| | | | | | | | | | |
* | | | | | | | | | | Merge branch 'fix_cmcurl_build_ssize_t'Brad King2010-07-061-0/+1
|\ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | fix build on SUSE 11.2 in cmcurl due to ssize_tAlex Neundorf2010-06-301-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Alex
* | | | | | | | | | | | Merge branch 'fix-test-dependency-bug'Brad King2010-07-0610-18/+128
|\ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | Fix cycle detection for test dependenciesZach Mullen2010-06-3010-18/+128
| | | | | | | | | | | | |
* | | | | | | | | | | | | Merge branch 'fix-cmake-conversion-warnings'Brad King2010-07-0611-36/+37
|\ \ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | | Fix integer conversions in cpackBrad King2010-06-301-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These were revealed by GCC's -Wconversion option.
| * | | | | | | | | | | | | Fix signed/unsigned comparison warnings in ccmakeBrad King2010-06-291-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Commit ff1f8d0b (Fix or cast more integer conversions in cmake) changed a member type from int to size_t. Update the types of variables compared to these values to be unsigned also.
| * | | | | | | | | | | | | Fix or cast more integer conversions in cmakeBrad King2010-06-296-18/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These were revealed by GCC's -Wconversion option. Fix types where it is easy to do so. Cast in cases we know the integer will not be truncated.
| * | | | | | | | | | | | | Fix or cast integer conversions in cmakeBrad King2010-06-256-10/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These were revealed by GCC's -Wconversion option. Fix types where it is easy to do so. Cast in cases we know the integer will not be truncated.
* | | | | | | | | | | | | | Merge branch 'FindMPI-flag-parsing'Brad King2010-07-061-11/+11
|\ \ \ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | | | FindMPI: Fix parsing of mpicc -Wl,-L link flags (#9093)Brad King2010-06-291-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Commit d84cbd0f (FindMPI: Parse mpicc flags more carefully, 2010-06-24) broke parsing of '-L' flags appearing after '-Wl,' by expecting a preceding space. Update the regular expression to allow '-Wl,-L' too.
| * | | | | | | | | | | | | | FindMPI: Failure is not an error if not REQUIREDBrad King2010-06-281-3/+3
| | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | FindMPI: Parse mpicc flags more carefully (#9093)Brad King2010-06-251-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Extend the fix from commit 68c7d3e2 (FindMPI: Do not parse -l in middle of library name, 2010-06-24). Parse -D, -I, -L, and -Wl only with preceding spaces or at the beginning of the string.
| * | | | | | | | | | | | | | FindMPI: Do not parse -l in middle of library nameBrad King2010-06-241-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We parse the output of 'mpicc -shome:link' to look for -l options specifying libraries. Fix the parsing regex to avoid matching the string '-l' in the middle of a library name.
* | | | | | | | | | | | | | | Merge branch 'user-override-try-compile'Brad King2010-07-061-0/+17
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | | | | Use same type in both cases of '?:' operatorBrad King2010-06-291-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Both possible result values need to be convertible to the same type. Some compilers fail to recognize that they can construct std::string from the empty string literal, so state it explicitly.
| * | | | | | | | | | | | | | | Honor CMAKE_USER_MAKE_RULES_OVERRIDE in try_compile (#10902)David Genest2010-06-291-0/+17
| | |_|_|_|_|_|/ / / / / / / / | |/| | | | | | | | | | | | |
* | | | | | | | | | | | | | | KWSys Nightly Date StampKWSys Robot2010-07-061-1/+1
| | | | | | | | | | | | | | |
* | | | | | | | | | | | | | | KWSys Nightly Date StampKWSys Robot2010-07-051-1/+1
| |_|_|_|_|_|/ / / / / / / / |/| | | | | | | | | | | | |
* | | | | | | | | | | | | | KWSys Nightly Date StampKWSys Robot2010-07-041-1/+1
| | | | | | | | | | | | | |
* | | | | | | | | | | | | | KWSys Nightly Date StampKWSys Robot2010-07-031-1/+1
| |_|_|_|_|_|_|/ / / / / / |/| | | | | | | | | | | |
* | | | | | | | | | | | | KWSys: Avoid Clang optimizer bug in testProcess-[45]Brad King2010-07-021-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Clang's optimizer, as of clang version 2.8 (trunk 107463), produces the undefined instruction 'ud2' for the code "*(int*)0=0" on OS X x86_64. It causes our crash tests to fail because the child process exits with an invalid instruction instead of a segmentation fault. Work around the bug by using "*(int*)1=0" in this case.
* | | | | | | | | | | | | KWSys Nightly Date StampKWSys Robot2010-07-021-1/+1
| |_|_|_|_|/ / / / / / / |/| | | | | | | | | | |
* | | | | | | | | | | | KWSys Nightly Date StampKWSys Robot2010-07-011-2/+2
| |_|_|_|/ / / / / / / |/| | | | | | | | | |
* | | | | | | | | | | Merge original bad KWSys history into fixed historyBrad King2010-06-300-0/+0
|\ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Commits 26ea271 and c00e4ac resulted from a bad export to KWSys CVS. They were published automatically by a robot. We constructed a fixed history and merged in the original history to fast-forward.
| * | | | | | | | | | | From 83cf3fa2fe65b99758899463ca25941eb3fb3989 Mon Sep 17 00:00:00 2001Brad King2010-06-301-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | From: Brad King <brad.king@kitware.com> Date: Wed, 30 Jun 2010 11:25:42 -0400 Subject: [PATCH 2/2] KWSys: Optionally suppress consistent test failures Add option KWSYS_TEST_BOGUS_FAILURES that can be set by a containing project or in the CMake cache to list tests known to fail consistently on a buggy system. --- Source/kwsys/CMakeLists.txt | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/Source/kwsys/CMakeLists.txt b/Source/kwsys/CMakeLists.txt index bdf6613..bcc7a96 100644 --- a/Source/kwsys/CMakeLists.txt +++ b/Source/kwsys/CMakeLists.txt @@ -1125,5 +1125,11 @@ IF(KWSYS_STANDALONE OR CMake_SOURCE_DIR) SET_TESTS_PROPERTIES(kwsys.testFail PROPERTIES MEASUREMENT "Some Key=Some Value") MESSAGE(STATUS "GET_TEST_PROPERTY returned: ${wfv}") ENDIF(COMMAND SET_TESTS_PROPERTIES AND COMMAND GET_TEST_PROPERTY AND KWSYS_STANDALONE) + + # Suppress known consistent failures on buggy systems. + IF(KWSYS_TEST_BOGUS_FAILURES) + SET_TESTS_PROPERTIES(${KWSYS_TEST_BOGUS_FAILURES} PROPERTIES WILL_FAIL ON) + ENDIF() + ENDIF(BUILD_TESTING) ENDIF(KWSYS_STANDALONE OR CMake_SOURCE_DIR) -- 1.7.0