Commit Graph

46 Commits

Author SHA1 Message Date
Brad King a42bf6c5dd Utilities/Release: Add support for copying .msi files 2015-12-10 14:30:55 -05:00
Brad King 93936d78d2 Utilities/Release: Avoid repeat copy of files with same suffix 2015-12-10 14:29:37 -05:00
Brad King fab35c95cb Utilities/Release: Move cygwin packages to a subdirectory 2015-10-06 10:13:28 -04:00
Brad King dc3c210244 OS X: Package with DragNDrop instead of PackageMaker
Use the CPack DragNDrop generator instead of the deprecated PackageMaker
tool to package CMake itself.  This provides an installation experience
that is more consistent with other products on OS X and allows users to
select the destination directory easily.  It also avoids installing
"/private/var/db/receipts/com.Kitware.CMake.*" receipts that must be
removed by "pkgutil --forget com.Kitware.CMake" before another version
of CMake can be installed.

The DragNDrop installer does not support a post-flight script, so drop
our configuration of it.  The cmake-gui has an option for installing
symbolic links to enable command-line use.  In practice users may simply
add "/Applications/CMake.app/Contents/bin" to their PATH instead.
2014-05-08 14:13:20 -04:00
Brad King f0f2b21d52 Utilities/Release: Update IBM AIX build machine access 2014-02-27 13:03:29 -05:00
Brad King b3d85113a6 Utilities/Release: Copy pre-built docs tarball to unique name
Name the pre-built docs tarball on the remote machine according to the
release script name so that multiple tarballs going to a single remote
machine do not clobber one another.
2014-02-25 14:35:35 -05:00
Brad King ef7a1b4144 Utilities/Release: Pass pre-built docs tarball
Avoid requiring all build machines for the upstream packaging process to
have Python and Sphinx installed.  Instead create a way to build the
documentation once on the host machine and copy it to each build machine
as a tarball with content to include in the installation tree for
packaging.
2014-01-29 10:10:15 -05:00
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 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
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
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
Bill Hoffman b0cf7e98ad Switch to git repository for creation of nightly releases. 2010-02-23 11:49:11 -05: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 7b2e383048 Do not require a cvs login for checkout. 2009-09-21 17:19:54 -04: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 a5aa05c051 ENH: add cygwin cpack stuff to release scripts 2007-02-12 12:06:02 -05:00
Bill Hoffman 4925e64b97 ENH: add support for cygwin source and binary packaging 2007-02-02 14:40:26 -05: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 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 eb1e0c36cb ENH: add 64 bit sgi 2006-05-09 13:48:36 -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 bf9de32f41 ENH: make release directory a variable 2006-05-05 15:51:13 -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
Bill Hoffman 1a7a6ccc34 ENH: create script is working 2006-05-05 10:30:26 -04:00
Bill Hoffman 6b9f681f91 ENH: change to script mode 2006-05-05 08:16:49 -04:00
Bill Hoffman 9600c0a189 ENH: add cvs command variable 2006-05-03 17:27:47 -04:00
Bill Hoffman f4e1157e56 ENH: more aix stuff 2006-05-03 17:22:28 -04:00
Bill Hoffman 2fa216058a ENH: add aix 2006-05-03 17:08:34 -04:00
Bill Hoffman 86beb67afd ENH: getting better 2006-05-02 23:20:02 -04:00
Bill Hoffman fd40430547 ENH: remove debug 2006-05-02 16:41:31 -04:00
Bill Hoffman 67490f57a9 ENH: more stuff 2006-05-02 16:41:06 -04:00
Bill Hoffman 3832369ffa ENH: remove if0 2006-05-02 16:33:45 -04:00
Bill Hoffman adf160029c ENH: first pass at cmake scripts to create the cmake release 2006-05-02 16:32:46 -04:00