New upstream version 3.30.2
This commit is contained in:
		
							parent
							
								
									a584c35a6a
								
							
						
					
					
						commit
						cf6a15e3ec
					
				| @ -2636,7 +2636,6 @@ syn keyword cmakeKWadd_test contained | ||||
|             \ SKIP_REGULAR_EXPRESSION | ||||
|             \ TARGET_FILE | ||||
|             \ WILL_FAIL | ||||
|             \ WILL_FALL | ||||
|             \ WORKING_DIRECTORY | ||||
| 
 | ||||
| syn keyword cmakeKWblock contained | ||||
|  | ||||
| @ -80,7 +80,7 @@ directory the test is created in. | ||||
| If the test command exits with code ``0`` the test passes. Non-zero exit code | ||||
| is a "failed" test. The test property :prop_test:`WILL_FAIL` inverts this | ||||
| logic. Note that system-level test failures such as segmentation faults or | ||||
| heap errors will still fail the test even if ``WILL_FALL`` is true. Output | ||||
| heap errors will still fail the test even if ``WILL_FAIL`` is true. Output | ||||
| written to stdout or stderr is captured by :manual:`ctest(1)` and only | ||||
| affects the pass/fail status via the :prop_test:`PASS_REGULAR_EXPRESSION`, | ||||
| :prop_test:`FAIL_REGULAR_EXPRESSION`, or :prop_test:`SKIP_REGULAR_EXPRESSION` | ||||
|  | ||||
| @ -248,9 +248,9 @@ Updates | ||||
| 
 | ||||
| Changes made since CMake 3.30.0 include the following. | ||||
| 
 | ||||
| 3.30.1 | ||||
| ------ | ||||
| 3.30.1, 3.30.2 | ||||
| -------------- | ||||
| 
 | ||||
| * This version made no changes to documented features or interfaces. | ||||
| * These versions made no changes to documented features or interfaces. | ||||
|   Some implementation updates were made to support ecosystem changes | ||||
|   and/or fix regressions. | ||||
|  | ||||
| @ -99,7 +99,7 @@ function(CMAKE_DETERMINE_COMPILER_ABI lang src) | ||||
|     # Load the resulting information strings. | ||||
|     if(CMAKE_${lang}_ABI_COMPILED) | ||||
|       message(CHECK_PASS "done") | ||||
|       if(CMAKE_HOST_APPLE AND CMAKE_SYSTEM_NAME STREQUAL "Darwin") | ||||
|       if(CMAKE_HOST_APPLE AND CMAKE_SYSTEM_NAME STREQUAL "Darwin" AND NOT CMAKE_OSX_ARCHITECTURES MATCHES "\\$") | ||||
|         file(READ_MACHO "${BIN}" ARCHITECTURES archs CAPTURE_ERROR macho_error) # undocumented file() subcommand | ||||
|         if (NOT macho_error) | ||||
|           # sort and prune the list of found architectures | ||||
|  | ||||
| @ -134,7 +134,7 @@ if(CMAKE_Swift_COMPILATION_MODE_DEFAULT) | ||||
|   endif() | ||||
| 
 | ||||
|   if(NOT CMAKE_Swift_CREATE_SHARED_LIBRARY) | ||||
|     set(CMAKE_Swift_CREATE_SHARED_LIBRARY "<CMAKE_Swift_COMPILER> ${CMAKE_Swift_PARALLEL_FLAGS} -emit-library <CMAKE_SHARED_LIBRARY_Swift_FLAGS> <LANGUAGE_COMPILE_FLAGS> <LINK_FLAGS> ${CMAKE_Swift_IMPLIB_LINKER_FLAGS} <SONAME_FLAG> <TARGET_SONAME> -o <TARGET> <OBJECTS> <LINK_LIBRARIES>") | ||||
|     set(CMAKE_Swift_CREATE_SHARED_LIBRARY "<CMAKE_Swift_COMPILER> ${CMAKE_Swift_PARALLEL_FLAGS} -emit-library <CMAKE_SHARED_LIBRARY_Swift_FLAGS> <LANGUAGE_COMPILE_FLAGS> <LINK_FLAGS> ${CMAKE_Swift_IMPLIB_LINKER_FLAGS} <SONAME_FLAG> <TARGET_INSTALLNAME_DIR><TARGET_SONAME> -o <TARGET> <OBJECTS> <LINK_LIBRARIES>") | ||||
|   endif() | ||||
| 
 | ||||
|   if(NOT CMAKE_Swift_CREATE_SHARED_MODULE) | ||||
|  | ||||
| @ -1495,10 +1495,10 @@ function(_ep_add_update_command name) | ||||
|       set(svn_interactive_args "--non-interactive") | ||||
|     endif() | ||||
|     set(svn_user_pw_args "") | ||||
|     if(DEFINED svn_username) | ||||
|     if(DEFINED _EP_SVN_USERNAME) | ||||
|       set(svn_user_pw_args ${svn_user_pw_args} "--username=${svn_username}") | ||||
|     endif() | ||||
|     if(DEFINED svn_password) | ||||
|     if(DEFINED _EP_SVN_PASSWORD) | ||||
|       set(svn_user_pw_args ${svn_user_pw_args} "--password=${svn_password}") | ||||
|     endif() | ||||
|     if(svn_trust_cert) | ||||
| @ -1535,6 +1535,12 @@ function(_ep_add_update_command name) | ||||
|     set(comment "Performing update step for '${name}'") | ||||
|     set(comment_disconnected "Performing disconnected update step for '${name}'") | ||||
| 
 | ||||
|     if(update_disconnected) | ||||
|       set(can_fetch_default NO) | ||||
|     else() | ||||
|       set(can_fetch_default YES) | ||||
|     endif() | ||||
| 
 | ||||
|     set(git_tag "${_EP_GIT_TAG}") | ||||
|     if(NOT git_tag) | ||||
|       set(git_tag "master") | ||||
| @ -1602,11 +1608,6 @@ function(_ep_add_update_command name) | ||||
|     set(always 1) | ||||
| 
 | ||||
|     if(arg_SCRIPT_FILE) | ||||
|       if(update_disconnected) | ||||
|         set(can_fetch_default NO) | ||||
|       else() | ||||
|         set(can_fetch_default YES) | ||||
|       endif() | ||||
|       set(step_script_contents "include(\"${update_script}\")") | ||||
|     endif() | ||||
| 
 | ||||
|  | ||||
| @ -904,7 +904,7 @@ function (_PYTHON_VALIDATE_INTERPRETER) | ||||
|     # interpreter does not exist anymore | ||||
|     set_property (CACHE _${_PYTHON_PREFIX}_Interpreter_REASON_FAILURE PROPERTY VALUE "Cannot find the interpreter \"${_${_PYTHON_PREFIX}_EXECUTABLE}\"") | ||||
|     set_property (CACHE _${_PYTHON_PREFIX}_EXECUTABLE PROPERTY VALUE "${_PYTHON_PREFIX}_EXECUTABLE-NOTFOUND") | ||||
|     if (WIN32) | ||||
|     if (WIN32 AND DEFINED CACHE{_${_PYTHON_PREFIX}_EXECUTABLE_DEBUG}) | ||||
|       set_property (CACHE _${_PYTHON_PREFIX}_EXECUTABLE_DEBUG PROPERTY VALUE "${_PYTHON_PREFIX}_EXECUTABLE_DEBUG-NOTFOUND") | ||||
|     endif() | ||||
|     return() | ||||
| @ -935,7 +935,7 @@ function (_PYTHON_VALIDATE_INTERPRETER) | ||||
|       # interpreter is not usable | ||||
|       set_property (CACHE _${_PYTHON_PREFIX}_Interpreter_REASON_FAILURE PROPERTY VALUE "Cannot use the interpreter \"${_${_PYTHON_PREFIX}_EXECUTABLE}\"") | ||||
|       set_property (CACHE _${_PYTHON_PREFIX}_EXECUTABLE PROPERTY VALUE "${_PYTHON_PREFIX}_EXECUTABLE-NOTFOUND") | ||||
|       if (WIN32) | ||||
|       if (WIN32 AND DEFINED CACHE{_${_PYTHON_PREFIX}_EXECUTABLE_DEBUG}) | ||||
|         set_property (CACHE _${_PYTHON_PREFIX}_EXECUTABLE_DEBUG PROPERTY VALUE "${_PYTHON_PREFIX}_EXECUTABLE_DEBUG-NOTFOUND") | ||||
|       endif() | ||||
|       return() | ||||
| @ -963,6 +963,9 @@ function (_PYTHON_VALIDATE_INTERPRETER) | ||||
|         # interpreter has wrong version | ||||
|         set_property (CACHE _${_PYTHON_PREFIX}_Interpreter_REASON_FAILURE PROPERTY VALUE "Wrong version for the interpreter \"${_${_PYTHON_PREFIX}_EXECUTABLE}\"") | ||||
|         set_property (CACHE _${_PYTHON_PREFIX}_EXECUTABLE PROPERTY VALUE "${_PYTHON_PREFIX}_EXECUTABLE-NOTFOUND") | ||||
|         if (WIN32 AND DEFINED CACHE{_${_PYTHON_PREFIX}_EXECUTABLE_DEBUG}) | ||||
|           set_property (CACHE _${_PYTHON_PREFIX}_EXECUTABLE_DEBUG PROPERTY VALUE "${_PYTHON_PREFIX}_EXECUTABLE_DEBUG-NOTFOUND") | ||||
|         endif() | ||||
|         return() | ||||
|       else() | ||||
|         # check that version is OK | ||||
| @ -972,6 +975,9 @@ function (_PYTHON_VALIDATE_INTERPRETER) | ||||
|             OR NOT version VERSION_GREATER_EQUAL _PVI_VERSION) | ||||
|           set_property (CACHE _${_PYTHON_PREFIX}_Interpreter_REASON_FAILURE PROPERTY VALUE "Wrong version for the interpreter \"${_${_PYTHON_PREFIX}_EXECUTABLE}\"") | ||||
|           set_property (CACHE _${_PYTHON_PREFIX}_EXECUTABLE PROPERTY VALUE "${_PYTHON_PREFIX}_EXECUTABLE-NOTFOUND") | ||||
|           if (WIN32 AND DEFINED CACHE{_${_PYTHON_PREFIX}_EXECUTABLE_DEBUG}) | ||||
|             set_property (CACHE _${_PYTHON_PREFIX}_EXECUTABLE_DEBUG PROPERTY VALUE "${_PYTHON_PREFIX}_EXECUTABLE_DEBUG-NOTFOUND") | ||||
|           endif() | ||||
|           return() | ||||
|         endif() | ||||
|       endif() | ||||
| @ -984,6 +990,9 @@ function (_PYTHON_VALIDATE_INTERPRETER) | ||||
|         # interpreter has invalid version | ||||
|         set_property (CACHE _${_PYTHON_PREFIX}_Interpreter_REASON_FAILURE PROPERTY VALUE "Wrong version for the interpreter \"${_${_PYTHON_PREFIX}_EXECUTABLE}\"") | ||||
|         set_property (CACHE _${_PYTHON_PREFIX}_EXECUTABLE PROPERTY VALUE "${_PYTHON_PREFIX}_EXECUTABLE-NOTFOUND") | ||||
|         if (WIN32 AND DEFINED CACHE{_${_PYTHON_PREFIX}_EXECUTABLE_DEBUG}) | ||||
|           set_property (CACHE _${_PYTHON_PREFIX}_EXECUTABLE_DEBUG PROPERTY VALUE "${_PYTHON_PREFIX}_EXECUTABLE_DEBUG-NOTFOUND") | ||||
|         endif() | ||||
|         return() | ||||
|       endif() | ||||
|     endif() | ||||
| @ -1006,6 +1015,9 @@ function (_PYTHON_VALIDATE_INTERPRETER) | ||||
|           set_property (CACHE _${_PYTHON_PREFIX}_Interpreter_REASON_FAILURE PROPERTY VALUE "Wrong major version for the interpreter \"${_${_PYTHON_PREFIX}_EXECUTABLE}\"") | ||||
|         endif() | ||||
|         set_property (CACHE _${_PYTHON_PREFIX}_EXECUTABLE PROPERTY VALUE "${_PYTHON_PREFIX}_EXECUTABLE-NOTFOUND") | ||||
|         if (WIN32 AND DEFINED CACHE{_${_PYTHON_PREFIX}_EXECUTABLE_DEBUG}) | ||||
|           set_property (CACHE _${_PYTHON_PREFIX}_EXECUTABLE_DEBUG PROPERTY VALUE "${_PYTHON_PREFIX}_EXECUTABLE_DEBUG-NOTFOUND") | ||||
|         endif() | ||||
|         return() | ||||
|       endif() | ||||
|     endif() | ||||
| @ -1030,6 +1042,9 @@ function (_PYTHON_VALIDATE_INTERPRETER) | ||||
|         set_property (CACHE _${_PYTHON_PREFIX}_Interpreter_REASON_FAILURE PROPERTY VALUE "Wrong architecture for the interpreter \"${_${_PYTHON_PREFIX}_EXECUTABLE}\"") | ||||
|       endif() | ||||
|       set_property (CACHE _${_PYTHON_PREFIX}_EXECUTABLE PROPERTY VALUE "${_PYTHON_PREFIX}_EXECUTABLE-NOTFOUND") | ||||
|       if (WIN32 AND DEFINED CACHE{_${_PYTHON_PREFIX}_EXECUTABLE_DEBUG}) | ||||
|         set_property (CACHE _${_PYTHON_PREFIX}_EXECUTABLE_DEBUG PROPERTY VALUE "${_PYTHON_PREFIX}_EXECUTABLE_DEBUG-NOTFOUND") | ||||
|       endif() | ||||
|       return() | ||||
|     endif() | ||||
| 
 | ||||
| @ -1056,6 +1071,9 @@ function (_PYTHON_VALIDATE_INTERPRETER) | ||||
|           set_property (CACHE _${_PYTHON_PREFIX}_Interpreter_REASON_FAILURE PROPERTY VALUE "Wrong architecture for the interpreter \"${_${_PYTHON_PREFIX}_EXECUTABLE}\"") | ||||
|         endif() | ||||
|         set_property (CACHE _${_PYTHON_PREFIX}_EXECUTABLE PROPERTY VALUE "${_PYTHON_PREFIX}_EXECUTABLE-NOTFOUND") | ||||
|         if (WIN32 AND DEFINED CACHE{_${_PYTHON_PREFIX}_EXECUTABLE_DEBUG}) | ||||
|           set_property (CACHE _${_PYTHON_PREFIX}_EXECUTABLE_DEBUG PROPERTY VALUE "${_PYTHON_PREFIX}_EXECUTABLE_DEBUG-NOTFOUND") | ||||
|         endif() | ||||
|         return() | ||||
|       endif() | ||||
|     endif() | ||||
|  | ||||
| @ -1,7 +1,7 @@ | ||||
| # CMake version number components. | ||||
| set(CMake_VERSION_MAJOR 3) | ||||
| set(CMake_VERSION_MINOR 30) | ||||
| set(CMake_VERSION_PATCH 1) | ||||
| set(CMake_VERSION_PATCH 2) | ||||
| #set(CMake_VERSION_RC 0) | ||||
| set(CMake_VERSION_IS_DIRTY 0) | ||||
| 
 | ||||
| @ -21,7 +21,7 @@ endif() | ||||
| 
 | ||||
| if(NOT CMake_VERSION_NO_GIT) | ||||
|   # If this source was exported by 'git archive', use its commit info. | ||||
|   set(git_info [==[cd386f6425 CMake 3.30.1]==]) | ||||
|   set(git_info [==[d88682dff6 CMake 3.30.2]==]) | ||||
| 
 | ||||
|   # Otherwise, try to identify the current development source version. | ||||
|   if(NOT git_info MATCHES "^([0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f]?[0-9a-f]?)[0-9a-f]* " | ||||
|  | ||||
| @ -15,6 +15,7 @@ | ||||
| 
 | ||||
| #include "cmCPackComponentGroup.h" | ||||
| #include "cmCPackLog.h" | ||||
| #include "cmGeneratedFileStream.h" | ||||
| #include "cmList.h" | ||||
| #include "cmMakefile.h" | ||||
| #include "cmSystemTools.h" | ||||
| @ -48,7 +49,8 @@ int cmCPackExternalGenerator::PackageFiles() | ||||
|     filename = this->packageFileNames[0]; | ||||
|   } | ||||
| 
 | ||||
|   cmsys::ofstream fout(filename.c_str()); | ||||
|   { | ||||
|     cmGeneratedFileStream fout(filename); | ||||
|     std::unique_ptr<Json::StreamWriter> jout(builder.newStreamWriter()); | ||||
| 
 | ||||
|     Json::Value root(Json::objectValue); | ||||
| @ -60,6 +62,7 @@ int cmCPackExternalGenerator::PackageFiles() | ||||
|     if (jout->write(root, &fout)) { | ||||
|       return 0; | ||||
|     } | ||||
|   } | ||||
| 
 | ||||
|   cmValue packageScript = this->GetOption("CPACK_EXTERNAL_PACKAGE_SCRIPT"); | ||||
|   if (cmNonempty(packageScript)) { | ||||
|  | ||||
| @ -307,6 +307,7 @@ if(BUILD_TESTING) | ||||
|       execute_process( | ||||
|         COMMAND xcodebuild -version | ||||
|         OUTPUT_VARIABLE _version | ||||
|         ERROR_VARIABLE _stderr | ||||
|         RESULT_VARIABLE _failed | ||||
|         ) | ||||
|       if(NOT _failed AND _version MATCHES "^Xcode ([0-9]+(\\.[0-9]+)*)") | ||||
|  | ||||
| @ -0,0 +1,13 @@ | ||||
| .*swiftc(.exe)? [^ | ||||
| ]* -parse-as-library -static -emit-module [^ | ||||
| ]* -module-name StaticLibrary [^ | ||||
| ]* | ||||
| .*swiftc(.exe)? [^ | ||||
| ]* -parse-as-library -emit-module [^ | ||||
| ]* -module-name DynamicLibrary [^ | ||||
| ]* | ||||
| .*swiftc(.exe)? [^ | ||||
| ]* -emit-library [^ | ||||
| ]* -Xlinker -install_name -Xlinker @rpath/libDynamicLibrary.dylib -o ([A-Za-z]+/)?libDynamicLibrary.dylib [^ | ||||
| ]* | ||||
| .*swiftc(.exe)? -j [0-9]+ -num-threads [0-9]+ -c  -module-name Executable | ||||
| @ -0,0 +1,13 @@ | ||||
| .*swiftc(.exe)? [^ | ||||
| ]* -parse-as-library -static -emit-module [^ | ||||
| ]* -module-name StaticLibrary [^ | ||||
| ]* | ||||
| .*swiftc(.exe)? [^ | ||||
| ]* -parse-as-library -emit-module [^ | ||||
| ]* -module-name DynamicLibrary [^ | ||||
| ]* | ||||
| .*swiftc(.exe)? [^ | ||||
| ]* -emit-library [^ | ||||
| ]* -Xlinker -implib:DynamicLibrary.lib +-o ([A-Za-z]+/)?DynamicLibrary.dll [^ | ||||
| ]* | ||||
| .*swiftc(.exe)? -j [0-9]+ -num-threads [0-9]+ -c  -module-name Executable | ||||
| @ -1,5 +1,13 @@ | ||||
| .*swiftc(.exe)? .* -parse-as-library -static -emit-module .* -module-name StaticLibrary [^ | ||||
| .*swiftc(.exe)? [^ | ||||
| ]* -parse-as-library -static -emit-module [^ | ||||
| ]* -module-name StaticLibrary [^ | ||||
| ]* | ||||
| .*swiftc(.exe)? .* -parse-as-library -emit-module .* -module-name DynamicLibrary [^ | ||||
| .*swiftc(.exe)? [^ | ||||
| ]* -parse-as-library -emit-module [^ | ||||
| ]* -module-name DynamicLibrary [^ | ||||
| ]* | ||||
| .*swiftc(.exe)? .* -j [0-9]* -num-threads [0-9]* -c  -module-name Executable | ||||
| .*swiftc(.exe)? [^ | ||||
| ]* -emit-library [^ | ||||
| ]* -Xlinker -soname -Xlinker libDynamicLibrary.so -o ([A-Za-z]+/)?libDynamicLibrary.so [^ | ||||
| ]* | ||||
| .*swiftc(.exe)? -j [0-9]+ -num-threads [0-9]+ -c  -module-name Executable | ||||
|  | ||||
| @ -6,6 +6,7 @@ enable_language(Swift) | ||||
| 
 | ||||
| add_library(StaticLibrary STATIC L.swift) | ||||
| add_library(DynamicLibrary SHARED L.swift) | ||||
| set_target_properties(DynamicLibrary PROPERTIES INSTALL_NAME_DIR "@rpath") | ||||
| add_executable(Executable E.swift) | ||||
| 
 | ||||
| add_dependencies(DynamicLibrary StaticLibrary) | ||||
|  | ||||
							
								
								
									
										1
									
								
								Tests/RunCMake/XcodeProject/ArchsStandard-stdout.txt
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								Tests/RunCMake/XcodeProject/ArchsStandard-stdout.txt
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1 @@ | ||||
| -- Detecting C compiler ABI info - done | ||||
							
								
								
									
										4
									
								
								Tests/RunCMake/XcodeProject/ArchsStandard.cmake
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										4
									
								
								Tests/RunCMake/XcodeProject/ArchsStandard.cmake
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,4 @@ | ||||
| if(NOT CMAKE_OSX_ARCHITECTURES STREQUAL "$(ARCHS_STANDARD)") | ||||
|   message(FATAL_ERROR "CMAKE_OSX_ARCHITECTURES is not $(ARCHS_STANDARD)") | ||||
| endif() | ||||
| enable_language(C) | ||||
| @ -9,6 +9,8 @@ function(RunClean) | ||||
| endfunction() | ||||
| RunClean() | ||||
| 
 | ||||
| run_cmake_with_options(ArchsStandard "-DCMAKE_OSX_ARCHITECTURES=$(ARCHS_STANDARD)") | ||||
| 
 | ||||
| run_cmake(ExplicitCMakeLists) | ||||
| run_cmake(ImplicitCMakeLists) | ||||
| run_cmake(InterfaceLibSources) | ||||
|  | ||||
| @ -1 +1 @@ | ||||
| -- status='6;"Couldn't resolve host name"' | ||||
| -- status='6;"(Could not resolve hostname|Couldn't resolve host name)"' | ||||
|  | ||||
| @ -1811,7 +1811,7 @@ else | ||||
|     cmake_c_flags="${cmake_c_flags} ${use_uv_flags}" | ||||
|     cmake_cxx_flags="${cmake_cxx_flags} ${use_uv_flags}" | ||||
|   else | ||||
|     use_librhash_ldflags="-luv" | ||||
|     use_uv_ldflags="-luv" | ||||
|   fi | ||||
|   libs="${libs} ${use_uv_ldflags}" | ||||
| fi | ||||
| @ -1838,7 +1838,7 @@ else | ||||
|     use_jsoncpp_ldflags="`pkg-config --libs jsoncpp`" | ||||
|     cmake_cxx_flags="${cmake_cxx_flags} ${use_jsoncpp_flags}" | ||||
|   else | ||||
|     use_librhash_ldflags="-ljsoncpp" | ||||
|     use_jsoncpp_ldflags="-ljsoncpp" | ||||
|   fi | ||||
|   libs="${libs} ${use_jsoncpp_ldflags}" | ||||
| fi | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user