Commit Graph

228 Commits

Author SHA1 Message Date
Kitware Robot 9db3116226 Remove CMake-language block-end command arguments
Ancient versions of CMake required else(), endif(), and similar block
termination commands to have arguments matching the command starting the
block.  This is no longer the preferred style.

Run the following shell code:

for c in else endif endforeach endfunction endmacro endwhile; do
    echo 's/\b'"$c"'\(\s*\)(.\+)/'"$c"'\1()/'
done >convert.sed &&
git ls-files -z -- bootstrap '*.cmake' '*.cmake.in' '*CMakeLists.txt' |
egrep -z -v '^(Utilities/cm|Source/kwsys/)' |
egrep -z -v 'Tests/CMakeTests/While-Endwhile-' |
xargs -0 sed -i -f convert.sed &&
rm convert.sed
2012-08-13 14:19:16 -04:00
Kitware Robot 77543bde41 Convert CMake-language commands to lower case
Ancient CMake versions required upper-case commands.  Later command
names became case-insensitive.  Now the preferred style is lower-case.

Run the following shell code:

cmake --help-command-list |
grep -v "cmake version" |
while read c; do
    echo 's/\b'"$(echo $c | tr '[:lower:]' '[:upper:]')"'\(\s*\)(/'"$c"'\1(/g'
done >convert.sed &&
git ls-files -z -- bootstrap '*.cmake' '*.cmake.in' '*CMakeLists.txt' |
egrep -z -v '^(Utilities/cm|Source/kwsys/)' |
xargs -0 sed -i -f convert.sed &&
rm convert.sed
2012-08-13 14:19:16 -04:00
Kitware Robot 7bbaa4283d Remove trailing whitespace from most CMake and C/C++ code
Our Git commit hooks disallow modification or addition of lines with
trailing whitespace.  Wipe out all remnants of trailing whitespace
everywhere except third-party code.

Run the following shell code:

git ls-files -z -- \
 bootstrap doxygen.config '*.readme' \
 '*.c' '*.cmake' '*.cpp' '*.cxx' \
 '*.el' '*.f' '*.f90' '*.h' '*.in' '*.in.l' '*.java' \
 '*.mm' '*.pike' '*.py' '*.txt' '*.vim' |
egrep -z -v '^(Utilities/cm|Source/(kwsys|CursesDialog/form)/)' |
egrep -z -v '^(Modules/CPack\..*\.in)' |
xargs -0 sed -i 's/ \+$//'
2012-08-13 14:18:39 -04:00
David Cole e856509093 Merge topic 'release-script-fixes'
214589b Add ability to run as a ctest -S script also
2012-08-13 13:26:39 -04:00
David Cole 214589b1f0 Add ability to run as a ctest -S script also
Then, use ctest_sleep to separate uploads by at least one
second each, so that the files on the web server all get
distinct time stamps.

Then, when viewed on the web server, sorted by time, they
are also sorted alphabetically.
2012-06-22 14:32:29 -04:00
David Cole 3a17311bc8 Release: Temporarily exclude ExternalProject test on cygwin
Only temporarily until we can setup a new cygwin build machine
for making releases. It's specific to the script that runs on
dash2win64 anyhow. When we add a new script to run it on a
different machine, and stop building the cygwin releases on
dash2win64, this change will naturally no longer apply.
2012-06-22 11:20:03 -04:00
David Cole 208c3f84e2 Use correct "requires" line in cygwin setup hint file
Reference: email thread between Bill Hoffman and Yaakov Selkowitz
from Mar. 5, 2012.
2012-03-06 09:04:46 -05:00
David Cole 1b996e7360 Remove trailing white space 2012-03-06 08:59:57 -05:00
Bill Hoffman 9fb9416f78 Use upgraded qt on linux build machine. 2012-02-09 20:33:58 -05:00
David Cole 495f899845 Update version of Qt for dashmacmini5 produced release binaries
Use 4.8.0
2012-02-06 13:48:53 -05:00
David Cole a94ef02c6e Update dashmacmini2 release script to use Qt 4.8.0 2012-01-30 20:40:42 -05:00
David Cole 7240aa7fac Update dashmacmini2 release script to use Qt 4.6.3 2012-01-17 17:59:16 -05:00
David Cole 4c2d70768a Release: Increase timeout for slow-testing cygwin build
The parent commit only added DART_TESTING_TIMEOUT to the cache.
Also add CTEST_TEST_TIMEOUT because the logic in
CMake/Tests/CMakeLists.txt uses that variable in its "long test
timeout" computation. Now the cygwin build really does have 7200
seconds before it calls timeout death on a test.
2011-12-30 15:40:50 -05:00
David Cole 61a7da279a Release: Increase timeout for slow-testing cygwin build
Previously, the ExternalProject test was timing out at the
default timeout value of 1500 seconds. Give it time, little
one, it will finish if you learn patience.
2011-12-09 08:58:25 -05:00
David Cole d5a0dc4f52 Release Scripts: Use Qt 4.7.4 on dashmacmini5 (#12460)
Also, since dashmacmini5 is newer/faster/better and is also building
the source tarballs, remove that responsibility from the dashmacmini2
script.
2011-09-16 15:48:41 -04:00
David Cole 4a679a9f16 CMake Release Scripts: Changes for next release candidate...
Removed script for dashsun1: machine is now defunct. R.I.P.

Added new script for 64-bit universal binary build on
dashmacmini5 with x86_64;i386
2011-08-26 15:00:55 -04:00
David Cole b43af94af1 CMake: eliminate use of cvs in the Release scripts
Set GIT_COMMAND to "git" -- each machine involved in building
the CMake release binaries has the right "git" in the PATH.

Separate the release scripts into two batches so we can build
multiple releases on the same machine, in serial, if necessary.
We currnetly do this with the Windows and Cygwin release
binaries on dash2win64.

Sort the files to be uploaded, so that sorting them by modification
time (file copy / upload time) is equivalent to sorting them
alphabetically.
2011-06-02 14:36:14 -04:00
David Cole 16438d0f4a Update script with new machine name 2011-01-12 14:53:24 -05:00
Bill Hoffman faf1c1e49f Change the nightly tests to build from the nightly branch and not next.
This will make sure that the nightly test matches the dashboard nightly section.
When it was next, it used next from when the test was run.
2011-01-07 13:50:36 -05:00
Yaakov Selkowitz 0f5c711f32 Cygwin: Fix release script libncurses search patterns (#10766)
With the switch to upstream ncurses "ABI 6", Cygwin's ncurses has YA ABI
bump and is now libncurses10.  However, the regex used to determine in
Utilities/Release/Cygwin/CMakeLists.txt which libncurses is being used
does not handle multiple-digit ABIs.

libncurses8 was the first version to be built with libtool and therefore
contains a hyphen (cygncurses-8.dll).  It was first introduced in 2004,
so it should be sufficiently old to rely on.  Furthermore, libncurses7
has a serious flaw in that it completely breaks if rebased.

Therefore the easiest solution is to only look at the hyphened versions
and change the regex accordingly.
2010-12-15 08:58:16 -05:00
David Cole 4a67481ed6 Update release scripts.
Remove scripts for machines that no longer build
releases. Update comments in README.
2010-09-15 18:17:29 -04:00
Bill Hoffman 7d148d8036 Fix the name of the variable being tested. 2010-09-14 09:30:39 -04:00
Bill Hoffman 297be5b524 add next as an orgin based branch, and not a tag. 2010-09-13 11:30:23 -04:00
Bill Hoffman 187976b1f3 Fix release scripts to be able to build releases from tags. 2010-09-10 15:41:27 -04:00
David Cole 72f8853fbb Update path to git. dashmacmini2 was "upgraded." 2010-07-27 14:14:10 -04:00
Brad King 1af9bfd827 Merge branch 'verbose_failed_tests_releases' 2010-06-07 14:29:39 -04:00
Bill Hoffman d06a547a78 When running tests for releases use verbose output for failed tests. 2010-06-05 13:03:14 -04:00
Bill Hoffman aa4daa528e change nightly release builds to use next, and move qmake on dash2win64 2010-05-28 17:53:26 -04:00
Bill Hoffman 7849674012 Fix release scripts. 2010-04-20 15:03:20 -04:00
Bill Hoffman 2e16fee3c8 Fix upload to work with git branch name master. 2010-03-05 18:26:43 -05:00
Bill Hoffman dfc1a5e12b Use git for the checkout of the source tree instead of cvs. 2010-03-01 17:18:15 -05:00
Bill Hoffman f3cdbb0616 Change the git repository to be the new one and not the -tmp one. 2010-02-23 12:38:17 -05:00
Bill Hoffman b0cf7e98ad Switch to git repository for creation of nightly releases. 2010-02-23 11:49:11 -05:00
Bill Hoffman 9ff55c0ebe current release stuff 2010-02-09 09:01:42 -05:00
Bill Hoffman 0bfb954cf8 handle change in fortran variable used for tests 2009-12-21 13:37:06 -05:00
Bill Hoffman 93fea8f46b Turn off fortran as gnu fortran does not mix with vs 2009-12-04 16:50:28 -05:00
Bill Hoffman 2079a21143 some changes for 2.8 2009-11-05 16:09:31 -05:00
Bill Hoffman f2284b9c3e change to a new version of qt. 2009-10-26 11:39:35 -04:00
Bill Hoffman 290a6e2870 Handle older cvs clients that do not allow for the password to be in the CVSROOT. 2009-09-23 12:46:33 -04:00
Bill Hoffman 694338d566 new windows build machine for cmake 2009-09-22 17:08:51 -04:00
Bill Hoffman d1162b6b59 disable svn 2009-09-22 17:07:43 -04:00
Bill Hoffman 6614cf2568 Use ctest -j to speed up tests for release builds. 2009-09-21 17:22:05 -04:00
Bill Hoffman 7b2e383048 Do not require a cvs login for checkout. 2009-09-21 17:19:54 -04:00
Bill Hoffman 8eee0a5ca0 ENH: use a newer cmake 2009-03-31 10:27:22 -04:00
Bill Hoffman 7025f91f93 ENH: change qt to 4.5 2009-03-28 10:23:59 -04:00
Bill Hoffman bb29c88990 ENH: fix spaces in path escape 2009-03-27 10:49:27 -04:00
Bill Hoffman 9f3608f7a0 ENH: use a different cmake 2009-03-27 10:37:49 -04:00
Bill Hoffman dbe135f20e ENH: add FFLAGS back into release script 2009-02-11 13:05:15 -05:00
Bill Hoffman ef5b9d00a2 ENH: change to use CMAKE_CREATE_VERSION from CMAKE_VERSION as CMAKE_VERSION is auto-defined now 2009-01-27 10:34:14 -05:00
Bill Hoffman 4c17c9b87b ENH: add new sgi release scripts 2008-10-01 13:13:23 -04:00
Bill Hoffman 768c228ebb ENH: add comment about fixing RC 2008-09-24 13:53:55 -04:00
Bill Hoffman 57240f584a ENH: check in current build scripts 2008-08-19 13:59:44 -04:00
Bill Hoffman 12e64fb9c2 ENH: 2008-03-26 15:56:34 -04:00
Bill Hoffman 421b07e7c3 ENH: 2008-03-26 15:55:35 -04:00
Bill Hoffman fcce2f3b61 ENH: qtgui stuff 2008-03-07 14:03:31 -05:00
Bill Hoffman e52d3b9268 ENH: build the qt gui 2008-02-09 10:05:54 -05:00
David Cole af46642deb ENH: Put black outline around all resolutions of the new ico files. Looks better on a dark background than the lighter outline... 2007-11-08 15:54:26 -05:00
Bill Hoffman 980c01ba2a ENH: add mt to vogon release 2007-11-07 17:43:51 -05:00
David Cole 9371ac21a0 ENH: Add more resolutions for CMake icons to avoid that bloated chunky blown up icon look... 2007-11-01 08:36:51 -04:00
Bill Hoffman fb621feefc ENH: add icon for installer 2007-10-31 10:49:44 -04:00
Bill Hoffman 41b20b5979 ENH: add test that builds a nightly windows cmake binary 2007-09-10 10:49:05 -04:00
David Cole 4aac0b6e10 BUG: Put back CMakeInstall.bmp in order to build a package with NSIS on Windows. It was inadvertently removed. 2007-09-06 17:47:47 -04:00
Bill Hoffman 2acd7c07ba ENH: remove old style release stuff 2007-06-22 11:31:35 -04:00
Bill Hoffman a5aa05c051 ENH: add cygwin cpack stuff to release scripts 2007-02-12 12:06:02 -05:00
Bill Hoffman c55a3e4d48 ENH: add cygwin on vogon 2007-02-12 09:15:25 -05:00
Bill Hoffman 4925e64b97 ENH: add support for cygwin source and binary packaging 2007-02-02 14:40:26 -05:00
Bill Hoffman 22767f7e3f ENH: add support files for cpack cygwin setup package stuff 2007-01-31 16:48:22 -05:00
Bill Hoffman 07fe0176d2 ENH: use older os for AIX release 2006-11-28 14:45:41 -05:00
Bill Hoffman 71c934f029 ENH: update for release 2006-10-16 12:47:07 -04:00
Brad King 6461767e36 BUG: Removed code that is now in Modules/InstallRequiredSystemLibraries.cmake. 2006-08-17 09:35:44 -04:00
Brad King b377c8ac72 ENH: Do not include experimental WXDialog in release. 2006-07-21 15:20:42 -04:00
Brad King 26a3a22325 BUG: Added missing release steps. 2006-06-26 09:46:22 -04:00
Bill Hoffman 7d0bc9541d ENH: release scripts 2006-05-19 15:53:42 -04:00
Bill Hoffman b2c8f4d800 ENH: extra path 2006-05-14 15:24:57 -04:00
Bill Hoffman 221a169cb9 ENH: working package creator 2006-05-11 16:07:42 -04:00
Bill Hoffman 844d798b49 ENH: remove ps thing 2006-05-10 16:44:51 -04:00
Bill Hoffman 262f3c71b7 ENH: it works 2006-05-10 16:43:44 -04:00
Bill Hoffman afbc574356 ENH: add vogon 2006-05-10 15:29:42 -04:00
Bill Hoffman 3840afa054 ENH: 2006-05-10 14:03:51 -04:00
Bill Hoffman f3023d5a38 ENH: works 2006-05-09 17:18:46 -04:00
Bill Hoffman 37baeda3df ENH: seems to be working 2006-05-09 14:14:47 -04:00
Bill Hoffman 4f75fca38f ENH: add a xterm script create script 2006-05-09 13:49:18 -04:00
Bill Hoffman eb1e0c36cb ENH: add 64 bit sgi 2006-05-09 13:48:36 -04:00
Bill Hoffman f294f7ea96 ENH: mark time 2006-05-09 12:23:19 -04:00
Andy Cedilnik 73a66647a5 ENH: copy right files 2006-05-09 12:23:02 -04:00
Bill Hoffman 176ea3c1b4 ENH: skip bootstrap test as it already does a bootstrap 2006-05-08 16:59:48 -04:00
Bill Hoffman 467bfbfc76 ENH: change name to MAKE_COMMAND 2006-05-08 16:50:17 -04:00
Andy Cedilnik ef08f5ccc7 ENH: add extra copy for ibm 2006-05-08 16:38:20 -04:00
Bill Hoffman 1b40075c9c ENH: add make program stuff 2006-05-08 16:36:51 -04:00
Bill Hoffman fe2b970c43 ENH: add extra copy for aix 2006-05-05 22:04:55 -04:00
Andy Cedilnik fad3e1dd77 ENH: use a directory with space 2006-05-05 16:12:39 -04:00
Bill Hoffman bf9de32f41 ENH: make release directory a variable 2006-05-05 15:51:13 -04:00
Andy Cedilnik 059320a577 ENH: fix env vars 2006-05-05 14:53:50 -04:00
Bill Hoffman 7b654d63ec ENH: add ability to set CC, CXX and LDFLAGS 2006-05-05 13:52:14 -04:00
Bill Hoffman 77e894d8f4 ENH: move from tr to cat since it works from a windows machine and works on the AIX 2006-05-05 13:10:49 -04:00
Bill Hoffman 495a77e9e8 ENH: add missing quote and some comments 2006-05-05 12:34:26 -04:00
Bill Hoffman c0c80acc4a ENH: remove old copy 2006-05-05 12:25:28 -04:00
Bill Hoffman 9f46c81b45 ENH: working on hp 2006-05-05 12:14:32 -04:00
Bill Hoffman 25a85c0585 ENH: create script is working 2006-05-05 10:36:47 -04:00
Bill Hoffman a3c86013d5 ENH: create script is working 2006-05-05 10:33:53 -04:00