-
Notifications
You must be signed in to change notification settings - Fork 23
Conversation
@@ -46,6 +46,9 @@ matrix: | |||
env: | |||
- MB_PYTHON_VERSION=3.7 | |||
- PLAT=i686 | |||
- os: linux | |||
env: | |||
- MB_PYTHON_VERSION=3.8 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you try here to use the manylinux2010 image by adding MB_ML_VER=2010
? In order to use this you will also need to update the multibuild subrepo to the HEAD of the devel branch
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sadly, it failed at the same spot, it cannot find pip
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Did download 2010 however.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The path in the docker image is /opt/python/cp38-cp38
, multibuild expects a m
suffix /opt/python/cp38-cp38m
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I could test locally on ubuntu 18.04 with
##!bash
set -x
REPO_DIR=numpy
# Also see DAILY_COMMIT below
BUILD_COMMIT=master
BUILD_DEPENDS=cython
TEST_DEPENDS=pytest
PLAT=x86_64
UNICODE_WIDTH=32
WHEELHOUSE_UPLOADER_USERNAME=travis-worker
MB_PYTHON_VERSION=3.8
MB_ML_VER=2010
source multibuild/common_utils.sh
source multibuild/travis_steps.sh
before_install
clean_code $REPO_DIR $BUILD_COMMIT
./patch_code.sh $REPO_DIR
if [ "$TRAVIS_OS_NAME" == "linux" ]; then
export CFLAGS=${CFLAGS}" -Wno-sign-compare -Wno-unused-result\
-Wno-strict-aliasing";
fi
build_wheel $REPO_DIR $PLAT
and to debug the docker I added set -x
to the top of multibuild/docker_build_wrap.sh
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What is the difference between a python with and without the m
suffix?
Don't know, but I recall seeing somewhere that the "m" was going away. |
the |
If I locally modify multibuild as per matthew-brett/multibuild#262, I get further, but auditwheel fails, it needs
|
can you update the multibuild subrepo to f0bff09 which will pull in a change to the way it processes the |
Goes further, but shows the same error you found locally.
I wonder if that is a manylinux2010 problem? |
It isn't like NumPy needs gfortran. Maybe BLAS? We can disable the OpenBLAS library and see if that fixes things. |
OpenBLAS needs gfortran. The multilinux2010 docker image has |
I guess we need to build OpenBLAS on manylinux2010 then? Or can we just link the |
Little googling seems to imply that we either need to compile with later fortran or install libgfortran.so.3. Not sure if the wheel will end up containing two fortran libraries if we do that. The best bet would seem to be making OpenBLAS libraries that are compatible with the fortran in manylinux2010 if we move to that. |
we could ask the manylinux2010 people to provide |
it is in the libgfortran-4 rpm |
ISTR that backward compatibility was broken in some gfortran release, although it was claimed at some point that it would be maintained. The safe bet is to use the library that goes with the compiler. |
Adding a pre_build function to create a symbolic link for
|
My machine has
since it is now at version 5. |
Hopefully we can separate between manylinux1 -> manylinux2010 transition (which we should do across the board and not just for 3.8) and this PR. pypa/manylinux#360 to get 3.8 on manylinux1 might be merged soon. |
is that CentOS ? |
Fedora 30. You might try |
pypa/manylinux#360 was merged, can you try removing the |
Seems like the default python3.3 in the docker image is being used. |
Does |
It builds, the wheel is created, but fails at |
xref matthew-brett/trusty#5 for 64-bit builds |
Close/reopen. |
The 64-bit image was updated, the 32-bit still not |
No description provided.