[Git][haskell-team/DHG_packages][master] lukko: Disable OFD locking on non 64-bit

Ilias Tsitsimpis (@iliastsi) gitlab at salsa.debian.org
Wed Aug 24 11:09:08 BST 2022



Ilias Tsitsimpis pushed to branch master at Debian Haskell Group / DHG_packages


Commits:
32790def by Ilias Tsitsimpis at 2022-08-24T13:01:32+03:00
lukko: Disable OFD locking on non 64-bit

- - - - -


2 changed files:

- p/haskell-lukko/debian/changelog
- p/haskell-lukko/debian/rules


Changes:

=====================================
p/haskell-lukko/debian/changelog
=====================================
@@ -1,3 +1,9 @@
+haskell-lukko (0.1.1.3-3) unstable; urgency=medium
+
+  * Disable OFD locking on non 64-bit architectures.
+
+ -- Ilias Tsitsimpis <iliastsi at debian.org>  Wed, 24 Aug 2022 13:01:29 +0300
+
 haskell-lukko (0.1.1.3-2) unstable; urgency=medium
 
   * Gratuitous post-NEW source upload.


=====================================
p/haskell-lukko/debian/rules
=====================================
@@ -1,9 +1,12 @@
 #!/usr/bin/make -f
 
 DEB_ENABLE_TESTS = yes
-DEB_SETUP_BIN_NAME = debian/hlibrary.setup
-DEB_CABAL_PACKAGE = lukko
-DEB_DEFAULT_COMPILER = ghc
+
+ifneq ("$(DEB_HOST_ARCH_BITS)","64")
+	# Disable OFD locking, which works only on 64-bit platforms
+	# see https://github.com/haskellari/lukko/issues/15
+	DEB_SETUP_GHC_CONFIGURE_ARGS += -f-ofd-locking
+endif
 
 include /usr/share/cdbs/1/rules/debhelper.mk
 include /usr/share/cdbs/1/class/hlibrary.mk



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

-- 
View it on GitLab: https://salsa.debian.org/haskell-team/DHG_packages/-/commit/32790def818481da73e6b4e40ced930da4976649
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/20220824/870ea16e/attachment-0001.htm>


More information about the Pkg-haskell-commits mailing list