Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit ee7ba53

Browse filesBrowse files
gh-116116: Backport blake2 change to fix building with clang-cl on windows-i686 (GH-116117)
(cherry picked from commit 9b9e819) Co-authored-by: Yuriy Chernyshov <thegeorg@yandex-team.com>
1 parent 0a9356c commit ee7ba53
Copy full SHA for ee7ba53

File tree

Expand file treeCollapse file tree

4 files changed

+8
-6
lines changed
Filter options
Expand file treeCollapse file tree

4 files changed

+8
-6
lines changed
+2Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
Backport ``libb2``'s PR #42 to fix compiling CPython on 32-bit Windows
2+
with ``clang-cl``.

‎Misc/sbom.spdx.json

Copy file name to clipboardExpand all lines: Misc/sbom.spdx.json
+4-4Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎Modules/_blake2/impl/blake2b.c

Copy file name to clipboardExpand all lines: Modules/_blake2/impl/blake2b.c
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
#if defined(HAVE_SSE2)
2828
#include <emmintrin.h>
2929
// MSVC only defines _mm_set_epi64x for x86_64...
30-
#if defined(_MSC_VER) && !defined(_M_X64)
30+
#if defined(_MSC_VER) && !defined(_M_X64) && !defined(__clang__)
3131
static inline __m128i _mm_set_epi64x( const uint64_t u1, const uint64_t u0 )
3232
{
3333
return _mm_set_epi32( u1 >> 32, u1, u0 >> 32, u0 );

‎Modules/_blake2/impl/blake2s.c

Copy file name to clipboardExpand all lines: Modules/_blake2/impl/blake2s.c
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
#if defined(HAVE_SSE2)
2828
#include <emmintrin.h>
2929
// MSVC only defines _mm_set_epi64x for x86_64...
30-
#if defined(_MSC_VER) && !defined(_M_X64)
30+
#if defined(_MSC_VER) && !defined(_M_X64) && !defined(__clang__)
3131
static inline __m128i _mm_set_epi64x( const uint64_t u1, const uint64_t u0 )
3232
{
3333
return _mm_set_epi32( u1 >> 32, u1, u0 >> 32, u0 );

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.