File: undefined_references.patch

package info (click to toggle)
ugene 51.0%2Bdfsg-3
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 125,712 kB
  • sloc: cpp: 637,632; xml: 212,751; ansic: 81,474; javascript: 5,416; sh: 1,204; python: 771; makefile: 36
file content (62 lines) | stat: -rw-r--r-- 2,685 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
Description: removing _neon signatures to avoid build failure on aarch64
Author: Pierre Gruet <pgt@debian.org>
Forwarded: https://github.com/ugeneunipro/ugene/issues/1681
Last-Update: 2024-10-04

--- a/src/libs_3rdparty/samtools/src/samtools_core/htslib/htscodecs/htscodecs/rANS_static32x16pr.h
+++ b/src/libs_3rdparty/samtools/src/samtools_core/htslib/htscodecs/htscodecs/rANS_static32x16pr.h
@@ -145,28 +145,6 @@
 #endif // HAVE_AVX512
 
 //----------------------------------------------------------------------
-// Arm Neon implementation
-#if defined(__ARM_NEON) && defined(__aarch64__)
-unsigned char *rans_compress_O0_32x16_neon(unsigned char *in,
-                                           unsigned int in_size,
-                                           unsigned char *out,
-                                           unsigned int *out_size);
-
-unsigned char *rans_uncompress_O0_32x16_neon(unsigned char *in,
-                                             unsigned int in_size,
-                                             unsigned char *out,
-                                             unsigned int out_sz);
-
-unsigned char *rans_compress_O1_32x16_neon(unsigned char *in,
-                                           unsigned int in_size,
-                                           unsigned char *out,
-                                           unsigned int *out_size);
-
-unsigned char *rans_uncompress_O1_32x16_neon(unsigned char *in,
-                                             unsigned int in_size,
-                                             unsigned char *out,
-                                             unsigned int out_sz);
-#endif // ARM_NEON
 
 #ifdef __cplusplus
 }
--- a/src/libs_3rdparty/samtools/src/samtools_core/htslib/htscodecs/htscodecs/rANS_static4x16pr.c
+++ b/src/libs_3rdparty/samtools/src/samtools_core/htslib/htscodecs/htscodecs/rANS_static4x16pr.c
@@ -1066,11 +1066,6 @@
      unsigned int *out_size) {
 
     if (do_simd) {
-        if ((rans_cpu & RANS_CPU_ENC_NEON) && have_neon())
-            return order & 1
-                ? rans_compress_O1_32x16_neon
-                : rans_compress_O0_32x16_neon;
-        else
             return order & 1
                 ? rans_compress_O1_32x16
                 : rans_compress_O0_32x16;
@@ -1089,11 +1084,6 @@
      unsigned int out_size) {
 
     if (do_simd) {
-        if ((rans_cpu & RANS_CPU_DEC_NEON) && have_neon())
-            return order & 1
-                ? rans_uncompress_O1_32x16_neon
-                : rans_uncompress_O0_32x16_neon;
-        else
             return order & 1
                 ? rans_uncompress_O1_32x16
                 : rans_uncompress_O0_32x16;