summaryrefslogtreecommitdiffstats
path: root/Utilities
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'upstream-curl' into update-curlBrad King2018-05-18107-1760/+3629
| | | | | * upstream-curl: curl 2018-05-15 (cb013830)
* curl: Update script to get curl 7.60.0Brad King2018-05-181-1/+1
|
* regenerate-parsers.bash: Add script to automate parser generationDaniel Franke2018-05-161-0/+37
| | | | | | | This depends on - a suitable flex version in PATH (currently 3.0.4) - a suitable version of 'sed' in PATH (e.g. GNU sed)
* regenerate-lexers.bash: Add option to check timestampsDaniel Franke2018-05-161-9/+22
|
* regenerate-lexers.bash: Factor file names into variablesDaniel Franke2018-05-161-8/+14
|
* Merge topic 'update-libuv'Brad King2018-05-0861-752/+991
|\ | | | | | | | | | | | | | | | | 0d389d175a libuv: Revert local linux/sparc64 fix now that we have upstream fix 42fbb28516 Merge branch 'upstream-libuv' into update-libuv c8b67ea119 libuv 2018-05-06 (bf605bd7) Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2049
| * libuv: Revert local linux/sparc64 fix now that we have upstream fixBrad King2018-05-071-1/+1
| |
| * Merge branch 'upstream-libuv' into update-libuvBrad King2018-05-0761-751/+990
| | | | | | | | | | * upstream-libuv: libuv 2018-05-06 (bf605bd7)
* | Merge topic 'doc-code-block-highlight'Brad King2018-05-081-0/+1
|\ \ | |/ |/| | | | | | | | | 8114b00b02 Utilities/Sphinx: Do not highlight unspecified code blocks as python Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2047
| * Utilities/Sphinx: Do not highlight unspecified code blocks as pythonBrad King2018-05-041-0/+1
| |
* | Utilities/Sphinx: Make HTML links in parsed-literal blocks more obviousBrad King2018-05-071-0/+10
|/ | | | | | | | Hyperlink text color does not stand out when used inside a literal block because such blocks typically get syntax highlighting. Update our CSS style to make the links more distinct. Suggested-by: Kyle Edwards <kyle.edwards@kitware.com>
* Merge topic 'ctest-libuv-linux-sparc64'Brad King2018-05-031-1/+1
|\ | | | | | | | | | | | | 1c22fdf360 libuv: linux/sparc64: use fcntl to set and clear O_NONBLOCK Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2029
| * libuv: linux/sparc64: use fcntl to set and clear O_NONBLOCKBrad King2018-05-021-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Upstream libuv commits: * node-v0.6.0~28 (linux: use ioctl(FIONBIO) to set O_NONBLOCK, saves a syscall, 2011-10-29) * v1.11.0~11 (unix: use async-signal safe functions between fork and exec, 2016-12-12) left an asymmetry in the way O_NONBLOCK is set and cleared. Normally ioctl/FIONBIO is used for both. However, uv_spawn uses fcntl/O_NONBLOCK to clear O_NONBLOCK between fork and exec. This fails on Linux/sparc64 where setting via ioctl/FIONBIO actually sets two bits (in O_NDELAY) that cause clearing via fcntl/O_NONBLOCK to be silently ignored (though clearing via ioctl/FIONBIO or fcntl/O_NDELAY works). Since CMake commit v3.11.0-rc1~117^2 (CTest: Re-implement test process handling using libuv, 2017-12-10), CTest uses libuv. On Linux/sparc64 child processes have been started with non-blocking output pipes. This can lead to write errors or lost output from children not prepared to deal with `EAGAIN` on stdout or stderr. Fix this for now by switching libuv back to fcntl/O_NONBLOCK to set and clear O_NONBLOCK when compiled on Linux/sparc64. LibUV-Issue: 1830 Fixes: #17941
* | Utilities/Sphinx: Add role and directive for 'envvar' in CMake domainBrad King2018-04-192-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This enables cross-reference syntax for CMake environment variables: :envvar:`SOMEVAR` and definition of CMake environment variables via a directive: .. envvar:: SOMEVAR It also adds environment variables defined by the directive and by `Help/envvar/SOMEVAR.rst` documents to the index. This `envvar` role and directive is defined in our `cmake` domain and overrides the equivalent `envvar` role and directive provided by Sphinx in its default domain. This is okay because we build CMake documents in the `cmakd` domain. This follows up the work from commit v3.10.0-rc1~43^2 (Help: Document CMake's environment variables, 2017-09-01) that originally added `envvar` documentation.
* | Utilities/Sphinx: Fix QtHelp generator identifiersBrad King2018-04-191-0/+1
| | | | | | | | Add missinge entry in `create_identifiers.py` helper.
* | Utilities/Release: Remove extra colon from release scriptsJean-Christophe Fillion-Robin2018-04-033-3/+3
| | | | | | | | The type of the `BUILD_QtDialog` cache entry is `BOOL`, not `BOOL:`.
* | libuv: disable process affinity during CMake bootstrapBrad King2018-03-051-0/+10
| | | | | | | | Avoid depending on platform-specific pthread features during bootstrap.
* | libuv: unix,win: add uv_spawn option to set child CPU affinity maskBrad King2018-03-053-0/+114
| | | | | | | | | | | | | | | | Implement it on Linux, FreeBSD, and Windows for now, and fail with UV_ENOTSUP on other platforms. Backported from upstream libuv PR 1527, scheduled for inclusion in libuv 2.0.
* | libuv: misc: add function to get CPU affinity mask sizeBrad King2018-03-053-0/+17
|/ | | | | | | | Implement it on Linux, FreeBSD, and Windows for now, and return UV_ENOTSUP on other platforms. Backported from upstream libuv PR 1527, scheduled for inclusion in libuv 2.0.
* CMake 3.11.0-rc1 version updateBrad King2018-02-051-1/+1
|
* Merge branch 'upstream-curl' into update-curlBrad King2018-01-24100-4124/+8933
| | | | | * upstream-curl: curl 2018-01-23 (d6c21c8e)
* curl: Update script to get curl 7.58.0Brad King2018-01-241-1/+1
|
* Merge topic 'update-libuv'Brad King2018-01-2263-1019/+2804
|\ | | | | | | | | | | | | | | | | | | 6db7b352 libuv: Update build within CMake b58d48c1 Merge branch 'upstream-libuv' into update-libuv f4a26c74 libuv 2018-01-19 (63de1eca) e8b57c22 libuv: Teach import script to add missing newlines Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1666
| * libuv: Update build within CMakeBrad King2018-01-191-1/+2
| | | | | | | | Update our CMake build rules to account for upstream changes.
| * Merge branch 'upstream-libuv' into update-libuvBrad King2018-01-1961-1018/+2800
| | | | | | | | | | * upstream-libuv: libuv 2018-01-19 (63de1eca)
| * libuv: Teach import script to add missing newlinesBrad King2018-01-161-0/+2
| |
* | IWYU: Add more workaround mappings for internal bitsBrad King2018-01-221-0/+3
|/ | | | | | | | | Extend our hack section of mappings to work around IWYU incorrectly requiring: * bits/stdint-uintn.h for stdint.h * bits/stdint-intn.h for stdint.h * bits/types/mbstate_t.h for wchar.h
* Merge topic 'ctest-libuv'Brad King2018-01-111-1/+6
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | b5e21d7d CTest: Re-implement test process handling using libuv fcebff75 cmProcess: Use explicit enum for process exit exception 3dd2edf4 cmProcess: Use explicit enum for process state 5238e6db cmProcess: Remove unused ReportStatus method c13b68e6 cmCTestRunTest: Modernize constructor and destructor decls 4d6b0903 cmCTestRunTest: Drop unused members 05da65bc cmCTestMultiProcessHandler: Factor out duplicate test finish logic dd945345 cmCTestMultiProcessHandler: Add helper to make libuv use SA_RESTART ... Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1455
| * libuv: unix: restart syscalls interrupted by our signal handlerBrad King2018-01-081-1/+6
| | | | | | | | | | | | | | | | | | | | BSD `signal(2)` semantics make some system calls (e.g. for `write`) restartable when interrupted by a signal handler. Use `SA_RESTART` to enable these semantics everywhere that supports them. This is required by C++ stream libraries that interpret `EINTR` as any other error, set `badbit`, and stop writing. I've observed this with `libstdc++` during a `std::cout.flush()` call interrupted by `SIGCHLD`.
* | Merge branch 'upstream-KWIML' into update-kwimlBrad King2018-01-095-9/+38
|/ | | | | * upstream-KWIML: KWIML 2018-01-09 (9c2d6cae)
* Merge topic 'ctest-chrono'Brad King2017-12-051-0/+5
|\ | | | | | | | | | | | | | | 66419bc0 CTest: convert timeouts to std::chrono::duration 923b8fad IWYU: Add mappings for std::enable_if on chrono durations Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1513
| * CTest: convert timeouts to std::chrono::durationWouter Klouwen2017-12-041-0/+1
| | | | | | | | | | | | | | | | | | This commit continues the refactoring of CTest to adopt std::chrono. After the last sets of changes that introduced std::chrono::steady_clock and std::chrono::system_clock respectively, it makes sense to have all the timeouts be stored as std::chrono::duration. No functional change intended.
| * IWYU: Add mappings for std::enable_if on chrono durationsBrad King2017-11-281-0/+4
| | | | | | | | | | | | | | | | IWYU incorrectly classifies this internal STL type as not internal, and suggests including `<type_traits>` for it. Work around the problem by mapping the offending names to a file that we always include. See include-what-you-use issue 434.
* | Merge branch 'upstream-GitSetup' into update-gitsetupBrad King2017-11-3010-871/+4
| | | | | | | | | | * upstream-GitSetup: GitSetup 2017-10-26 (1639317d)
* | GitSetup: Restrict import to files we needBrad King2017-11-301-0/+7
|/
* IWYU: Add more mappings for std::__decay_and_stripBrad King2017-11-211-0/+2
| | | | | | | | IWYU incorrectly classifies this internal STL type as not internal, and suggests including `<type_traits>` for it. Work around the problem by mapping the offending names to a file that we always include. See include-what-you-use issue 434.
* Utilities/Release: Update to openssl-1.1.0gBrad King2017-11-141-3/+3
| | | | | | | | Update the prebuilt binary build configurations for machines where we build our own OpenSSL library to use a newer version. Now that we require pthreads for libuv anyway, we can use OpenSSL 1.1 along with its dependency on pthreads.
* Utilities/Release: Update to openssl-1.0.2mBrad King2017-11-141-3/+3
| | | | | Update the prebuilt binary build configurations for machines where we build our own OpenSSL library to use a newer version.
* Utilities/Release: Build static executables on WindowsBrad King2017-11-142-13/+36
| | | | | | | Switch to the MSVC static runtime library (and static UCRT). Link Qt statically, including the Windows platform plugin. Disable the Qt tests because they are incompatible with a Qt using a static runtime library.
* Utilities/Release: Remove unused setting in Linux buildBrad King2017-11-141-1/+0
| | | | | CMake_INSTALL_DEPENDENCIES is not needed because we link both Qt and the toolchain runtime library statically.
* Fix trivial typos in textluzpaz2017-11-031-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | Some are user facing. Found using codespell -q 3 --skip="./Utilities" -I .cmake-whitelist.txt` whereby the whitelist contained: ans dum helpfull emmited emmitted buil iff isnt nto ot pathes substract te todays upto whitespaces
* Merge topic 'update-curl'Brad King2017-10-11144-5795/+7998
|\ | | | | | | | | | | | | | | | | | | bb759148 curl: Update build within CMake to account for 7.56 changes 9e3ef40e Merge branch 'upstream-curl' into update-curl de7c21d6 curl 2017-10-04 (3ea76790) 2fad0e20 curl: Update script to get curl 7.56.0 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1372
| * curl: Update build within CMake to account for 7.56 changesBrad King2017-10-102-1/+5
| |
| * Merge branch 'upstream-curl' into update-curlBrad King2017-10-10143-5793/+7984
| | | | | | | | | | * upstream-curl: curl 2017-10-04 (3ea76790)
| * curl: Update script to get curl 7.56.0Brad King2017-10-101-2/+10
| |
* | CMake 3.10.0-rc1 version updateBrad King2017-10-051-1/+1
|/
* clang-format.bash: minor fixes to support MacOSMatthias Maennich2017-10-031-2/+4
| | | | | | | - sed on Mac does not support embedded sed statements, hence eliminating the non-matches via grep - xargs on Mac does not support -d, but does support -0, hence replacing
* Retire std::auto_ptr and its macro CM_AUTO_PTRMatthias Maennich2017-09-251-6/+0
| | | | Signed-off-by: Matthias Maennich <matthias@maennich.net>
* libarchive: Do not use nanosecond file time APIs on macOS < 10.13Brad King2017-09-201-0/+11
| | | | | | | | | The SDK for macOS 10.13 adds `futimens` and `utimensat` so our checks for these symbols may pass. However, the symbols are not available at runtime on older macOS versions. Instead on macOS we can check for availability based on the deployment target version. Issue: #17101
* bootstrap: Make libuv available during bootstrapBrad King2017-09-178-10/+200
| | | | | | | On UNIX, build only the parts of libuv we need for the filesystem, process, and poll abstractions using the POSIX poll() backend. This avoids many platform-specific conditions. On Windows, build all of libuv; there are no conditional alternatives anyway.