Giter Club home page Giter Club logo

Comments (10)

Foxboron avatar Foxboron commented on September 25, 2024

Two folded. /usr/share/devtools doesn't set it. If anything it is read from ~/.makepkg.conf and do you want us to just set MAKEPKG="-j$(nproc)" by default in the container?

from archlinux-repro.

FFY00 avatar FFY00 commented on September 25, 2024

I think repro should do the same as devtools and keep {SRC,SRCPKG,PKG,LOG}DEST, MAKEFLAGS and PACKAGER from the host makepkg.conf.

from archlinux-repro.

Foxboron avatar Foxboron commented on September 25, 2024

@FFY00 There is no host makepkg.conf. Repro does not assume an Arch LInux host, which is why it goes through the current troubles.

from archlinux-repro.

FFY00 avatar FFY00 commented on September 25, 2024

Check in /etc/makepkg.conf and then ~/.makepkg.conf. Is there anyone conflicting with us on /etc/makepkg.conf?

from archlinux-repro.

Foxboron avatar Foxboron commented on September 25, 2024

Well yes. Pacman is packaged in several distros. I'd rather supply nproc or allow MAKEFLAGS env variables then providing a makepkg.conf file

from archlinux-repro.

FFY00 avatar FFY00 commented on September 25, 2024

Yes, and why is it not acceptable to read /etc/makepkg.conf if we document it?

And sorry, I messed up the order. I meant check ~/.makepkg.conf first and then fallback to /etc/makepkg.conf.

from archlinux-repro.

kpcyrd avatar kpcyrd commented on September 25, 2024

The issue of defaulting to one core is that it's going to become a common gotcha because this becomes an extra step in the setup instructions of a rebuilder. People running rebuilders shouldn't be required to have the same level of experience as packagers.

from archlinux-repro.

FFY00 avatar FFY00 commented on September 25, 2024

If packagers can't deal with this then we are all doomed.

I am not thinking of any major reason why we couldn't read /etc/makepkg.conf in other distributions, at least for getting MAKEFLAGS. If this is really a problem then we can add a build system flag to disable this behavior.

But anyway, it isn't a big deal.

from archlinux-repro.

Foxboron avatar Foxboron commented on September 25, 2024

Repro isn't suppose to be used by packagers. But by users that want to reproduce their packages.

from archlinux-repro.

FFY00 avatar FFY00 commented on September 25, 2024

Right, very well.

I still think a build system flag to enable/disable this behavior is a good solution.

But maybe we should just default to -j$(nproc) as a user should not be expected to edit a makepkg.conf to get large builds to not take forever.

from archlinux-repro.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.