summaryrefslogtreecommitdiffstats
path: root/Utilities/Scripts
Commit message (Collapse)AuthorAgeFilesLines
* update-kwsys: apply changes made in CMake to the importBen Boeckel2017-04-201-1/+2
|
* update-kwsys: Disable custom gitattributes during importBrad King2017-03-241-0/+1
| | | | | | | | | The KWSys `.gitattributes` file now defines custom attributes. Git does not support these in a subdirectory where we are about to place the content, so comment them out during import. This also ensures that the `our-c-style` attribute on KWSys sources does not activate the `format.clang-format` attribute on the third-party import branch.
* update-third-party: Add helper to disable custom gitattributesBrad King2017-03-241-0/+8
| | | | | | | | Provide a helper function that import scripts can use when the third-party project defines custom Git attributes in its top-level `.gitattributes` file. These must be commented out because Git does not support custom attributes in a subdirectory where we where the third-party project is about to be merged.
* libarchive: Update script to get 3.3.1Brad King2017-02-271-1/+1
|
* Merge topic 'update-libarchive'Brad King2017-02-241-1/+1
|\ | | | | | | | | | | | | | | | | | | | | | | d49176e9 libarchive: Avoid using isblank ce8f117f libarchive: Avoid declaration after statement in C code e0f725f8 libarchive: Fix use of ssize_t in archive_entry.h ae4861ec libarchive: Define __LA_DEPRECATED consistently fecb70dd Update CMake pre-cached values for libarchive 3.3.0 a59a7ee9 Merge branch 'upstream-LibArchive' into update-libarchive c206211a LibArchive 2017-02-19 (100ee75a) cdce7c61 libarchive: Update script to get 3.3.0
| * libarchive: Update script to get 3.3.0Brad King2017-02-201-1/+1
| |
* | Merge topic 'clang-format-attrs'Brad King2017-02-231-29/+7
|\ \ | |/ |/| | | | | | | | | d5f39a56 clang-format.bash: Use Git attributes to mark files for formatting f6986ee4 Define a custom Git attribute to mark sources using our C style 2256c3a7 Define a custom Git attribute to mark source files as generated
| * clang-format.bash: Use Git attributes to mark files for formattingBrad King2017-02-221-29/+7
| |
* | Merge branch 'backport-clang-format-cuda' into clang-format-cudaBrad King2017-02-141-1/+1
|\ \ | |/
| * clang-format.bash: Format CUDA source files tooBrad King2017-02-141-1/+1
| | | | | | | | | | | | Add `.clang-format` configuration files for Cuda test directories that use `Standard: Cpp11`. Otherwise clang-format splits the triple angle brackets used for CUDA kernels.
* | curl: Update script to get curl 7.52.1Brad King2017-02-071-1/+1
|/
* Add script to update GitSetup from upstreamBrad King2017-01-301-0/+20
|
* update-kwsys: Update repository URLBrad King2016-12-141-1/+1
| | | | KWSys is now hosted on Kitware's GitLab instance.
* curl: Update script to get curl 7.51.0Brad King2016-12-051-1/+1
|
* librhash: Update import script to add SHA-3 implementationBrad King2016-11-101-0/+2
|
* Remove unused cm_sha2 infrastructureBrad King2016-11-101-1/+1
| | | | | All clients of `cm_sha2` have been ported to `cmCryptoHash`, which now uses librhash internally.
* Add script to update librhash from upstreamBrad King2016-11-031-0/+43
|
* Features: Fix cxx_right_angle_brackets compiler feature testAlex Wang2016-10-251-0/+1
| | | | | | | The clang-format pass in commit v3.6.0-rc1~54^2~1 (Revise C++ coding style using clang-format, 2016-05-16) changed the template right angle brackets from `>>` to `> >`, which defeats the purpose of this test. Change it back and exclude this content from formatting.
* Utilities/Scripts: Remove temporary script that filtered license noticesBrad King2016-09-271-49/+0
|
* Simplify CMake per-source license noticesBrad King2016-09-271-13/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | Per-source copyright/license notice headers that spell out copyright holder names and years are hard to maintain and often out-of-date or plain wrong. Precise contributor information is already maintained automatically by the version control tool. Ultimately it is the receiver of a file who is responsible for determining its licensing status, and per-source notices are merely a convenience. Therefore it is simpler and more accurate for each source to have a generic notice of the license name and references to more detailed information on copyright holders and full license terms. Our `Copyright.txt` file now contains a list of Contributors whose names appeared source-level copyright notices. It also references version control history for more precise information. Therefore we no longer need to spell out the list of Contributors in each source file notice. Replace CMake per-source copyright/license notice headers with a short description of the license and links to `Copyright.txt` and online information available from "https://cmake.org/licensing". The online URL also handles cases of modules being copied out of our source into other projects, so we can drop our notices about replacing links with full license text. Run the `Utilities/Scripts/filter-notices.bash` script to perform the majority of the replacements mechanically. Manually fix up shebang lines and trailing newlines in a few files. Manually update the notices in a few files that the script does not handle.
* Utilities/Scripts: Add temporary script to filter license noticesBrad King2016-09-271-0/+49
| | | | | | Add a script to replace our previous per-source license notices with a much simpler notice. This will be used in a following commit and then removed.
* kwiml: Update import script for new upstream URLBrad King2016-09-081-1/+1
|
* Tests: Port GenerateExportHeader test to RunCMake infrastructureBrad King2016-09-051-1/+1
| | | | This will allow build failure cases to be added later.
* Merge topic 'import-libuv'Brad King2016-08-311-0/+26
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 39ac889d cmake: Add trivial usage of libuv 7cf369fe Do not build libuv on HP-UX 075cae51 Do not build libuv on SPARC 9a53af40 Do not build libuv on Cygwin 219f7411 Do not build libuv on Mac OS X 10.4 and lower 8a5beef3 Add option to build CMake against a system libuv e56aa462 FindLibUV: Add module to find libuv package 551d5aed libuv: Fix unused variable warning in uv_loop_close f4f8074b libuv: Avoid including macOS CoreServices header globally a63aaaed libuv: Always include our own header first 9130b53a libuv: Conditionally declare Windows APIs for VS 2008 and below b52afa46 libuv: Fix anonymous union syntax 05dbc204 libuv: Fix Windows API function typedef syntax 75139374 libuv: Install LICENSE file with CMake documentation 95dcc4e4 libuv: Disable warnings to avoid changing 3rd party code 13b7e758 libuv: Build the library within CMake ...
| * Add script to update libuv from upstreamBrad King2016-08-311-0/+26
| |
* | curl: Update script to get curl from new repositoryBrad King2016-08-261-1/+1
|/ | | | | | Curl is now hosted at https://github.com/curl/curl.git
* update-third-party: support Git 2.9.0's new merge restrictionsBen Boeckel2016-08-241-1/+7
| | | | | Use the `--allow-unrelated-histories` flag to declare that we Know What We're Doing™ (but only if necessary).
* Add script to update vim-cmake-syntax from upstreamBrad King2016-08-171-0/+24
|
* Merge topic 'update-curl'Brad King2016-08-041-0/+38
|\ | | | | | | | | | | | | | | | | | | | | f59ab433 curl: Remove CMake-specific README f53f4a8a Merge branch 'upstream-curl' into update-curl 202adcfe curl 2016-08-03 (f2cb3a01) e1c11352 curl: Update script to get curl 7.50.1 a51c6c53 Merge branch 'upstream-curl' into update-curl 7ec709d3 curl 2015-08-11 (1a7f66a3) 3e9b0343 Add script to update curl from upstream
| * curl: Update script to get curl 7.50.1Brad King2016-08-031-1/+3
| |
| * Add script to update curl from upstreamBrad King2016-08-031-0/+36
| |
* | Merge topic 'clang-format-script'Brad King2016-07-011-4/+8
|\ \ | |/ | | | | | | a77d597b clang-format.bash: Fix filter-branch example documentation
| * clang-format.bash: Fix filter-branch example documentationBrad King2016-06-301-4/+8
| | | | | | | | | | | | Inside `git filter-branch --tree-filter` we must format all tracked files because formatting of the tree for each commit is independent from earlier commits.
* | liblzma: Revise update script to get version 5.0.8Brad King2016-06-291-1/+1
| |
* | Add script to update liblzma from upstreamDaniel Pfeifer2016-06-291-0/+30
|/
* clang-format.bash: Limit formatting to files selected by optionsBrad King2016-05-201-2/+45
| | | | | | | Now that our one-shot clang-format run is complete we rarely need to filter the entire tree anymore. Filter nothing if no options are given and just print the usage message. Offer options to specify selection of some set of files from Git as needed for various workflows.
* Add a script to run clang-format on the entire source treeBrad King2016-05-161-0/+91
| | | | | | List all sources in version control and filter out those that we should not format for various reasons. Then run the clang-format tool to do an in-place update.
* Add script to update Expat from upstreamBrad King2016-05-051-0/+49
|
* Add script to update LibArchive from upstreamBrad King2016-05-021-0/+31
|
* update-third-party: read attributes from the worktreeBen Boeckel2016-03-091-1/+1
| | | | | | | This should be done so that any attributes for ignoring certain files when exporting can be appended to the file during the extraction step, but ignored in the actual import. Necessary for importing the gitsetup repository.
* update-third-party: Add license noticeBrad King2016-03-091-0/+16
| | | | Our Git infrastructure scripts use the "Apache License 2.0".
* update-third-party: remove empty directories as wellBen Boeckel2016-03-091-0/+1
| | | | | | The `git ls-files | xargs rm` removes only files; directories which are empty are left laying around. This later chokes the `mv` which puts the "reduced" directory into place. Remove the empty directories as well.
* Merge topic 'import-kwiml'Brad King2015-12-211-0/+20
|\ | | | | | | | | | | | | | | | | | | a5dd0c9d Add option to use a system-installed KWIML 036b6ef7 Port CMake from cmIML to KWIML 12293371 Merge branch 'upstream-KWIML' into import-kwiml 3fdbb0a8 KWIML 2015-12-09 (43f9f8d0) 55b21d07 Add script to update KWIML from upstream c7d9a249 Utilities/KWIML: Drop sources to make room for fresh import
| * Add script to update KWIML from upstreamBrad King2015-12-171-0/+20
| |
* | Add script to update KWSys from upstreamBrad King2015-12-171-0/+22
|/
* Add a script to help update third-party sourcesBen Boeckel2015-12-171-0/+146
| | | | | | | Use the VTK `ThirdParty/update-common.sh` script as of commit 2f24b7b0f60b67a2a28b9aef210f06f904e7a977. Co-Author: Brad King <brad.king@kitware.com>
* Utilities: Add BoostScanDeps scriptRoger Leigh2015-12-021-0/+217
This script scans Boost headers in order to determine inter-library dependencies, using the "autolink" information embedded in the headers for automatic linking on Windows. This information is then output in a form suitable for use in FindBoost.cmake.