mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-15 08:31:49 +01:00
scripted-diff: Rename CMake helper module
-BEGIN VERIFY SCRIPT- git mv cmake/module/CheckSourceCompilesAndLinks.cmake cmake/module/CheckSourceCompilesWithFlags.cmake sed -i 's|\<CheckSourceCompilesAndLinks\>|CheckSourceCompilesWithFlags|g' $(git grep -l 'CheckSourceCompilesAndLinks') -END VERIFY SCRIPT-
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
# buildsystem.
|
||||
|
||||
include(CheckCXXSourceCompiles)
|
||||
include(CheckSourceCompilesAndLinks)
|
||||
include(CheckSourceCompilesWithFlags)
|
||||
|
||||
# Check for __builtin_prefetch support in the compiler.
|
||||
check_cxx_source_compiles("
|
||||
|
||||
@@ -160,7 +160,7 @@ check_cxx_source_compiles("
|
||||
)
|
||||
|
||||
if(NOT MSVC)
|
||||
include(CheckSourceCompilesAndLinks)
|
||||
include(CheckSourceCompilesWithFlags)
|
||||
|
||||
# Check for SSE4.1 intrinsics.
|
||||
set(SSE41_CXXFLAGS -msse4.1)
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
# Distributed under the MIT software license, see the accompanying
|
||||
# file COPYING or https://opensource.org/license/mit/.
|
||||
|
||||
include(CheckSourceCompilesAndLinks)
|
||||
include(CheckSourceCompilesWithFlags)
|
||||
|
||||
# Check for clmul instructions support.
|
||||
if(MSVC)
|
||||
|
||||
@@ -28,7 +28,7 @@ function(test_append_socket_library target)
|
||||
include(CheckCXXSourceCompiles)
|
||||
check_cxx_source_compiles("${check_socket_source}" IFADDR_LINKS_WITHOUT_LIBSOCKET)
|
||||
if(NOT IFADDR_LINKS_WITHOUT_LIBSOCKET)
|
||||
include(CheckSourceCompilesAndLinks)
|
||||
include(CheckSourceCompilesWithFlags)
|
||||
check_cxx_source_compiles_with_flags("${check_socket_source}" IFADDR_NEEDS_LINK_TO_LIBSOCKET
|
||||
LINK_LIBRARIES socket
|
||||
)
|
||||
@@ -83,7 +83,7 @@ function(test_append_atomic_library target)
|
||||
include(CheckCXXSourceCompiles)
|
||||
check_cxx_source_compiles("${check_atomic_source}" STD_ATOMIC_LINKS_WITHOUT_LIBATOMIC)
|
||||
if(NOT STD_ATOMIC_LINKS_WITHOUT_LIBATOMIC)
|
||||
include(CheckSourceCompilesAndLinks)
|
||||
include(CheckSourceCompilesWithFlags)
|
||||
check_cxx_source_compiles_with_flags("${check_atomic_source}" STD_ATOMIC_NEEDS_LINK_TO_LIBATOMIC
|
||||
LINK_LIBRARIES atomic
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user