Closed david-geiger closed 6 days ago
Attached full build log:
After some investigation, the failure to link the ecFlow Python extension seems to be due to a mismatch of the Position-independent code (PIC) options between:
-fPIC
compiler option), andWe kindly recommend passing the option -DCMAKE_POSITION_INDEPENDENT_CODE=ON
when configuring the CMake project.
This ensures that all ecFlow build artefacts are built with PIC enabled and, based on our experiments in a Mageia Cauldron docker based environment, allows a successful build.
I confirm that passing the option -DCMAKE_POSITION_INDEPENDENT_CODE=ON
fixes build!
Thanks a lot for the fix :)
Regards, David
What happened?
Hi,
On Mageia Cauldron ecflow fails to build only on armv7hl with something like:
Regards, David
What are the steps to reproduce the bug?
Compile on armv7 arch.
Version
5.13.5
Platform (OS and architecture)
Mageia Linux 32bit (armv7hl)
Relevant log output
No response
Accompanying data
No response
Organisation
No response