From 1bfd00e2f816e31ae75991eab09921665aa2282c Mon Sep 17 00:00:00 2001 From: Daniel Garvey <34486624+dan-garvey@users.noreply.github.com> Date: Thu, 25 Aug 2022 18:52:00 -0500 Subject: [PATCH] fixes an install issue (#295) --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index cbe78c14ce..0fe80ff09b 100644 --- a/setup.py +++ b/setup.py @@ -8,7 +8,7 @@ PACKAGE_VERSION = os.environ.get("SHARK_PACKAGE_VERSION") or "0.0.4" backend_deps = [] -if os.environ["NO_BACKEND"] is None: +if "NO_BACKEND" in os.environ.keys(): backend_deps = [ "iree-compiler>=20220427.13", "iree-runtime>=20220427.13",