From 1edc86fcf8010794a848221111d4e4c317d9d663 Mon Sep 17 00:00:00 2001 From: Germann Elsa Sylvia Date: Fri, 30 Sep 2022 17:41:22 +0200 Subject: [PATCH] FIX: set BOOST_ROOT for HiQsimulator wheel --- env/merlin/HiQsimulator/packages/py-hiqsimulator/package.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/env/merlin/HiQsimulator/packages/py-hiqsimulator/package.py b/env/merlin/HiQsimulator/packages/py-hiqsimulator/package.py index 5d609ea..7655bd8 100644 --- a/env/merlin/HiQsimulator/packages/py-hiqsimulator/package.py +++ b/env/merlin/HiQsimulator/packages/py-hiqsimulator/package.py @@ -46,6 +46,9 @@ class PyHiqsimulator(PythonPackage): patch('cmake-glog.patch') + def setup_build_environment(self, env): + env.set('BOOST_ROOT', self.spec['boost'].prefix) + def install_options(self, spec, prefix): # FIXME: Add options to pass to setup.py install # FIXME: If not needed, delete this function