bsc-performance-tools / extrae

Instrumentation framework to generate execution traces of the most used parallel runtimes.
https://tools.bsc.es/extrae
GNU Lesser General Public License v2.1
62 stars 38 forks source link

autoconf: basic cross-compilation fixes #73

Closed exaexa closed 1 year ago

exaexa commented 1 year ago

This fixes 2 major cross-compiling issues (as commented in #72). With this patch we can cross-compile at least the extrae version without external libraries, so hopefully we'd be able to merge https://github.com/JuliaPackaging/Yggdrasil/pull/5710 .

MPI and xml2 cross-compile configuration issues mentioned in #72 are left outstanding. I have some code that fixes the MPI part but I wasn't able to test the solution on my computer because configure is stubbornly refusing to find debian's openmpi headers for some reason. (Any advice welcome :D ).

On a note, I killed the specific BGQ/BGL/MIC/ARM/.... machine tests because hopefully the pointer sizes should be derivable directly; if there are exceptions (pointer size != sizeof(void*)) please lmk.

Thanks!

cc @arnaumontagud @clasqui @laurentheirendt

exaexa commented 1 year ago

@gllort thanks!