mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-07-17 07:23:05 +02:00
cmake: Remove ENABLE_SSE41
from bitcoin-build-config.h
`ENABLE_SSE41` is already conditionally defined for the `bitcoin_crypto` target, so defining it in `bitcoin-build-config.h` is redundant.
This commit is contained in:
@ -38,9 +38,6 @@
|
|||||||
/* Define if external signer support is enabled */
|
/* Define if external signer support is enabled */
|
||||||
#cmakedefine ENABLE_EXTERNAL_SIGNER 1
|
#cmakedefine ENABLE_EXTERNAL_SIGNER 1
|
||||||
|
|
||||||
/* Define this symbol to build code that uses SSE4.1 intrinsics */
|
|
||||||
#cmakedefine ENABLE_SSE41 1
|
|
||||||
|
|
||||||
/* Define to 1 to enable tracepoints for Userspace, Statically Defined Tracing
|
/* Define to 1 to enable tracepoints for Userspace, Statically Defined Tracing
|
||||||
*/
|
*/
|
||||||
#cmakedefine ENABLE_TRACING 1
|
#cmakedefine ENABLE_TRACING 1
|
||||||
|
@ -170,7 +170,6 @@ if(NOT MSVC)
|
|||||||
" HAVE_SSE41
|
" HAVE_SSE41
|
||||||
CXXFLAGS ${SSE41_CXXFLAGS}
|
CXXFLAGS ${SSE41_CXXFLAGS}
|
||||||
)
|
)
|
||||||
set(ENABLE_SSE41 ${HAVE_SSE41})
|
|
||||||
|
|
||||||
# Check for AVX2 intrinsics.
|
# Check for AVX2 intrinsics.
|
||||||
set(AVX2_CXXFLAGS -mavx -mavx2)
|
set(AVX2_CXXFLAGS -mavx -mavx2)
|
||||||
|
@ -620,7 +620,6 @@ fn lint_includes_build_config() -> LintResult {
|
|||||||
// these cppflags manually.
|
// these cppflags manually.
|
||||||
":(exclude)src/crypto/sha256_arm_shani.cpp",
|
":(exclude)src/crypto/sha256_arm_shani.cpp",
|
||||||
":(exclude)src/crypto/sha256_avx2.cpp",
|
":(exclude)src/crypto/sha256_avx2.cpp",
|
||||||
":(exclude)src/crypto/sha256_sse41.cpp",
|
|
||||||
":(exclude)src/crypto/sha256_x86_shani.cpp",
|
":(exclude)src/crypto/sha256_x86_shani.cpp",
|
||||||
]),
|
]),
|
||||||
)
|
)
|
||||||
|
Reference in New Issue
Block a user