Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix CI #169

Merged
merged 23 commits into from
Jul 30, 2024
Merged

fix CI #169

merged 23 commits into from
Jul 30, 2024

Conversation

mattip
Copy link
Collaborator

@mattip mattip commented Jul 26, 2024

Only change CI

@mattip mattip force-pushed the travis branch 3 times, most recently from 6c081a4 to 4f52a35 Compare July 28, 2024 11:51
@mattip
Copy link
Collaborator Author

mattip commented Jul 28, 2024

Inside the aarch64 docker build, musllinux successfully runs to completion but glibc fails to build.

../kernel/arm64/gemv_n_sve.c:43:18: error: ACLE function ‘svcntw’ requires ISA extension ‘sve’
    43 | #define SV_COUNT svcntw
       |                  ^~~~~~
 ../kernel/arm64/gemv_n_sve.c:62:25: note: in expansion of macro ‘SV_COUNT’
    62 |     uint64_t sve_size = SV_COUNT();
       |                         ^~~~~~~~
 ../kernel/arm64/gemv_n_sve.c:43:18: note: you can enable ‘sve’ using the command-line \
  option ‘-march’, or by using the ‘target’ attribute or pragma

@mattip
Copy link
Collaborator Author

mattip commented Jul 28, 2024

Reproducing locally: the A64FX kernel compilation does not set -march at all, and since the native architecture does not support SVE, the compilation fails. Strangely, the other SVE kernel builds do work.

@mattip mattip changed the title refactor to use travis_wait refactor to move aarch64 CI to github and use docker/qemu Jul 29, 2024
@mattip
Copy link
Collaborator Author

mattip commented Jul 29, 2024

It seems building inside a aarch64 docker is too slow and fraught with problems. I will have to work out how to convince multibuild to cross-compile.

@rgommers
Copy link
Collaborator

Perhaps easier to move it to Cirrus CI?

@mattip
Copy link
Collaborator Author

mattip commented Jul 29, 2024

Perhaps easier to move it to Cirrus CI?

I would need access to an account.

@rgommers
Copy link
Collaborator

I would need access to an account.

The whole MacPython org is mostly dormant, only a few projects haven't moved their wheel builds away from it yet. Maybe you can simply get org-level access now. @matthew-brett?

@mattip
Copy link
Collaborator Author

mattip commented Jul 29, 2024

Getting closer. The build and tests of OpenBLAS succeed, now there is something off about building the wheel out of the artifacts.

@mattip mattip changed the title refactor to move aarch64 CI to github and use docker/qemu fix CI Jul 30, 2024
@mattip
Copy link
Collaborator Author

mattip commented Jul 30, 2024

In the end, aarch64 was failing but because of ... reasons ... stdout was not displayed on travisCI. Adding the ability to build in github CI allowed displaying the error, which led to various fixes including OpenMathLib/OpenBLAS#4826 for building newer aarch64 kernels with gcc 10.4, but using that CI takes over 3 hours, so I moved it back to travis.

@mattip mattip merged commit 35b5f6a into MacPython:main Jul 30, 2024
11 of 13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants