Package: libghc-cryptocipher-dev Version: 0.3.5-1+b1 Severity: wishlist Tags: patch
Currently, compiling the haskell-cryptocipher package does not pass any special flags to the configure process. The package contains AES-NI support, but it has to be enabled manually. As per comments on #debian-haskell, I am suggesting enabling "-faesni" on at least amd64 architecture, possibly i686 etc. as well. Included is a patch enabling it on amd64 only. -- System Information: Debian Release: wheezy/sid APT prefers unstable APT policy: (500, 'unstable'), (1, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 3.2.0-3-amd64 (SMP w/4 CPU cores) Locale: LANG=C, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages libghc-cryptocipher-dev depends on: ii ghc [libghc-ghc-prim-dev-0.2.0.0-c2ff6] 7.4.1-4 ii libc6 2.13-35 ii libffi5 3.0.10-3 pn libghc-base-dev-4.5.0.0-40b99 <none> pn libghc-bytestring-dev-0.9.2.1-18f26 <none> ii libghc-cereal-dev [libghc-cereal-dev-0.3.5.2-d8fdf] 0.3.5.2-1 ii libghc-cpu-dev [libghc-cpu-dev-0.1.1-5af4e] 0.1.1-1 ii libghc-crypto-api-dev [libghc-crypto-api-dev-0.10.2-cb4bc] 0.10.2-1+b2 ii libghc-crypto-pubkey-types-dev [libghc-crypto-pubkey-types- 0.1.1-1+b3 ii libghc-primitive-dev [libghc-primitive-dev-0.4.1-50546] 0.4.1-1+b1 ii libghc-tagged-dev [libghc-tagged-dev-0.4.2.1-8a552] 0.4.2.1-1 ii libghc-vector-dev [libghc-vector-dev-0.9.1-5feab] 0.9.1-2+b1 ii libgmp10 2:5.0.5+dfsg-2 libghc-cryptocipher-dev recommends no packages. Versions of packages libghc-cryptocipher-dev suggests: pn libghc-cryptocipher-doc <none> pn libghc-cryptocipher-prof <none> -- no debconf information
--- rules 2012-06-15 11:18:08.000000000 +0300 +++ rules.new 2012-08-28 09:59:08.191268105 +0300 @@ -1,5 +1,11 @@ #!/usr/bin/make -f +DEB_BUILD_ARCH := $(shell dpkg-architecture -qDEB_BUILD_ARCH) + +ifeq ($(DEB_BUILD_ARCH),amd64) + DEB_SETUP_GHC_CONFIGURE_ARGS = -faesni -fbenchmark +endif + DEB_ENABLE_TESTS = yes include /usr/share/cdbs/1/rules/debhelper.mk