mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-09-19 10:51:01 +03:00
fix svt-av1 build on windows, benchmark
Signed-off-by: 21pages <sunboeasy@gmail.com>
This commit is contained in:
@@ -1,10 +1,7 @@
|
||||
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||
index c0c9767..93ec320 100644
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -192,7 +192,7 @@ set(PC_LIBS_PRIVATE)
|
||||
set(PC_REQUIRES_PRIVATE)
|
||||
|
||||
@@ -194,5 +194,5 @@
|
||||
#Clang support, required to build static with LTO
|
||||
-if(CMAKE_C_COMPILER_ID MATCHES "Clang" AND UNIX AND NOT APPLE)
|
||||
+if(FALSE)
|
||||
|
||||
@@ -1,11 +1,7 @@
|
||||
diff --git a/Source/Lib/ASM_AVX2/synonyms_avx2.h b/Source/Lib/ASM_AVX2/synonyms_avx2.h
|
||||
index f615e2569..9a7667724 100644
|
||||
--- a/Source/Lib/ASM_AVX2/synonyms_avx2.h
|
||||
+++ b/Source/Lib/ASM_AVX2/synonyms_avx2.h
|
||||
@@ -75,7 +75,13 @@ static INLINE __m256i yy_loadu2_128(const void *hi, const void *lo) {
|
||||
return yy_set_m128i(mhi, mlo);
|
||||
}
|
||||
|
||||
@@ -86,3 +86,9 @@
|
||||
-static INLINE __m256i yy_unpacklo_epi128(const __m256i in0, const __m256i in1) {
|
||||
+#if defined(_MSC_VER) && _MSC_VER >= 1950
|
||||
+#define MAYBE_INLINE NOINLINE
|
||||
@@ -16,4 +12,3 @@ index f615e2569..9a7667724 100644
|
||||
+static MAYBE_INLINE __m256i yy_unpacklo_epi128(const __m256i in0, const __m256i in1) {
|
||||
return _mm256_inserti128_si256(in0, _mm256_castsi256_si128(in1), 1);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user