openbsd-ports/devel/cmake/patches/patch-Source_cmGlobalGenerator_cxx
rsadowski 9cbccf7aa8 Update cmake to 3.20.2
Notable port changes:

- Remove cmLocaleRAII patch. This is no longer necessary. The class now
  copies the value of LC_CTYPE and not hold a pointer.
- Some patches merged upstream:
  https://blog.kitware.com/cmake-3-20-2-available-for-download/
  https://gitlab.kitware.com/cmake/cmake/-/merge_requests/6000

Survived 3 amd64 bulk builds, all consumers should be patched with upstream
patches.
2021-05-09 14:46:15 +00:00

16 lines
720 B
Plaintext

$OpenBSD: patch-Source_cmGlobalGenerator_cxx,v 1.16 2021/05/09 14:46:15 rsadowski Exp $
Index: Source/cmGlobalGenerator.cxx
--- Source/cmGlobalGenerator.cxx.orig
+++ Source/cmGlobalGenerator.cxx
@@ -2601,6 +2601,9 @@ void cmGlobalGenerator::AddGlobalTarget_Test(
cmCustomCommandLine singleLine;
singleLine.push_back(cmSystemTools::GetCTestCommand());
singleLine.push_back("--force-new-ctest-process");
+ // Skip tests requiring internet access
+ singleLine.push_back("--exclude-regex");
+ singleLine.push_back("\"CMake.FileDownload|CTestTestUpload|RunCMake.ctest_submit\"");
std::vector<std::string> args;
if (mf->GetDefExpandList("CMAKE_CTEST_ARGUMENTS", args)) {
for (auto const& arg : args) {