Skip to content

Commit ddea2f4

Browse files
hrwyoctozepto
authored andcommitted
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 (cherry picked from commit 9bad71d) (cherry picked from commit 858c274)
1 parent 2c8ea03 commit ddea2f4

File tree

1 file changed

+0
-20
lines changed

1 file changed

+0
-20
lines changed

docker/gnocchi/gnocchi-base/Dockerfile.j2

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -52,16 +52,6 @@ RUN {{ macros.install_pip(gnocchi_base_pip_packages | customizable("pip_packages
5252
'librados2-devel',
5353
] %}
5454

55-
# on x86-64 pip grabs precompiled numpy/scipy - on aarch64/ppc64le
56-
# it needs to be built
57-
58-
{% if base_arch != 'x86_64' %}
59-
{% set gnocchi_base_packages = gnocchi_base_packages + [
60-
'blas-devel',
61-
'lapack-devel'
62-
] %}
63-
{% endif %}
64-
6555
{{ macros.install_packages(gnocchi_base_packages | customizable("packages")) }}
6656
RUN mkdir -p /var/www/cgi-bin/gnocchi
6757
{% elif base_package_type == 'deb' %}
@@ -70,16 +60,6 @@ RUN mkdir -p /var/www/cgi-bin/gnocchi
7060
'librados-dev',
7161
] %}
7262

73-
# on x86-64 pip grabs precompiled numpy/scipy - on aarch64/ppc64le
74-
# it needs to be built
75-
76-
{% if base_arch != 'x86_64' %}
77-
{% set gnocchi_base_packages = gnocchi_base_packages + [
78-
'libblas-dev',
79-
'liblapack-dev'
80-
] %}
81-
{% endif %}
82-
8363
{{ macros.install_packages(gnocchi_base_packages | customizable("packages")) }}
8464

8565
{% endif %}

0 commit comments

Comments
 (0)