fluxbox.SlackBuild in -current typo?(solved_no typo)
On line #65 of the fluxbox.SlackBuild from -current I'm seeing:
Code:
make -j6 || make || exit 1 executed twice. Am I wrong or is this a typo? If it is, whom should I tell? :) From the bash man page: Code:
command1 || command2 |
make will be executed if 'make -j6' fails, else the command stops and goes to next command line (make install...)
|
Quote:
subsequent 'make' nor the 'exit 1' will be executed. right? This is the first time I've seen this in a SlackBuild. :newbie: |
Yes, that's it :)
I would think if 'make -j6' fails, the following make has great chance to fail too, but I don't know for sure |
Seems to be feature of PV's newer slackbuilds. If you look at one I stole for 12.1:
http://slackware.osuosl.org/slackwar...lrn.SlackBuild this has been added in as a variable: NUMJOBS=${NUMJOBS:--j6}. I have added this setting to my personal slackbuilds and I have seen amazing speed differences in compiling times, particularly in such software as the svn MPlayer. Andrew |
I think if "make -j6" fail, it means that the project may has some problem with parallel making. So trying a single make may solve the problem. But if "make" failed eventually, there must be something wrong here, so it will exit.
|
Quote:
|
Hi Rob:
Quote:
Andrew Edit: Apologies if I am coming close to thread hijacking? |
Quote:
|
What does -j do? Good article here...
For others like myself who might not be up to speed on distributed compile options, here is a place to get started...
http://www.ibm.com/developerworks/ai...2ProgramDelite |
All times are GMT -5. The time now is 02:23 AM. |