Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Slow validation for repo with many flavors #103

Closed
marxin opened this issue May 3, 2022 · 1 comment
Closed

Slow validation for repo with many flavors #103

marxin opened this issue May 3, 2022 · 1 comment

Comments

@marxin
Copy link

marxin commented May 3, 2022

We started using _multibuild for binutils and I noticed every commit is very slow. It's due to /usr/lib/obs/service/source_validators/helpers/spec_query --specfile /home/marxin/BIG/osc/home:marxin:branches:devel:gcc/binutils/cross-avr-binutils.spec --print-subpacks --buildflavor cross-pru-binutils that is run for every spec file any possible flavor (N^2).
I think it should be run only for valid combinations like cross-avr-binutils.spec and --buildflavor cross-avr-binutils.

@marxin
Copy link
Author

marxin commented Jan 24, 2023

The same happens in https://build.opensuse.org/package/show/devel:gcc/gcc13 where we have quite some multibuild targets:
https://build.opensuse.org/package/view_file/devel:gcc/gcc13/_multibuild?expand=1

The verification takes ~2.5 minutes, please see the log file:
log.txt

and so each osc build and osc commit is reallly slow.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants