blob 6c267f5491ab339cfc9dbeacccd08a08f4dba72a 697 bytes (raw)
name: gnu/packages/patches/gmp-arm-neon.patch # note: path name is non-authoritative(*)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
| | Patch to correctly detect the neon architecture for multicore machines;
taken from the trunk of the gmp mercurial repository.
--- gmp-6.0.0.old/config.guess 2014-03-25 15:37:55.000000000 +0100
+++ gmp-6.0.0.new/config.guess 2015-07-03 09:03:15.009942296 +0200
@@ -199,8 +199,9 @@
0xc14) exact_cpu="armcortexr4";; # v7r
0xc15) exact_cpu="armcortexr5";; # v7r
0xc23) exact_cpu="armcortexm3";; # v7m
+ *) exact_cpu=$guess_cpu;;
esac
- exact_cpu="${exact_cpu}`sed -n 's;^Features.*\(neon\).*;\1;p' /proc/cpuinfo 2>/dev/null`"
+ exact_cpu="${exact_cpu}`sed -n 's;^Features.*\(neon\).*;\1;p' /proc/cpuinfo 2>/dev/null | head -n 1 2>/dev/null`"
;;
ia64*-*-*)
|
debug log:
solving 6c267f5 ...
found 6c267f5 in https://yhetil.org/guix-devel/20150703201207.GB26201@debian/
applying [1/1] https://yhetil.org/guix-devel/20150703201207.GB26201@debian/
diff --git a/gnu/packages/patches/gmp-arm-neon.patch b/gnu/packages/patches/gmp-arm-neon.patch
new file mode 100644
index 0000000..6c267f5
1:21: trailing whitespace.
Checking patch gnu/packages/patches/gmp-arm-neon.patch...
Applied patch gnu/packages/patches/gmp-arm-neon.patch cleanly.
warning: 1 line adds whitespace errors.
index at:
100644 6c267f5491ab339cfc9dbeacccd08a08f4dba72a gnu/packages/patches/gmp-arm-neon.patch
(*) Git path names are given by the tree(s) the blob belongs to.
Blobs themselves have no identifier aside from the hash of its contents.^
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).