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



--- Comment #3 from Christoph Junghans <[email protected]> ---
(In reply to Cristian Le from comment #2)
> Fail enough I did do a bit of investigation on that. Just a few quick
> comments before diving deep into this
> - shouldn't the devel package be noarch in this case?
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.

> - ctest ran with no tests, so instead of "turn off tests to avoid pulling in
> bundled deps" we should actually try to work with `rapids-cmake` to get
> those (even if we go with the quick route of bundling) and have at least
> something that is tested
Right now, at least some examples get build and maybe we could run those
instead of the full test suite.
Either ways, I will have a look at that or bundling the other 3 test deps.

> - please try to reduce the usage of `%{name}` especially when the name link
> is not guaranteed like in the `%files`. It does create friction when used in
> `URL` because it takes extra steps to get the source url to navigate just
> from the spec file
Done: https://junghans.fedorapeople.org/stdexec.spec

> - `FetchContent` is used to fetch `rapids-cmake`, in that case please use
> the normal standard `FETCHCONTETN_SOURCE_DIR_...` [1] variable to set the
> path. It is also worth asking upstream to include a `FIND_PACKAGE_ARGS` in
> there so downstream can try to use a packaged version of `rapids-cmake`
> eventually
`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.


-- 
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%23c3

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