From ab4336f7b76bdf6b300c6063259cd64c40b63c58 Mon Sep 17 00:00:00 2001 From: Drew Risinger Date: Mon, 6 Apr 2020 12:03:07 -0400 Subject: [PATCH] python3Packages.qiskit-aer: only enable on x86_64 Build was failing on ofborg on platforms.aarch64 due to missing muparserx library built for aarch64. Added notes about this issue & when build could be expanded. --- pkgs/development/python-modules/qiskit-aer/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/development/python-modules/qiskit-aer/default.nix b/pkgs/development/python-modules/qiskit-aer/default.nix index e4b4d87c11b2..7c36328f557b 100644 --- a/pkgs/development/python-modules/qiskit-aer/default.nix +++ b/pkgs/development/python-modules/qiskit-aer/default.nix @@ -95,5 +95,9 @@ buildPythonPackage rec { homepage = "https://github.com/QISKit/qiskit-aer"; license = licenses.asl20; maintainers = with maintainers; [ drewrisinger ]; + # Doesn't build on aarch64 (libmuparserx issue). + # Can fix by building muparserx from source (https://github.com/beltoforion/muparserx) + # or in future updates (e.g. Raspberry Pi enabled via https://github.com/Qiskit/qiskit-aer/pull/651 & https://github.com/Qiskit/qiskit-aer/pull/660) + platforms = platforms.x86_64; }; }