Remove Circle CI and dashboard branch by o01eg · Pull Request #447 · python-cmake-buildsystem/python-cmake-buildsystem
and others added 30 commits
Tweak "python_common.cmake" script to fix the error reported below. Since "ctest_empty_binary_directory" returns: (1) true if the directory does not exist (3) false if the directory exists and does NOT contain a CMakeCache.txt this commit moves the directory creation after the "ctest_empty_binary_directory" call. //------------ Clearing build tree... CMake Error at scratch/python_common.cmake:306 (ctest_empty_binary_directory): ctest_empty_binary_directory problem removing the binary directory: C:\projects\python-cmake-buildsystem/../python-cmake-buildsystem/build Call Stack (most recent call first): scratch/appveyor_dashboard.cmake:31 (include) //------------
…riable If not set, it default to 8. In both case build name will be prepended with "2.7.<PY_VERSION_PATCH>-".
If the last commit topic includes the special comments of the form "[cmake <ARGUMENT>]" without trailing spaces, the project will be configured using all extracted arguments. For example, using these comments: [cmake -DFOO:STRING=Hello] [cmake -DBAR:STRING=World] [cmake -DANSWER=42 -DGOOD:STRING=Day] The project will be built with -DFOO:STRING=Hello -DBAR=World -DANSWER=42 -DGOOD:STRING=Day
This commit will ensure CI builds (which are of type Experimental) do not reset the source checkout to origin/master
…e < 3.1.0 This commit improve the fix introduced in 77f3479 to also work for older version of CMake.
As explained in [1], for legacy reason setting variable like LD_LIBRARY_PATH with paths containing spaces will not work even if the spaces are escaped. For that reason, prefer build path without spaces. [1] http://ubuntuforums.org/showthread.php?t=1142062
This commit fixes the following error:
//------------
ctest -V -C %configuration% -S "%APPVEYOR_BUILD_FOLDER%\\scripts\\appveyor_dashboard.cmake"
CMake Error at scripts/appveyor_dashboard.cmake:10 (if):
if given arguments:
"STREQUAL" ""
Unknown arguments specified
Error in read script: C:/projects/python-cmake-buildsystem/scripts/appveyor_dashboard.cmake
Command exited with code -1
//------------
jcfr and others added 30 commits
Follow-up of 6391889 ("cmake: Remove support for building CPython 2.7", 2025-04-28) in which `appveyor.yml` was removed.
CDash misinterprets colons (:) in the `CTEST_SITE` string, causing the "Update" and "Configure/Build/Test" steps to appear as separate rows in the dashboard. This patch replaces colons with underscores as a workaround to ensure all submission parts are grouped correctly. Related issue: Kitware/CDash#2905
Make the build directory after using ctest_empty_binary_directory
because the command reports an error if asked to delete a directory
that exists but does not contain `CMakeCache.txt`.
Adapted from cmake/dashboard-scripts@cb56d71 ("cmake_common: Fix use of ctest_empty_binary_directory", 2016-01-21)
See https://gitlab.kitware.com/cmake/dashboard-scripts/-/commit/cb56d71
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters