gnocchi-base: numpy provides aarch64 binary wheels
There is no need to install libraries to build Numpy as we have binary wheel provided by numpy upstream. Change-Id: I721001f877f6ec2f9a2e425c088a2e22177d2e5b
This commit is contained in:
parent
dccb1a50e8
commit
9bad71d7c3
|
@ -51,16 +51,6 @@ RUN {{ macros.install_pip(gnocchi_base_pip_packages | customizable("pip_packages
|
|||
'librados2-devel',
|
||||
] %}
|
||||
|
||||
# on x86-64 pip grabs precompiled numpy/scipy - on aarch64/ppc64le
|
||||
# it needs to be built
|
||||
|
||||
{% if base_arch != 'x86_64' %}
|
||||
{% set gnocchi_base_packages = gnocchi_base_packages + [
|
||||
'blas-devel',
|
||||
'lapack-devel'
|
||||
] %}
|
||||
{% endif %}
|
||||
|
||||
{{ macros.install_packages(gnocchi_base_packages | customizable("packages")) }}
|
||||
RUN mkdir -p /var/www/cgi-bin/gnocchi
|
||||
{% elif base_package_type == 'deb' %}
|
||||
|
@ -69,16 +59,6 @@ RUN mkdir -p /var/www/cgi-bin/gnocchi
|
|||
'librados-dev',
|
||||
] %}
|
||||
|
||||
# on x86-64 pip grabs precompiled numpy/scipy - on aarch64/ppc64le
|
||||
# it needs to be built
|
||||
|
||||
{% if base_arch != 'x86_64' %}
|
||||
{% set gnocchi_base_packages = gnocchi_base_packages + [
|
||||
'libblas-dev',
|
||||
'liblapack-dev'
|
||||
] %}
|
||||
{% endif %}
|
||||
|
||||
{{ macros.install_packages(gnocchi_base_packages | customizable("packages")) }}
|
||||
|
||||
{% endif %}
|
||||
|
|
Loading…
Reference in New Issue