summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* cmUVHandlePtr: Move to CMakeLib to make it available everywhereBrad King2017-11-306-4/+15
|
* Merge topic 'libuv-raii'Brad King2017-11-3016-143/+687
|\ | | | | | | | | | | | | | | | | | | | | 1e9b7d3c server: Switched to a auto model for handles f43b9219 tests: Added tests to verify UV RAII semantics/constructs a3abb85c Add RAII handles for libuv handle types 90f8db26 tests: unconditionally enabled server tests b56b51fc utility: Disabled copy ctors in thread classes Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1453
| * server: Switched to a auto model for handlesJustin Berger2017-11-298-137/+96
| |
| * tests: Added tests to verify UV RAII semantics/constructsJustin Berger2017-11-292-0/+183
| |
| * Add RAII handles for libuv handle typesJustin Berger2017-11-293-0/+399
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The `uv_*_t` handle types are closed by `uv_close`, but the semantics are tricky. Calling `uv_close` may not close immediately. Instead it hands ownership to the uv loop to which the handle is currently attached. When the loop decides to close it, a callback is used to allow the `uv_close` caller to free resources. Provide an abstraction layer as `cm::uv_*_ptr` types corresponding to the `uv_*_t` handle types. Each pointer is either empty (`nullptr`) or has an initialized handle attached to a loop. Use move semantics to ensure a single owner of the handle so that clients can predict when the handle is destroyed.
| * tests: unconditionally enabled server testsJustin Berger2017-11-292-6/+3
| |
| * utility: Disabled copy ctors in thread classesJustin Berger2017-11-291-0/+6
| |
* | Merge topic 'CMakeFindBinUtils-improve-switch'Brad King2017-11-307-14/+12
|\ \ | | | | | | | | | | | | | | | | | | acb4cb95 CMakeFindBinUtils: Improve switch between MSVC- and GNU-like tools Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1533
| * | CMakeFindBinUtils: Improve switch between MSVC- and GNU-like toolsBrad King2017-11-287-14/+12
| | | | | | | | | | | | | | | | | | | | | | | | The switch was not considering some languages, such as `ASM`. Instead of memorizing the list of languages in the condition, use a language specified by the includer. Fixes: #17510
* | | Merge topic 'whitelist-more-interface-properties'Brad King2017-11-303-0/+24
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | fb3c5bfd cmTargetPropertyComputer: whitelist custom properties Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1515
| * | | cmTargetPropertyComputer: whitelist custom propertiesBen Boeckel2017-11-213-0/+24
| | | | | | | | | | | | | | | | | | | | CMake's properties will never begin with an underscore or a lowercase letter, so allow them to be set by projects.
* | | | Merge topic 'findcuda-separable-compilation-fix'Brad King2017-11-301-2/+2
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3726ded1 FindCUDA: Add cublas device library to separable compilation Acked-by: Kitware Robot <kwrobot@kitware.com> Reviewed-by: Robert Maynard <robert.maynard@kitware.com> Merge-request: !1446
| * | | | FindCUDA: Add cublas device library to separable compilationJamil Appa2017-11-291-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | Add cublas libraries to separable compilation device link line to resolve missing symbols when using cublas device library.
* | | | | Merge topic 'findiconv-module'Brad King2017-11-308-0/+219
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 95646591 FindIconv: Add the FindIconv module. Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1530
| * | | | | FindIconv: Add the FindIconv module.Christian Pfeiffer2017-11-298-0/+219
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This module provides abstraction over the various ways POSIX platforms handle the iconv calls defined in POSIX.1-2001 and later versions.
* | | | | | Merge topic 'CheckIncludeFiles-fix-src-name'Brad King2017-11-301-2/+2
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3eee3301 CheckIncludeFiles: Fix name of source file used for check Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1538
| * | | | | | CheckIncludeFiles: Fix name of source file used for checkBrad King2017-11-301-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In commit 7669695a74 (CheckIncludeFiles: extend to allow a LANGUAGE argument, 2017-11-08) the file name used for the check was accidentally left as `${var}.c`, where `var` is not a variable we define. It was passing tests by accidentally using just `.c` as the file name, but can break in real projects that may leave `var` defined to something else. The reference was taken from similar code in CheckTypeSize where the variable names are different. Fix our reference to be `${VARIABLE}`.
* | | | | | | CMake Nightly Date StampKitware Robot2017-11-301-1/+1
| | | | | | |
* | | | | | | Merge topic 'check_fixtures_before_exe_existence'Craig Scott2017-11-292-3/+11
|\ \ \ \ \ \ \ | |_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fbe91dba CTest: Check failed fixture dependencies before test command and args Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Brad King <brad.king@kitware.com> Merge-request: !1526
| * | | | | | CTest: Check failed fixture dependencies before test command and argsCraig Scott2017-11-282-3/+11
| | | | | | |
* | | | | | | Merge branch 'release-3.10'Brad King2017-11-290-0/+0
|\ \ \ \ \ \ \
| * \ \ \ \ \ \ Merge branch 'clang-cl-fix' into release-3.10Brad King2017-11-281-3/+3
| |\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | Merge-request: !1522
| * \ \ \ \ \ \ \ Merge branch 'cuda-implicit-include-dirs' into release-3.10Brad King2017-11-271-0/+3
| |\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Merge-request: !1528
* | \ \ \ \ \ \ \ \ Merge topic 'CodeBlocks-custom-compiler-id'Brad King2017-11-295-0/+30
|\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | e04f1d1b CodeBlocks: add option for the CB compiler ID Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1512
| * | | | | | | | | | CodeBlocks: add option for the CB compiler IDMelven Roehrig-Zoellner2017-11-275-0/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | CodeBlocks uses his own compiler ID string which may differ from CMAKE_<LANG>_COMPILER_ID. In particular CodeBlocks supports a large number of different compiler configurations (with different IDs) This commit adds a cache variable "CMAKE_CODEBLOCKS_COMPILER_ID", so the user might adjust it when needed.
* | | | | | | | | | | Merge topic 'aix-threads'Brad King2017-11-294-19/+46
|\ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4ff89fb6 AIX: Add -pthread flag to enable std::thread with GCC 6e613ff3 bootstrap: Add infrastructure to detect threading flags Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1535
| * | | | | | | | | | | AIX: Add -pthread flag to enable std::thread with GCCBrad King2017-11-284-1/+22
| | | | | | | | | | | |
| * | | | | | | | | | | bootstrap: Add infrastructure to detect threading flagsBrad King2017-11-281-18/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In our loop to detect -std flags, add another layer to detect threading flags.
* | | | | | | | | | | | Merge topic 'clang-cl-fix'Brad King2017-11-291-3/+3
|\ \ \ \ \ \ \ \ \ \ \ \ | | |_|_|_|/ / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | f969f1a9 Clang: Do not mistake clang-cl 6.0 for GNU-like clang Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1522
| * | | | | | | | | | | Clang: Do not mistake clang-cl 6.0 for GNU-like clangİsmail Dönmez2017-11-281-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The check added by commit v3.10.0-rc2~2^2 (Clang: Diagnose unsupported GNU-like clang targeting MSVC ABI, 2017-10-10) is incorrectly detecting clang-cl 6.0 as GNU-like. Currently cmake is testing if the clang compiler accepts `--version` to see if it accepts GNU style flags. However, with the latest llvm snapshot this also works for clang-cl: > clang-cl --version clang version 6.0.0 (trunk) Target: x86_64-pc-windows-msvc Thread model: posix InstalledDir: C:\Program Files\LLVM\bin So instead we should use the `/?` flag which fails with clang but works with clang-cl: > clang-cl /? &> /dev/null; echo $? 0 > clang /? &> /dev/null; echo $? 1 Fixes: #17518
* | | | | | | | | | | | Merge topic 'CheckIncludeFiles-language-CXX'Brad King2017-11-2914-5/+95
|\ \ \ \ \ \ \ \ \ \ \ \ | | |_|_|_|_|_|/ / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | b31d5e1d CheckIncludeFiles: improve warning for missing argument 1f1c2a9f CheckIncludeFiles: clean up documentation of new features c8609992 Help: Add notes for topic 'CheckIncludeFiles-language-CXX' ea1bb902 CheckIncludeFiles: add unit tests 7669695a CheckIncludeFiles: extend to allow a LANGUAGE argument Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1464
| * | | | | | | | | | | CheckIncludeFiles: improve warning for missing argumentDavid Adam2017-11-242-5/+7
| | | | | | | | | | | |
| * | | | | | | | | | | CheckIncludeFiles: clean up documentation of new featuresDavid Adam2017-11-241-3/+5
| | | | | | | | | | | |
| * | | | | | | | | | | Help: Add notes for topic 'CheckIncludeFiles-language-CXX'Brad King2017-11-141-0/+6
| | | | | | | | | | | |
| * | | | | | | | | | | CheckIncludeFiles: add unit testsDavid Adam2017-11-1112-0/+54
| | | | | | | | | | | |
| * | | | | | | | | | | CheckIncludeFiles: extend to allow a LANGUAGE argumentDavid Adam2017-11-111-3/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Allows CheckIncludeFiles to work for C or C++.
* | | | | | | | | | | | Merge topic 'win-clang-debug'Brad King2017-11-291-5/+3
|\ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 458c589f FindBoost: Add Windows ABI tag for Clang debug 00e39a4a FindBoost: Use CMAKE_CXX_COMPILER_ID for Intel compiler Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1529
| * | | | | | | | | | | | FindBoost: Add Windows ABI tag for Clang debugRoger Leigh2017-11-271-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Thanks to Walter Pearce for this suggestion. Fixes: #17505
| * | | | | | | | | | | | FindBoost: Use CMAKE_CXX_COMPILER_ID for Intel compilerRoger Leigh2017-11-271-5/+2
| | |_|_|_|_|_|_|_|_|_|/ | |/| | | | | | | | | |
* | | | | | | | | | | | Merge topic 'cppcheck_testdriver'Brad King2017-11-291-2/+2
|\ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 72d3161a TestDriver: fix style-'variableScope' cppcheck warning Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1518
| * | | | | | | | | | | | TestDriver: fix style-'variableScope' cppcheck warningSylvain Joubert2017-11-221-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When applied on a user project, cppcheck complains that the 'test_name' variable could have a reduced scope.
* | | | | | | | | | | | | Merge topic 'fortran-compiler-launcher'Brad King2017-11-2913-5/+32
|\ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | f19c70c3 Fortran: Add option to run the compiler through launcher tools Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1517
| * | | | | | | | | | | | | Fortran: Add option to run the compiler through launcher toolsBrad King2017-11-2113-5/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add a `Fortran_COMPILER_LAUNCHER` target property like those added for C and CXX by commit v3.4.0-rc1~450^2 (Add options to launch the compiler through tools like ccache or distcc, 2015-06-04) and CUDA by commit v3.10.0-rc1~531^2 (CUDA: Add option to run the compiler through launcher tools, 2017-06-09). Fixes: #17499
* | | | | | | | | | | | | | Merge topic 'cuda-implicit-include-dirs'Brad King2017-11-291-0/+3
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ | | |_|_|_|_|_|_|_|/ / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2f72573a CUDA: Treat /usr/include as an implicit include directory Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1528
| * | | | | | | | | | | | | CUDA: Treat /usr/include as an implicit include directoryBrad King2017-11-271-0/+3
| | |_|_|_|/ / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We already do this for C and C++. Fixes: #17512
* | | | | | | | | | | | | Merge topic 'GNUInstallDirs-update-link'Brad King2017-11-291-1/+1
|\ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 24e2bc42 GNUInstallDirs: Update link to 64-bit ABI documents Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1527
| * | | | | | | | | | | | | GNUInstallDirs: Update link to 64-bit ABI documentsBrad King2017-11-271-1/+1
| | |_|_|/ / / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Suggested-by: Chris Coutinho <chrisbcoutinho@gmail.com> Fixes: #17503
* | | | | | | | | | | | | CMake Nightly Date StampKitware Robot2017-11-291-1/+1
| |_|_|_|_|/ / / / / / / |/| | | | | | | | | | |
* | | | | | | | | | | | CMake Nightly Date StampKitware Robot2017-11-281-1/+1
|/ / / / / / / / / / /
* | | | | | | | | | | Merge branch 'release-3.10'Brad King2017-11-270-0/+0
|\ \ \ \ \ \ \ \ \ \ \ | | |_|_|_|_|/ / / / / | |/| | | | | | | | |