| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
We can avoid searching for this since CUDAToolkit_TARGET_DIR always contains
the include/ directory. But add a warning just in case.
Also apply this in CMakeDetermineCUDACompiler for Clang code.
|
|
|
|
|
|
|
|
|
| |
On scattered installations version.txt and nvvm are located at this location.
This may be useful to users and will allow us in the future to parse
version.txt instead of invoking nvcc to figure out the CUDA toolkit version.
We also add it to CMakeDetermineCUDACompiler in preparation for future use by
Clang code.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
A portion of FindCUDAToolkit was previously split in commit dc2eae1f
(FindCUDAToolkit: Factor out discovery code into a separate file, 2020-04-22)
out into Internal/CUDAToolkit to allow re-use of the code in
CMakeDetermineCUDACompiler for Clang support.
This has turned out to be a bad solution due to Clang requiring quite a bit of
special handling and special handling for NVCC leaking out from
Internal/CUDAToolkit into the Clang code using it.
Thus it seems better to re-unify this code and duplicate the parts of the code
necessary for Clang where it's required. This will help us get logic correct
for both NVCC and CUDA handling. We can still unify the common parts in the
future once the code has matured.
|
|\
| |
| |
| |
| |
| |
| |
| |
| | |
0f4777ab81 ci: don't test BundleGeneratorTest
77b44ed4ba gitlab-ci: add an Xcode tester
d33b38d4aa gitlab-ci: rename some scripts to be Linux-specific
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4883
|
| |
| |
| |
| |
| | |
This test uses shared global resources and doesn't work well with the CI
infrastructure we have. It is tested by nightly builders however.
|
| | |
|
|/
|
|
| |
macOS install trees have a different layout and package names.
|
|\
| |
| |
| |
| |
| |
| |
| |
| |
| | |
2e7cefec03 gitlab-ci: add a cuda10.2 builder
1a2961b895 Tests: add CUDA labels to tests which are affected by CUDA
2caa7502d5 ci: support running just a set of tests with external builders
26b4cbcf93 gitlab-ci: move Makefiles Linux tests to use the package
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4877
|
| | |
|
| | |
|
| | |
|
| | |
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | | |
5c04e77e07 VS: Restore compilation of '.C' sources as C++
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4880
|
| |/
| |
| |
| |
| |
| |
| |
| |
| | |
Refactoring in commit 3b547e2e4b (VS: Simplify logic adding source file
C/C++ language flag to MSVC, 2020-05-15, v3.18.0-rc1~139^2~1) failed to
account for MSVC's treatment of `.C` extensions as C. Add this special
case to the logic to restore use of `-TP` for `.C` extensions.
Fixes: #20822
|
|\ \
| |/
|/|
| |
| |
| |
| |
| |
| |
| |
| | |
d7679f6427 QCMakeCacheView: use non-deprecated List and Set constructions
973fc56020 gitlab-ci: test QtDialog on macOS
1a995439e5 ci: add download information for Qt on macOS
881c0b86dd gitlab-ci: test QtDialog on Windows
b8d46d5e50 ci: add a script to download Qt
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4874
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | | |
95700be52d CUDA: Teach CMake that NVCC 11 supports cuda_std_17
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4872
|
| |/ |
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | | |
c1de3d1b34 FindProtobuf: Fix typo in documentation
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4873
|
| |/
| |
| |
| | |
typo: "filess" ==> "files"
|
|\ \
| |/
|/|
| |
| |
| |
| | |
131b8cc8ae Help/dev: document other arguments to `Do: test`
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4870
|
| | |
|
| | |
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | | |
e65e88fbce cmGeneratorTarget: fix misplaced header
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4864
|
| | |
| | |
| | |
| | |
| | |
| | | |
In commit b36d1bdd9d (Single location for cmProp typedef, 2020-05-30)
we accidentally left inclusion of `cmProperty.h` out of the main
block of includes.
|
|\ \ \
| |_|/
|/| |
| | |
| | |
| | |
| | | |
b79aad8069 CPack/IFW: Add Qt installer framework version 3.2
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4859
|
| |/
| |
| |
| | |
Qt 5.15 comes with IFW 3.2
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | | |
796b447373 FindOpenSSL: Fix OpenSSL 3.0.0 version extraction
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4860
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Fix the regex syntax added by commit 61d746e592 (FindOpenSSL: Detect
OpenSSL 3.0.0, 2020-05-27, v3.17.3~1^2). Add missing escapes.
Test with `openssl-3.0.0-alpha3`.
While at it, also unset a temporary variable after use.
|
|\ \ \
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
855ed80111 Help/dev: Update CMake Review Process document for GitLab CI
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4865
|
| | |/
| |/|
| | |
| | |
| | | |
We have replaced use of `buildbot` with GitLab CI. Update the
relevant section of our review process documentation.
|
|\ \ \
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
6b75175219 Help: Add example for REQUIRED_FILES test property
61139c91d2 Help: Add example for DEPENDS test property
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4853
|
| | | | |
|
| | | | |
|
|\ \ \ \
| |_|/ /
|/| | |
| | | |
| | | |
| | | |
| | | | |
f8b2d8f178 ci: remove unused sccache download script
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4866
|
|/ / / |
|
|\ \ \
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
f859e6f812 CPack/IFW: Fix documentation typo: REQUARED
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4862
|
|/ / / |
|
|\ \ \
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
3fd07d30bf VS: Enable DOTNET_TARGET_FRAMEWORK properties all target types
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4854
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This makes them compatible with `VS_PACKAGE_REFERENCES` and, in
particular, fixes nuget package references in combination with install
targets.
Fixes: #20764
|
|\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
7e2f86461a FindCUDAToolkit: Fix cudart not found status message
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4861
|
| | |/ /
| |/| |
| | | |
| | | |
| | | |
| | | | |
This ended up after the searching after commit dc2eae1 (FindCUDAToolkit: Factor
out discovery code into a separate file, 2020-04-22).
Move it back to where it was and should be.
|
|\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
0f88b7a592 CUDA: Fix Clang depfile flags when simulating MSVC
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4863
|
| |/ / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
__compiler_clang() doesn't call __compiler_gnu() if we're emulating MSVC. Thus
CMAKE_DEPFILE_FLAGS_CUDA remains unset and compiling doesn't work, due to NVCC
dependency injection workaround in CMakeCUDAInformation.cmake, which triggers
for Ninja if they're not set.
Always set the depfile flags to fix this. Most other compiler modules seem to
do the same.
|
|\ \ \ \
| |/ / /
|/| | |
| | | |
| | | |
| | | |
| | | | |
4eaf1ef425 CUDA: Fix checking working architectures with specifiers
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4856
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
We don't distinguish real/virtual architectures during compiler detection.
If the user passes -DCMAKE_CUDA_ARCHITECTURES="70-virtual" we'll test with only
the real architecture.
If it works "architectures" will end up as "70". We check equality using
strings, so this fails and we incorrectly throw an error.
Fix this by comparing against CMAKE_CUDA_ARCHITECTURES with the specifiers
stripped.
We need to deduplicate tested_architectures for the same reason in case the
user specified something like "70-real;70-virtual".
|