Bug 2381008 - flexiblas: FTBFS with change proposal CMake: Use ninja generator by default
Summary: flexiblas: FTBFS with change proposal CMake: Use ninja generator by default
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: flexiblas
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Iñaki Ucar
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 2376112
TreeView+ depends on / blocked
 
Reported: 2025-07-16 15:14 UTC by Cristian Le
Modified: 2025-07-16 17:08 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2025-07-16 17:08:04 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Cristian Le 2025-07-16 15:14:34 UTC
Dear package maintainer,

This is an automated bug created due to a FTBFS when rebuilding this package for the change proposal CMake: Use ninja generator by default.

The rebuild is being tracked in https://copr.fedorainfracloud.org/coprs/lecris/cmake-ninja/package/flexiblas.

See https://fedoraproject.org/wiki/Changes/CMake_ninja_default for more information on how to make the package compatible.

More specifically, make sure you are using standard %cmake_* macros. If you find that there are hard dependencies on
the generator even after such transition, please ping me for closer investigation.

You can check the build locally following the instructions in the change proposal, or submit your build to the tracking
copr project.

Let me know if you encounter any issues, or need any other help.

Comment 1 Iñaki Ucar 2025-07-16 16:30:24 UTC
Can you please take a look at the SPEC? I need to manage 32 and 64 bit integer builds (currently using %make_build's -C flag) in parallel, as well as test them. Is there a way to achieve this with this change? Otherwise, I will just opt out.

Comment 2 Cristian Le 2025-07-16 16:45:50 UTC
This feels similar to the mpi builds [1]. One clean way of doing it is to override `_vpath_builddir` and include a suffix that you populate as an environment (or local?) variable. Then you just run the `%cmake_*` macros multiple times. See the cp2k spec file that I referenced. Hope it's readable enough, but feel free to ping me if you need a more thorough breakdown of it.

[1]: https://src.fedoraproject.org/rpms/cp2k/blob/rawhide/f/cp2k.spec#_136

Comment 3 Iñaki Ucar 2025-07-16 16:51:44 UTC
Mmh, ugly. I prefer to make it explicit, so I'm going to opt out for now. Thanks.

Comment 4 Cristian Le 2025-07-16 17:02:54 UTC
Sure, however you prefer to manage it :).

Note that `make test` is very different from using the `%ctest` macros. The latter has test parallelization (and better output imo).


Note You need to log in before you can comment on or make changes to this bug.