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

makepkg takes a long time to parse a big PKGBUILD file #2593

Closed
MehdiChinoune opened this issue Jul 31, 2021 · 6 comments
Closed

makepkg takes a long time to parse a big PKGBUILD file #2593

MehdiChinoune opened this issue Jul 31, 2021 · 6 comments

Comments

@MehdiChinoune
Copy link
Collaborator

Describe the issue

makepkg takes a long time to parse a big PKGBUILD file

Steps to Reproduce the Problem

  1. checkout Split Qt5 into components MINGW-packages#9249
  2. makepkg -g
  3. It takes a long time.
@lazka
Copy link
Member

lazka commented Jul 31, 2021

not much we can do I think.. lots of forks..

@Biswa96
Copy link
Member

Biswa96 commented Jul 31, 2021

Make smaller pkgbuild files like qt6.

@MehdiChinoune
Copy link
Collaborator Author

Make smaller pkgbuild files like qt6.

I tried, but It is not easy to deal with qmake buildsystem.

@Biswa96
Copy link
Member

Biswa96 commented Jul 31, 2021

I've also tried to split qt5 packages but got a dead end with some path issues. The media-autobuild-suite guys did something with qt5 static build /cc @1480c1

@1480c1
Copy link
Contributor

1480c1 commented Jul 31, 2021

For qt5 building, we first built https://github.com/qt/qtbase.git, then https://github.com/qt/qtdeclarative.git, then https://github.com/qt/qtsvg.git, and so on, in rough terms, the order was

export QMAKE_CXX=$CXX QMAKE_CC=$CC
export MSYS2_ARG_CONV_EXCL="--foreign-types="
_check=(bin/qmake.exe Qt5Core.pc Qt5Gui.pc Qt5Widgets.pc)
https://github.com/qt/qtbase.git

_deps=(Qt5Core.pc)
_check=(Qt5Quick.pc Qt5Qml.pc)
https://github.com/qt/qtdeclarative.git

_deps=(Qt5Core.pc)
_check=(Qt5Svg.pc)
https://github.com/qt/qtsvg.git

_deps=(Qt5Core.pc Qt5Quick.pc Qt5Qml.pc)
_check=("$LOCALDESTDIR/qml/QtGraphicalEffects/libqtgraphicaleffectsplugin.a")
https://github.com/qt/qtgraphicaleffects.git

_deps=(Qt5Core.pc Qt5Quick.pc Qt5Qml.pc)
_check=(Qt5QuickControls2.pc)
https://github.com/qt/qtquickcontrols2.git

where the _check refers to a file that was installed in the install stage and the _deps array refers to what files the package depends on. This isn't all of qt's stuff afaik, but just the stuff needed for vlc

@jeremyd2019
Copy link
Member

not much we can do I think.. lots of forks..

Yep. Fork overhead is even worse on ARM64 with emulation overhead added on 😬

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

5 participants