Skip to content

Commit a8e2342

Browse files
committed
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.
1 parent af65fd1 commit a8e2342

File tree

3 files changed

+0
-5
lines changed

3 files changed

+0
-5
lines changed

cmake/bitcoin-build-config.h.in

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,6 @@
3838
/* Define if external signer support is enabled */
3939
#cmakedefine ENABLE_EXTERNAL_SIGNER 1
4040

41-
/* Define this symbol to build code that uses SSE4.1 intrinsics */
42-
#cmakedefine ENABLE_SSE41 1
43-
4441
/* Define to 1 to enable tracepoints for Userspace, Statically Defined Tracing
4542
*/
4643
#cmakedefine ENABLE_TRACING 1

cmake/introspection.cmake

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,6 @@ if(NOT MSVC)
170170
" HAVE_SSE41
171171
CXXFLAGS ${SSE41_CXXFLAGS}
172172
)
173-
set(ENABLE_SSE41 ${HAVE_SSE41})
174173

175174
# Check for AVX2 intrinsics.
176175
set(AVX2_CXXFLAGS -mavx -mavx2)

test/lint/test_runner/src/main.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -620,7 +620,6 @@ fn lint_includes_build_config() -> LintResult {
620620
// these cppflags manually.
621621
":(exclude)src/crypto/sha256_arm_shani.cpp",
622622
":(exclude)src/crypto/sha256_avx2.cpp",
623-
":(exclude)src/crypto/sha256_sse41.cpp",
624623
":(exclude)src/crypto/sha256_x86_shani.cpp",
625624
]),
626625
)

0 commit comments

Comments
 (0)