Commit Graph

10529 Commits

Author SHA1 Message Date
KWSys Robot 86de1d6504 KWSys Nightly Date Stamp 2010-06-09 00:01:09 -04:00
KWSys Robot ddf0de132b KWSys Nightly Date Stamp 2010-06-08 00:01:03 -04:00
Brad King 6cf1ccd632 Merge branch 'per-config-link-flags' 2010-06-07 14:36:28 -04:00
Brad King 608406bf55 Merge branch 'ctest-update-git-submodule' 2010-06-07 14:34:28 -04:00
Brad King 6f96e32bfd Merge branch 'cpack-remove-temp-dir' 2010-06-07 14:33:38 -04:00
Brad King efffb7b979 Merge branch 'file-write-umask' 2010-06-07 14:30:33 -04:00
Brad King 0d07e4379e Merge branch 'improve-file-download'
Conflicts:
	Modules/ExternalProject.cmake
2010-06-07 14:26:24 -04:00
Brad King a03e85f13c Merge branch 'add-git-to-ExternalProject'
Conflicts:
	Modules/ExternalProject.cmake
2010-06-07 14:23:45 -04:00
Brad King cbd0fa3013 Merge branch 'php-coverage' 2010-06-07 14:19:56 -04:00
Brad King 378c33480e Merge branch 'qtdialog' 2010-06-07 14:19:14 -04:00
Brad King 6068651cf7 Merge branch 'CTestScheduler' 2010-06-07 14:18:30 -04:00
KWSys Robot 2847d86c68 KWSys Nightly Date Stamp 2010-06-07 00:01:04 -04:00
KWSys Robot c06dae9e67 KWSys Nightly Date Stamp 2010-06-06 00:01:03 -04:00
KWSys Robot dc6ed8ee8c KWSys Nightly Date Stamp 2010-06-05 00:01:03 -04:00
Brad King d0a1b9efd0 Fix ctest_update log prefix for git submodule update
Commit 67277bac (Teach ctest_update about Git submodules, 2010-05-04)
accidentally logged "git submodule update" with the prefixes "pull-out"
and "pull-err".  Fix it to use "submodule-out" and "submodule-err"
instead.
2010-06-04 17:01:23 -04:00
Brad King ac17dc4a43 KWSys: Remove "copyPermissions" parameters
The CopyFileIfDifferent, CopyFileAlways, CopyAFile and CopyADirectory
methods should always copy permissions.  The special cases in which a
caller would pass copyPermissions=false should be handled at the call
site.  The parameter needlessly complicates the interface and semantics
of these methods.
2010-06-04 16:02:00 -04:00
Brad King b180bad2c6 Merge branch 'file-time-permissions' 2010-06-04 15:53:48 -04:00
Brad King fdb5f78705 CPack: Try harder to remove temporary dir (#10793)
Windows filesystems sometimes lock files temporarily.  Try removing the
CPack temp install folder multiple times before giving up.
2010-06-04 14:32:08 -04:00
David Cole ef491f7821 Allow redirects: set CURLOPT_FOLLOWLOCATION to 1
Enable file(DOWNLOAD ...) to follow redirects. Thanks to
Michael Wild for requesting the addition and providing
the majority of the patch.
2010-06-04 13:38:07 -04:00
KWSys Robot 5f4ac98bc5 KWSys Nightly Date Stamp 2010-06-04 00:01:03 -04:00
David Cole d093abef7e Fix failing ExternalProject test on Borland dashboards.
If there is a .bat or .cmd file used as a custom command
then the Borland Makefiles generator (specifically) requires
using the "call " syntax before the name of the .bat or .cmd
file. This fix applies to all Makefile based generators where
WindowsShell is true.
2010-06-03 13:43:39 -04:00
Brad King c15ed3294c KWSys: Avoid stat in CopyFileAlways (#10790)
On Windows 7 the file size reported by 'stat' on a new file sometimes
reports zero even though the real size is correct.  This causes our
CopyFileAlways method to falsely detect copy failure.  Work around the
problem by trusting the state of ofstream after writing the file.
2010-06-03 12:46:11 -04:00
Brad King b8a1319c35 Avoid use of CopyAFile "copyPermissions" parameter
Commit 0fafdb7e (Do not copy permissions of files when making the copy
in an install rule, 2008-12-18) added special behavior to KWSys file
copy methods for this special case.  Use a local solution to avoid use
of the special behavior so it can be removed later.
2010-06-03 11:57:02 -04:00
Brad King cae85c9f65 Borland: No S_IWGRP is available 2010-06-03 11:18:39 -04:00
Brad King 85cbdaade2 Really trust umask in file(WRITE) command (#10789, #10126)
Commit 8d0161c8 (Trust umask for file permissions, 2010-01-12) taught
these commands to set permissions to 0666 explicitly.  The intention was
to let the open() call inside ofstream handle permsisions so that umask
would be honored.  Now we set permissions only when we need to preserve
those on an existing file.  New files will be created with umask-based
permissions.
2010-06-03 10:50:30 -04:00
KWSys Robot 3ac3dea6f0 KWSys Nightly Date Stamp 2010-06-03 00:01:02 -04:00
KWSys Robot eaee8a2cb1 KWSys Nightly Date Stamp 2010-06-02 00:01:04 -04:00
KWSys Robot 7f619608d5 KWSys Nightly Date Stamp 2010-06-01 00:01:05 -04:00
KWSys Robot b9e5faf618 KWSys Nightly Date Stamp 2010-05-31 00:01:07 -04:00
KWSys Robot f034094e90 KWSys Nightly Date Stamp 2010-05-30 00:01:11 -04:00
KWSys Robot 6e8aa44327 KWSys Nightly Date Stamp 2010-05-29 00:01:04 -04:00
Brad King 5c49aa0c86 Xcode: Archives use STATIC_LIBRARY_FLAGS, not LINK_FLAGS
The LINK_FLAGS property is defined only for targets that really link.
These include executables and shared libraries.  For static libraries we
define the STATIC_LIBRARY_FLAGS property.  Teach the Xcode generator to
make this distinction.
2010-05-28 13:23:31 -04:00
Brad King fe971d97ca Add STATIC_LIBRARY_FLAGS_<CONFIG> property (#10768)
This is a per-configuration version of STATIC_LIBRARY_FLAGS.
2010-05-28 11:09:10 -04:00
Brad King 159606c366 Implement LINK_FLAGS_<CONFIG> in VS 10 generator
Add support for the per-config LINK_FLAGS property in VS 10.  This was
simply missing.
2010-05-28 11:01:40 -04:00
Brad King 7458d465dd Fix LINK_FLAGS_<CONFIG> in VS 6 generator
Add the flags to the link step, not the compile step!
2010-05-28 10:22:19 -04:00
KWSys Robot e6efd9ac0a KWSys Nightly Date Stamp 2010-05-28 00:01:03 -04:00
David Cole 0efa5f3747 Fix unused variable warning in new code. 2010-05-27 14:49:38 -04:00
David Cole f67139ae6f Improve FILE(DOWNLOAD) and ExternalProject.
Improve FILE(DOWNLOAD ...):

- Add percent complete progress output to the FILE DOWNLOAD
  command. This progress output is off by default to
  preserve existing behavior. To turn it on, pass
  SHOW_PROGRESS as an argument.

- Add EXPECTED_MD5 argument. Verify that the downloaded
  file has the expected md5 sum after download is complete.

- Add documentation for SHOW_PROGRESS and EXPECTED_MD5.

  When the destination file exists already and has the
  expected md5 sum, then do not bother re-downloading
  the file. ("Short circuit" return.)

  Also, add a test that checks for the status output
  indicating that the short circuit behavior is actually
  occurring. Use a binary file for the test so that the
  md5 sum is guaranteed to be the same on all platforms
  regardless of "shifting text file line ending" issues.

Improve ExternalProject:

- Add argument URL_MD5.

- Add verify step that compares md5 sum of .tar.gz file
  before extracting it.

- Add md5 check to download step, too, to prevent
  unnecessary downloads.

- Emit a warning message when a file is not verified.
  Indicate that the file may be corrupt or that no
  checksum was specified.
2010-05-27 12:21:56 -04:00
KWSys Robot 282a119e35 KWSys Nightly Date Stamp 2010-05-27 00:01:10 -04:00
KWSys Robot 515339f313 KWSys Nightly Date Stamp 2010-05-26 00:01:04 -04:00
Bill Hoffman 1d4e121d9c Add php coverage to ctest. 2010-05-25 09:23:25 -04:00
KWSys Robot d5e86a5f45 KWSys Nightly Date Stamp 2010-05-25 00:01:03 -04:00
KWSys Robot 41e675a045 KWSys Nightly Date Stamp 2010-05-24 00:01:06 -04:00
KWSys Robot 37fb1f3690 KWSys Nightly Date Stamp 2010-05-23 00:01:05 -04:00
KWSys Robot ba88271427 KWSys Nightly Date Stamp 2010-05-22 00:01:12 -04:00
KWSys Robot 45e6aee72c KWSys Nightly Date Stamp 2010-05-21 00:01:14 -04:00
KWSys Robot b71b3b710f KWSys Nightly Date Stamp 2010-05-20 00:01:02 -04:00
Clinton Stimpson 45d7200a73 Fix for fix to bug #9975 2010-05-19 15:40:48 -06:00
Zach Mullen fa3c1817b1 Cost-based test scheduling should only be done in parallel mode. 2010-05-19 11:20:30 -04:00
KWSys Robot 6138ff02ed KWSys Nightly Date Stamp 2010-05-19 00:01:03 -04:00