[Git][haskell-team/DHG_packages][master] cryptonite: build arm64 with 64-bit C routines.

Clint Adams gitlab at salsa.debian.org
Mon Apr 23 23:00:46 BST 2018


Clint Adams pushed to branch master at Debian Haskell Group / DHG_packages


Commits:
715bc2d1 by Clint Adams at 2018-04-23T18:00:02-04:00
cryptonite: build arm64 with 64-bit C routines.

- - - - -


3 changed files:

- p/haskell-cryptonite/debian/changelog
- + p/haskell-cryptonite/debian/patches/arm64-is-64bit
- + p/haskell-cryptonite/debian/patches/series


Changes:

=====================================
p/haskell-cryptonite/debian/changelog
=====================================
--- a/p/haskell-cryptonite/debian/changelog
+++ b/p/haskell-cryptonite/debian/changelog
@@ -1,3 +1,9 @@
+haskell-cryptonite (0.25-3) unstable; urgency=medium
+
+  * Build arm64 with 64-bit C routines.
+
+ -- Clint Adams <clint at debian.org>  Mon, 23 Apr 2018 17:59:20 -0400
+
 haskell-cryptonite (0.25-2) unstable; urgency=medium
 
   * Remove spurious build-dep.


=====================================
p/haskell-cryptonite/debian/patches/arm64-is-64bit
=====================================
--- /dev/null
+++ b/p/haskell-cryptonite/debian/patches/arm64-is-64bit
@@ -0,0 +1,20 @@
+--- a/cryptonite.cabal
++++ b/cryptonite.cabal
+@@ -269,7 +269,7 @@
+                    , cbits/decaf/include
+                    , cbits/decaf/p448
+ 
+-  if arch(x86_64)
++  if arch(x86_64) || arch(aarch64)
+     C-sources:         cbits/decaf/p448/arch_ref64/f_impl.c
+                      , cbits/decaf/p448/f_generic.c
+                      , cbits/decaf/p448/f_arithmetic.c
+@@ -292,7 +292,7 @@
+     include-dirs:      cbits/decaf/include/arch_32
+                      , cbits/decaf/p448/arch_32
+ 
+-  if arch(x86_64)
++  if arch(x86_64) || arch(aarch64)
+     C-sources: cbits/curve25519/curve25519-donna-c64.c
+   else
+     C-sources: cbits/curve25519/curve25519-donna.c


=====================================
p/haskell-cryptonite/debian/patches/series
=====================================
--- /dev/null
+++ b/p/haskell-cryptonite/debian/patches/series
@@ -0,0 +1 @@
+arm64-is-64bit



View it on GitLab: https://salsa.debian.org/haskell-team/DHG_packages/commit/715bc2d1653b69ea1da40d0a07132d37a561f5c5

---
View it on GitLab: https://salsa.debian.org/haskell-team/DHG_packages/commit/715bc2d1653b69ea1da40d0a07132d37a561f5c5
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-haskell-commits/attachments/20180423/55202d79/attachment-0001.html>


More information about the Pkg-haskell-commits mailing list