python,python3: remove `--ignore-installed` flag for host packages 6053/head
authorAlexandru Ardelean <ardeleanalex@gmail.com>
Mon, 14 May 2018 09:08:46 +0000 (12:08 +0300)
committerAlexandru Ardelean <ardeleanalex@gmail.com>
Mon, 14 May 2018 09:11:00 +0000 (12:11 +0300)
This was copied over from python-packages, when support for installing
packages host-side (via pip) was added.

Based on the discussion on this commit:
  https://github.com/openwrt/packages/commit/612c53fc6c3d9ba2a57f7329baf055f1d59a9246
it was mentioned that removing this may add more benefit in terms of
reducing build time, because packages won't get reinstalled every time.

I'm not entirely sure about any potential side-effects of this, but it's
worth trying it out.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
lang/python/python-host.mk
lang/python/python3-host.mk

index d4dc81fa9123908899226bbdeed5e37b82b1a468..eb58c557ef9b5b62e9208976bb016f58ae4da1ee 100644 (file)
@@ -76,7 +76,6 @@ define host_python_pip_install
        $(HOST_PYTHON_PIP) install \
                --root=$(1) \
                --prefix=$(2) \
-               --ignore-installed \
                $(3)
 endef
 
index 2a418d50430933a8f61ccc47cd09f227ed2b553a..71ae09362548d6cfa61b2534c2a475ed0f96eb91 100644 (file)
@@ -76,7 +76,6 @@ define host_python3_pip_install
        $(HOST_PYTHON3_PIP) install \
                --root=$(1) \
                --prefix=$(2) \
-               --ignore-installed \
                $(3)
 endef