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



--- Comment #6 from Christoph Junghans <[email protected]> ---
(In reply to Cristian Le from comment #5)
> 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
Reported upstream here: https://github.com/rapidsai/rapids-cmake/issues/1105

> 
> > `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]
Oh I didn't know feature, will use that.

> - Bundled parts should still be marked with the `Provides`
Even if do not install them at all? E.g. stdexec doesn't not install any Catch2
files.

> - The GIT_EXECUTABLE=/usr/bin/true is funky. Hope upstream is aware
This is mostly as I wanted to make sure git isn't called accidently somewhere.
We could use add git as a BuildRequirement.

> - Splitting the CMake configure into %conf is generally recommended (we also
> have declarative build-system for CMake)
Again, I just didn't know of that feature, so let me test that.

> - 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
I didn't look into those as hpx doesn't require them. As the point of the
package is to ultimately being merged into the compiler, I would rather wait to
enable them until a consumer actually needs any of those features.


-- 
You are receiving this mail because:
You are always notified about changes to this product and component
You are on the CC list for the bug.
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%23c6

-- 
_______________________________________________
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