Bug 2248911
| Summary: | Review Request: neon2sse - Open standard for machine learning interoperability | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Ali Erdinc Koroglu <aekoroglu> | ||||
| Component: | Package Review | Assignee: | Simone Caronni <negativo17> | ||||
| Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
| Severity: | medium | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | rawhide | CC: | negativo17, package-review, trix | ||||
| Target Milestone: | --- | Keywords: | AutomationTriaged | ||||
| Target Release: | --- | Flags: | negativo17:
fedora-review+
|
||||
| Hardware: | Unspecified | ||||||
| OS: | Linux | ||||||
| URL: | https://github.com/intel/ARM_NEON_2_x86_SSE | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2024-09-17 11:25:12 UTC | Type: | --- | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Bug Depends On: | |||||||
| Bug Blocks: | 1011110 | ||||||
| Attachments: |
|
||||||
|
Description
Ali Erdinc Koroglu
2023-11-09 16:39:50 UTC
Copr build: https://copr.fedorainfracloud.org/coprs/build/6616576 (succeeded) Review template: https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2248911-neon2sse/fedora-rawhide-x86_64/06616576-neon2sse/fedora-review/review.txt Please take a look if any issues were found. --- This comment was created by the fedora-review-service https://github.com/FrostyX/fedora-review-service If you want to trigger a new Copr build, add a comment containing new Spec and SRPM URLs or [fedora-review-service-build] string. > %global with_snapshot 1 Clean this up, there should be only 1 way to get the source, this is a messy upstream project, make which git commit you fetch as easy as possible. > Summary: Open standard for machine learning interoperability This summary does not match the project. Find a way to simplify The platform independent header allowing to compile any C/C++ code containing ARM NEON intrinsic functions for x86 target systems using SIMD up to SSE4 intrinsic functions > %global desc %{expand: \ I am not a fan of expanding and, the description should be close to the readme text The NEON_2_SSE.h file is intended ... Since it likely does not make sense to install this header on a non x86, likely you need some logic like BuildArch: noarch ExclusiveArch: x86_64 It would be good to have a %check Can you do something like https://src.fedoraproject.org/rpms/xbyak_aarch64/blob/rawhide/f/xbyak_aarch64.spec#_88 > Requires: %{name}%{?_isa} = %{version}-%{release} There is only the -devel package, without the normal package, this causes a failure to install. Remove this line. Hello Tom, thank you for the feedbacks SPEC Url: https://download.copr.fedorainfracloud.org/results/aekoroglu/fedora/fedora-rawhide-x86_64/07428429-neon2sse/neon2sse.spec SRPM Url: https://download.copr.fedorainfracloud.org/results/aekoroglu/fedora/fedora-rawhide-x86_64/07428429-neon2sse/neon2sse-0.0-1.fc41.src.rpm Created attachment 2032272 [details]
The .spec file difference from Copr build 6616576 to 7428443
Copr build: https://copr.fedorainfracloud.org/coprs/build/7428443 (succeeded) Review template: https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2248911-neon2sse/fedora-rawhide-x86_64/07428443-neon2sse/fedora-review/review.txt Please take a look if any issues were found. --- This comment was created by the fedora-review-service https://github.com/FrostyX/fedora-review-service If you want to trigger a new Copr build, add a comment containing new Spec and SRPM URLs or [fedora-review-service-build] string. Hi Ali, there are no releases for the project, so the correct syntax for the snapshot should be as follows: https://docs.fedoraproject.org/en-US/packaging-guidelines/Versioning/#_snapshots TL;DR: Remove the "with_snapshot" conditional and use this: Version: 0.0^%{gitdate}git%{shortcommit} These are up to you if you want: Shorten the %shortcommit to 7 characters: %global shortcommit %(c=%{commit}; echo ${c:0:7}) Move the test.c content into a single file that you check in with the SPEC file, I think it makes the SPEC file more readable. Otherwise, with the changes you added based on Trix comments, the package is fine. ** Please change the version before committing **, otherwise approved! Thanks. The Pagure repository was created at https://src.fedoraproject.org/rpms/neon2sse Thank you @negativo17 |