mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-07-07 17:00:32 +02:00
cmake: Remove ENABLE_ARM_SHANI
from bitcoin-build-config.h
`ENABLE_ARM_SHANI` is already conditionally defined for the `bitcoin_crypto` target, so defining it in `bitcoin-build-config.h` is redundant.
This commit is contained in:
@ -29,9 +29,6 @@
|
|||||||
/* Copyright year */
|
/* Copyright year */
|
||||||
#define COPYRIGHT_YEAR @COPYRIGHT_YEAR@
|
#define COPYRIGHT_YEAR @COPYRIGHT_YEAR@
|
||||||
|
|
||||||
/* Define this symbol to build code that uses ARMv8 SHA-NI intrinsics */
|
|
||||||
#cmakedefine ENABLE_ARM_SHANI 1
|
|
||||||
|
|
||||||
/* Define if external signer support is enabled */
|
/* Define if external signer support is enabled */
|
||||||
#cmakedefine ENABLE_EXTERNAL_SIGNER 1
|
#cmakedefine ENABLE_EXTERNAL_SIGNER 1
|
||||||
|
|
||||||
|
@ -217,5 +217,4 @@ if(NOT MSVC)
|
|||||||
" HAVE_ARM_SHANI
|
" HAVE_ARM_SHANI
|
||||||
CXXFLAGS ${ARM_SHANI_CXXFLAGS}
|
CXXFLAGS ${ARM_SHANI_CXXFLAGS}
|
||||||
)
|
)
|
||||||
set(ENABLE_ARM_SHANI ${HAVE_ARM_SHANI})
|
|
||||||
endif()
|
endif()
|
||||||
|
@ -2,8 +2,6 @@
|
|||||||
// Distributed under the MIT software license, see the accompanying
|
// Distributed under the MIT software license, see the accompanying
|
||||||
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
||||||
|
|
||||||
#include <bitcoin-build-config.h> // IWYU pragma: keep
|
|
||||||
|
|
||||||
#include <crypto/sha256.h>
|
#include <crypto/sha256.h>
|
||||||
#include <crypto/common.h>
|
#include <crypto/common.h>
|
||||||
|
|
||||||
|
@ -614,12 +614,7 @@ fn lint_includes_build_config() -> LintResult {
|
|||||||
"*.cpp",
|
"*.cpp",
|
||||||
"*.h",
|
"*.h",
|
||||||
])
|
])
|
||||||
.args(get_pathspecs_default_excludes())
|
.args(get_pathspecs_default_excludes()),
|
||||||
.args([
|
|
||||||
// These are exceptions which don't use bitcoin-build-config.h, rather CMakeLists.txt adds
|
|
||||||
// these cppflags manually.
|
|
||||||
":(exclude)src/crypto/sha256_arm_shani.cpp",
|
|
||||||
]),
|
|
||||||
)
|
)
|
||||||
.expect("grep failed");
|
.expect("grep failed");
|
||||||
git()
|
git()
|
||||||
|
Reference in New Issue
Block a user