cburstedde/p4est

Compilation fails with CMake on MinGW

Opened this issue · 1 comments

Description

Compilation failes with CMake on MinGW platform. This problem is associated with creating
a t8code JLL package. See this pull request: JuliaPackaging/Yggdrasil#9718

It is also related with this issue in libsc: cburstedde/libsc#206

The used CMake version is v3.21.

The following patch solved the issue:
https://github.com/JuliaPackaging/Yggdrasil/pull/9718/files#diff-ea60dc2b5222505401e1890ceea5774a7139e5207e936a92514a273ec7104cae

But it is not clear to me if this is a proper solution.

To Reproduce

For reproduction, I suggest to try to create a t8code JLL package via Yggdrasil without the application of the patches.

cd T/t8code/
julia build_tarballs.jl --debug=error --verbose x86_64-w64-mingw32-mpi+microsoftmpi

Additional information

I used Julia 1.11. But this shouldn't have any effect.

Cool, let's solve this for libsc first and then replicatie the approach here.