summaryrefslogtreecommitdiffstats
path: root/Utilities
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* jsoncpp: Drop doxygen comments not recognized by ClangBrad King2017-08-304-6/+6
| | | | | Some Clang versions warn with `-Wdocumentation-unknown-command` about the `\internal` and `\snippet` command tag names.
* jsoncpp: Add initialization to pacify scanbuildBrad King2017-08-301-0/+1
| | | | | | | The scanbuild analysis cannot see that decodeUnicodeEscapeSequence either initializes the `unicode` argument or returns `false` such that the code following it runs only if `unicode` is initialized. Add an explicit initialization to pacify it.
* jsoncpp: Fix compilation on SunProBrad King2017-08-305-0/+20
| | | | The SunPro compiler does not support `#pragma pack`.
* jsoncpp: Drop deprecation markupBrad King2017-08-304-11/+12
| | | | | | | | Even though we disable warnings when building jsoncpp itself, including its headers from other CMake sources may still cause warnings. Additional work will be needed to port CMake to newer jsoncpp interfaces while still supporting jsoncpp 1.0.0. For now, just suppress the markup.
* Merge branch 'upstream-jsoncpp' into update-jsoncppBrad King2017-08-3019-2272/+3417
| | | | | * upstream-jsoncpp: jsoncpp 2017-08-27 (4cfae897)
* jsoncpp: Update script to get jsoncpp 1.8.2Brad King2017-08-301-1/+1
|
* jsoncpp: Drop unnecessary files from source listBrad King2017-08-301-2/+0
|
* jsoncpp: Add script to update from upstreamBrad King2017-08-301-0/+33
|
* Merge topic 'no-crlf-blobs'Brad King2017-08-302-223/+0
|\ | | | | | | | | | | | | | | | | ebc91a44 Avoid CRLF newlines in Git repo blobs c69b4c8d bzip2: Drop unused .dsp files Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Ben Boeckel <ben.boeckel@kitware.com> Merge-request: !1211
| * bzip2: Drop unused .dsp filesBrad King2017-08-302-223/+0
| |
* | Lexer: add a helper script to automate generating the lexersMatthias Maennich2017-08-291-0/+33
|/ | | | | | | | note: this depends on - a suitable flex version in PATH (currently 2.6.4) - a suitable version of 'sed' in PATH (e.g. GNU sed) Signed-off-by: Matthias Maennich <matthias@maennich.net>
* server: always enable serverDaniel Pfeifer2017-08-264-4/+0
|
* Merge topic 'boost-1.65'Brad King2017-08-241-7/+32
|\ | | | | | | | | | | | | | | fa114e7d FindBoost: Add Boost 1.65 dependencies e66e8e89 BoostScanDeps: Special case python and numpy and variants Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1172
| * BoostScanDeps: Special case python and numpy and variantsRoger Leigh2017-08-221-7/+32
| |
* | Use C++11 unordered containersDaniel Pfeifer2017-08-221-20/+0
|/
* Merge topic 'require-cmake-3.1'Brad King2017-08-152-2/+2
|\ | | | | | | | | | | | | | | | | fb0c3c56 Require CMake 3.1 to build CMake itself Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Ben Boeckel <ben.boeckel@kitware.com> Acked-by: Craig Scott <craig.scott@crascit.com> Merge-request: !1126