~ruther/guix-local

9b6ed483955da46ac4027d10fe46381b262ead6f — Brendan Tildesley 3 months ago 3a48bbf
gnu: python-rencode: Prevent native comp.

* gnu/packages/python-xyz.scm (python-rencode):
[arguments]: Remove -march=native and -mfma flags.

Fixes: guix/guix#4440
Change-Id: I6ee16c91f6a34a6af44367bb4136d7e4c0c5f438

Change-Id: I8612f4b2fe78c558eff301b4733db2ac34d16a0e
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
1 files changed, 10 insertions(+), 1 deletions(-)

M gnu/packages/python-xyz.scm
M gnu/packages/python-xyz.scm => gnu/packages/python-xyz.scm +10 -1
@@ 42,7 42,7 @@
;;; Copyright © 2017, 2020, 2021 Roel Janssen <roel@gnu.org>
;;; Copyright © 2017, 2018, 2019 Kei Kebreau <kkebreau@posteo.net>
;;; Copyright © 2017 Rutger Helling <rhelling@mykolab.com>
;;; Copyright © 2017, 2019, 2021 Brendan Tildesley <mail@brendan.scot>
;;; Copyright © 2017, 2019, 2021, 2025 Brendan Tildesley <mail@brendan.scot>
;;; Copyright © 2018 Ethan R. Jones <ethanrjones97@gmail.com
;;; Copyright © 2018 Fis Trivial <ybbs.daans@hotmail.com>
;;; Copyright © 2018 Vijayalakshmi Vedantham <vijimay12@gmail.com>


@@ 25521,6 25521,15 @@ case-folding for case-insensitive matches in Unicode.")
       (sha256
        (base32 "1dicbm8gdii2bjp85s2p4pnclf25k9x4b4kaj80y8ddhh87glrlk"))))
    (build-system pyproject-build-system)
    (arguments
     (list
      #:phases
      #~(modify-phases %standard-phases
          (add-after 'unpack 'disable-native-optimization
            (lambda _
              (substitute* "build.py"
                (("^COMPILE_ARGS.*")
                 "COMPILE_ARGS: list[str] = []\n")))))))
    (native-inputs
     (list python-cython
           python-pytest