-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
openblas: improve cross compilation support #21485
Conversation
- allow for cross-compilation in general - fix cross-compilation for x86_64 -> armv8
to main and test recipes
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
continue to fail if version is less than 0.3.12 Co-authored-by: Samuel Dowling <[email protected]>
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Conan v1 pipeline ✔️All green in build 9 (
Conan v2 pipeline ❌
The v2 pipeline failed. Please, review the errors and note this is required for pull requests to be merged. In case this recipe is still not ported to Conan 2.x, please, ping See details:Failure in build 9 (
Note: To save resources, CI tries to finish as soon as an error is found. For this reason you might find that not all the references have been launched or not all the configurations for a given reference. Also, take into account that we cannot guarantee the order of execution as it depends on CI workload and workers availability. |
Hello @amrox, I'm interested by your PR, using debian:bullseye docker image I get error on build 0.3.10 release while it works with 0.3.26 release: `CMake Error at cmake/prebuild.cmake:529 (MESSAGE): Run Build Command(s):/usr/bin/gmake cmTC_d3ad4/fast && /usr/bin/gmake -f gmake[1]: Entering directory Building C object CMakeFiles/cmTC_d3ad4.dir/getarch_2nd.c.o /usr/bin/cc -m64 -fPIE -march=native -DGEMM_MULTITHREAD_THRESHOLD=4 /root/.conan2/p/b/openb46fc3a72077e9/b/src/getarch_2nd.c: In function /root/.conan2/p/b/openb46fc3a72077e9/b/src/getarch_2nd.c:14:35: error:
/root/.conan2/p/b/openb46fc3a72077e9/b/src/getarch_2nd.c:14:35: note: each /root/.conan2/p/b/openb46fc3a72077e9/b/src/getarch_2nd.c:15:35: error:
/root/.conan2/p/b/openb46fc3a72077e9/b/src/getarch_2nd.c:16:35: error:
/root/.conan2/p/b/openb46fc3a72077e9/b/src/getarch_2nd.c:17:35: error:
/root/.conan2/p/b/openb46fc3a72077e9/b/src/getarch_2nd.c:21:35: error:
/root/.conan2/p/b/openb46fc3a72077e9/b/src/getarch_2nd.c:22:35: error:
/root/.conan2/p/b/openb46fc3a72077e9/b/src/getarch_2nd.c:23:35: error:
/root/.conan2/p/b/openb46fc3a72077e9/b/src/getarch_2nd.c:24:35: error:
/root/.conan2/p/b/openb46fc3a72077e9/b/src/getarch_2nd.c:71:50: error:
/root/.conan2/p/b/openb46fc3a72077e9/b/src/getarch_2nd.c:72:50: error:
/root/.conan2/p/b/openb46fc3a72077e9/b/src/getarch_2nd.c:73:50: error:
/root/.conan2/p/b/openb46fc3a72077e9/b/src/getarch_2nd.c:74:50: error:
gmake[1]: *** [CMakeFiles/cmTC_d3ad4.dir/build.make:85: gmake[1]: Leaving directory gmake: *** [Makefile:140: cmTC_d3ad4/fast] Error 2 Call Stack (most recent call first): -- Configuring incomplete, errors occurred! openblas/0.3.10: ERROR: perhaps we can drop 0.3.10 old release? Regards. |
superseded by #24171 - please reopen (or open a new issue) if something is missing, thank you! |
Specify library name and version: openblas/0.3.12 - openblas/0.3.17
Cross-compilation in the recipe was explictly disabled. However, the source repository does seem to support cross-compilation in general.
An issue with the architecture detection prevented cross-compilation from x86_64 to arm64 from working correctly. This issue was fix in OpenMathLib/OpenBLAS#4142. This ports the same fix to older versions of OpenBlas.