summaryrefslogtreecommitdiffstats
path: root/Utilities
Commit message (Collapse)AuthorAgeFilesLines
* Merge topic 'add-contains-to-cmext-algorithm'Marc Chevrier2020-04-183-11/+103
|\ | | | | | | | | | | | | aacd4e4a90 Refactoring: add cm::contains to <cmext/algorithm> Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4606
| * Refactoring: add cm::contains to <cmext/algorithm>Marc Chevrier2020-04-173-11/+103
| |
* | setup-user: restore portabilityJiri Malak2020-04-151-1/+8
|/ | | | | | | | | | Changes in commit 5129e97285 (setup-user: switch to git-var to check if username and e-mail are set, 2019-11-24, v3.17.0-rc1~379^2) now require the `rev` and `cut` tools to be available. Revise the logic to use that approach only when they are available, and otherwise fall back to the previous more portable approach. Co-Author: Brad King <brad.king@kitware.com>
* libuv: Restore compilation on Apple i386 architectureBrad King2020-04-071-1/+1
| | | | | | | libuv upstream commit `2475296c` (build: make code compilable for iOS on Xcode, 2020-01-18, v1.35.0~47) added a `defined(TARGET_OS_IPHONE)` preprocessor condition, but `TARGET_OS_IPHONE` is always defined on Apple to either 0 or 1.
* libuv: Restore compilation with XLClang 16.1 on AIXBrad King2020-04-071-0/+6
| | | | | | | | | | | | | libuv upstream commit `4a972bf0` (aix: Fix broken cmpxchgi() XL C++ specialization., 2019-09-06, v1.32.0~5) broke compilation with this compiler. According to https://www.ibm.com/support/knowledgecenter/SSGH3R_16.1.0/com.ibm.xlcpp161.aix.doc/migrate/migrate_to_xlclang.html XLClang 16.1 for AIX does not support `__sync_val_compare_and_swap`. The documentation suggests using C++11 atomic operations instead, but this is C code. For now fall back to the non-atomic equivalent used before so we can at least compile. Add a FIXME comment for this.
* Merge branch 'upstream-libuv' into update-libuvBrad King2020-04-0667-1497/+3984
| | | | | * upstream-libuv: libuv 2020-04-06 (d21f5aea)
* Merge topic 'curl-http2'Brad King2020-04-0653-1/+31086
|\ | | | | | | | | | | | | | | | | | | | | | | 02dd24a928 curl: Enable HTTP/2 support by using nghttp2 a24dd93e93 curl: When building inside CMake, link dependencies as PRIVATE 0b872fd4be nghttp2: Build the library within CMake for use by our curl cd5a320d68 Merge branch 'upstream-nghttp2' into curl-http2 5dc6921805 nghttp2 2019-11-15 (cc05c5fe) 1b8e2c2a3d nghttp2: Add script to import from upstream Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4560
| * curl: Enable HTTP/2 support by using nghttp2Brad King2020-04-031-0/+1
| |
| * curl: When building inside CMake, link dependencies as PRIVATEBrad King2020-04-031-1/+1
| |
| * nghttp2: Build the library within CMake for use by our curlBrad King2020-04-032-0/+69
| | | | | | | | | | | | Provide our own minimal `config.h` since the upstream one is much larger to support other parts of its distribution. Compile with warnings disabled since this is third-party code.
| * Merge branch 'upstream-nghttp2' into curl-http2Brad King2020-04-0148-0/+30985
| | | | | | | | | | | | # By nghttp2 upstream * upstream-nghttp2: nghttp2 2019-11-15 (cc05c5fe)
| * nghttp2: Add script to import from upstreamBrad King2020-04-011-0/+30
| |
* | Merge topic 'rel-linux-openssl'Brad King2020-04-032-6/+6
|\ \ | |/ |/| | | | | | | | | 3a66c7674c Utilities/Release: Update to openssl 1.1.1f Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4563
| * Utilities/Release: Update to openssl 1.1.1fBrad King2020-04-032-6/+6
| |
| * Merge topic 'ibmi-fix-libuv-build' into release-3.17Brad King2020-03-091-0/+19
| |\ | | | | | | | | | | | | | | | | | | 7d6bd14dca libuv: Add support for building on IBM i (OS400) Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4431
| * \ Merge topic 'libarchive-win-codepage' into release-3.17Brad King2020-02-071-2/+5
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 16e31523ba libarchive: Add support for UTF-8 locale on Windows f7c54d2049 libarchive: Fix WideCharToMultiByte output buffer size Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4332
* | | | CMake compilation: do not use compiler extensionsMarc Chevrier2020-03-231-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | For now, compiler extensions are no longer activated on CMake sources. However these extensions are still used for various third parties. This MR is a partial answer to the issue #20454.
* | | | Merge topic 'ibmi-fix-libuv-build'Brad King2020-03-091-0/+19
|\ \ \ \ | | |_|/ | |/| | | | | | | | | | | | | | | | | | 7d6bd14dca libuv: Add support for building on IBM i (OS400) Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4431
| * | | libuv: Add support for building on IBM i (OS400)Jesse Gorzinski2020-03-061-0/+19
| | |/ | |/|
* | | curl: Set build options the way we need for CMakeBrad King2020-03-041-0/+7
| | |
* | | Merge branch 'upstream-curl' into update-curlBrad King2020-03-04226-6740/+13074
| | | | | | | | | | | | | | | * upstream-curl: curl 2020-03-04 (b8d13668)
* | | curl: Update script to get curl 7.69.0Brad King2020-03-041-1/+5
| | |
* | | librhash: Fix -Wdocumentation warning about @param nameBrad King2020-03-031-1/+1
| | |
* | | librhash: Update build within CMake for rhash 1.3.9Brad King2020-03-021-1/+1
| | |
* | | Merge branch 'upstream-librhash' into update-librhashBrad King2020-03-0222-657/+957
| | | | | | | | | | | | | | | * upstream-librhash: librhash 2019-12-14 (75716b45)
* | | librhash: Update import script to get rhash 1.3.9Brad King2020-03-021-2/+1
| | |
* | | bzip2: Disable MSVC warnings in 3rd party codeBrad King2020-02-251-1/+3
| | | | | | | | | | | | | | | In commit 35acaa90c5 (bzip2: Add compilation flags to disable warnings in third-party code, 2020-02-24) we forgot to disable warnings for MSVC.
* | | Merge branch 'upstream-bzip2' into update-bzip2Brad King2020-02-2416-84/+100
| | | | | | | | | | | | | | | | | | # By bzip2 upstream * upstream-bzip2: bzip2 2019-07-13 (6a8690fc)
* | | bzip2: Update import script to get bzip2 1.0.8Brad King2020-02-241-1/+1
| | |
* | | bzip2: Add compilation flags to disable warnings in third-party codeBrad King2020-02-241-0/+9
| | |
* | | Merge branch 'upstream-bzip2' into update-bzip2Brad King2020-02-2418-0/+8350
| | | | | | | | | | | | | | | | | | # By bzip2 upstream * upstream-bzip2: bzip2 2007-12-10 (a1d78c55)
* | | bzip2: Remove all sources to make room for fresh importBrad King2020-02-2457-159717/+0
| | |
* | | bzip2: add script to import bzip2 from upstreamBrad King2020-02-241-0/+27
| | |
* | | libarchive: Update to build within CMakeBrad King2020-02-133-22/+9
| | | | | | | | | | | | | | | Hard-code more libarchive options as internal cache entries. Doing so makes some of our `IF(0)` conditions unnecessary, so remove those.
* | | Merge branch 'upstream-LibArchive' into update-libarchiveBrad King2020-02-13151-1319/+11634
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * upstream-LibArchive: LibArchive 2020-02-11 (3288ebb0) Also manually restore content from upstream libarchive's main `CMakeLists.txt` file that was removed by previous commits and exclude it with `IF(0)` blocks. Do this as an evil merge so that `git blame -C` can follow the content to upstream.
* | | libarchive: Update script to get 3.4.2Brad King2020-02-131-1/+2
| | |
* | | Utilities/Release: Use python 3 for tests on Windows binariesBrad King2020-02-102-0/+2
| | | | | | | | | | | | | | | | | | Explicitly specify the build machine's Python 3 installation for Windows to be used by the test suite. This avoids accidentally using other versions on the machine.
* | | Merge topic 'libarchive-win-codepage'Brad King2020-02-071-2/+5
|\ \ \ | |/ / | | / | |/ |/| | | | | | | 16e31523ba libarchive: Add support for UTF-8 locale on Windows f7c54d2049 libarchive: Fix WideCharToMultiByte output buffer size Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4332
| * libarchive: Add support for UTF-8 locale on WindowsBrad King2020-02-061-1/+3
| | | | | | | | | | | | | | Backport libarchive upstream commit `c46e7993` (windows: Support UTF-8 locale, 2018-07-23, v3.4.0~105^2). Fixes: #20320
| * libarchive: Fix WideCharToMultiByte output buffer sizeBrad King2020-02-061-1/+2
| | | | | | | | | | | | Fix `archive_string_append_from_wcs_in_codepage` to account for the already-used portion of the buffer when computing the size of the remaining buffer for ``WideCharToMultiByte` output.
| * Merge topic 'update-expat' into release-3.16Brad King2019-11-1224-4843/+4037
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | 50bc359184 expat: Update CMake build for 2.2.9 b63a5c88a2 Merge branch 'upstream-expat' into update-expat 1712885b4f expat 2019-09-25 (a7bc26b6) 512fabaa9d expat: Update script to get Expat 2.2.9 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4032
* | \ Merge topic 'libarchive-solaris-11.4'Brad King2020-01-311-1/+5
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | f70b49b498 libarchive: Fix detection of 'major' on Solaris 11.4 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4302
| * | | libarchive: Fix detection of 'major' on Solaris 11.4Brad King2020-01-301-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | In `archive_pack_dev.c` there is code checking the `HAVE_MAJOR` macro, but it is not computed. Port the equivalent logic from `archive_entry.c`.
* | | | Merge topic 'automoc-using-depfiles'Brad King2020-01-301-1/+2
|\ \ \ \ | |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | aebfbcaa46 AutoGen: Use depfiles for the XXX_autogen ninja targets f765fdea03 AutoGen: Use moc's feature to output dependencies f8c505d4b3 Add a parser for GCC-style depfiles Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Jan Niklas Hasse <jhasse@bixense.com> Merge-request: !4221
| * | | Add a parser for GCC-style depfilesJoerg Bornemann2020-01-281-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Introduce the function cmReadGccDepfile that parses a GCC-style depfile and returns its content. The implementation uses a lexer that is modeled after the re2c implementation in Ninja. The sample files of the autotest have been created with gcc 8.3.0. This depfile reader is to be used by the Autogen facility to make use of the depfiles that are generated by Qt's meta object compiler.
* | | | STL support: make_unique can now handle arrayMarc Chevrier2020-01-281-1/+36
|/ / /
* | | Stl support: cm::append now supports any sequential containerMarc Chevrier2020-01-242-16/+145
| | |
* | | Merge topic 'mark_as_advanced-without-cache'Brad King2020-01-221-1/+0
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3ec82b713e cmMarkAsAdvancedCommand: ignore variables which don't exist in the cache 701a5c60e0 cmake: avoid marking local or unused variables as advanced af158149e7 FindOpenSSL: do not mark a local variable as advanced 74f659f1f2 FindCurses: only mark CURSES_EXTRA_LIBRARY when it is used 7e2ae4e96d FindOpenGL: only mark declared cache variables as advanced 7cc02a0c29 FindLua: only mark LUA_MATH_LIBRARY as advanced if required 85cd26b8a6 FindBoost: only mark Boost_DIR as advanced if defined 338c7916ba CTest: avoid marking undeclared cache variables as advanced ... Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4150
| * | | cmake: avoid marking local or unused variables as advancedBen Boeckel2020-01-201-1/+0
| | | |
* | | | STL Support: enhance behavior of cm::dynamic_reference_castMarc Chevrier2020-01-171-1/+9
| | | | | | | | | | | | | | | | | | | | Ensure cm::dynamic_reference_cast has same behavior as dynamic_cast on reference: raise std::bad_cast if dynamic_cast is not possible.