Skip to content

Compilation fails with CMake on MinGW #322

@jmark

Description

@jmark

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.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions