https://bugzilla.redhat.com/show_bug.cgi?id=2558317



--- Comment #5 from Cristian Le <[email protected]> ---
Looks quite promissing. Another quick comments:

> The cmake files get installed in %{_libdir}, which leads to different 
> locations for x86_64 and i686. I didn't see a way to configure the install 
> location via cmake and with cmake target files it is always tricky to predict 
> if they will be the same for all archs.

Hmm that seems to be an issue on rapids-cmake that it doesn't allow changing
the installation to `CMAKE_INSTALL_DATADIR`. The move of the CMake files is a
bit risky since the files have relative path calculations backed in them. It
should work just because `${_libdir}` and `%{_datadir}` are siblings, but would
be better to request a more proper support with upstream

> `rapids-cmake` is bundled right now and cmake find it via 
> `-Drapids-cmake-url=file://%{S:1}` as Source1 is rapid-cmake's 
> branch-24.02.zip. We could unpack it and use FETCHCONTETN_SOURCE_DIR_...` if 
> preferred.

Mostly for consistency and finding these across all specs if there is a
relevant CMake change

- I think you can use something like `%{_builddir}/%{topdir1}` to locate the
sources more independently. Saw that during openmw review [1]
- Bundled parts should still be marked with the `Provides`
- The GIT_EXECUTABLE=/usr/bin/true is funky. Hope upstream is aware
- Splitting the CMake configure into %conf is generally recommended (we also
have declarative build-system for CMake)
- Have you checked if STDEXEC_BUILD_MODULES would be possible? At the very
least it does not seem to conflict with the traditional header installation
- Any plans for `STDEXEC_ENABLE_(ASIO|TASKFLOW|CUDA|TBB)`. Some of them are of
course a no like CUDA, but don't have enough context for the others.
- Could you drop a hint to upstream about FeatureSummary [2]. It would make
navigating the options much easier
- `STDEXEC_ENABLE_EXTRA_TYPE_CHECKING` would that be useful for the downstream
consumer? They could have made that a genex so that it is easier to opt-in/out
- Various options that are disabled by default: `STDEXEC_ENABLE_NUMA`,
`STDEXEC_BUILD_PARALLEL_SCHEDULER`, `STDEXEC_ENABLE_IO_URING` may be useful to
consider. At least NUMA would be injected in the main target if enabled

Still need to do the license review after this

[1]: https://src.fedoraproject.org/rpms/openmw/blob/rawhide/f/openmw.spec
[2]: https://cmake.org/cmake/help/latest/module/FeatureSummary.html


-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
https://bugzilla.redhat.com/show_bug.cgi?id=2558317

Report this comment as SPAM: 
https://bugzilla.redhat.com/enter_bug.cgi?product=Bugzilla&format=report-spam&short_desc=Report%20of%20Bug%202558317%23c5

-- 
_______________________________________________
package-review mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/[email protected]
Do not reply to spam, report it: 
https://forge.fedoraproject.org/infra/tickets/issues/new

Reply via email to