Re: [Slackbuilds-users] Desmume on 64-bit - optimization flag

2013-01-22 Thread Matteo Bernardini
2013/1/23 Matteo Bernardini > 2013/1/23 Kyle Guinn > >> SLKCFLAGS="-O2" >> LIBDIRSUFFIX="" >> if [ "$ARCH" = "x86_64" -o \( "$ARCH" = "native" -a "$(uname -m)" = >> "x86_64" \) ]; then >> SLKCFLAGS="$SLKCFLAGS -fPIC" >> LIBDIRSUFFIX="64" >> fi >> if [ "$ARCH" = "native" ]; then >> SLKCFLAG

Re: [Slackbuilds-users] Desmume on 64-bit - optimization flag

2013-01-22 Thread Matteo Bernardini
2013/1/23 Kyle Guinn > SLKCFLAGS="-O2" > LIBDIRSUFFIX="" > if [ "$ARCH" = "x86_64" -o \( "$ARCH" = "native" -a "$(uname -m)" = > "x86_64" \) ]; then > SLKCFLAGS="$SLKCFLAGS -fPIC" > LIBDIRSUFFIX="64" > fi > if [ "$ARCH" = "native" ]; then > SLKCFLAGS="$SLKCFLAGS -march=native" > elif [ "$AR

Re: [Slackbuilds-users] Desmume on 64-bit - optimization flag

2013-01-22 Thread Kyle Guinn
On 1/22/13, Kyle Guinn wrote: > On 1/22/13, Larry Hajali wrote: >> Could just add an if statement that will add it to the SLKCFLAGS if it is >> detected on the computer. >> >> if grep [^s]sse3 /proc/cpuinfo 2>/dev/null; then >> SLKCFLAGS="$SLKCFLAGS -msse3" >> fi >> >> Not sure if this leads to

[Slackbuilds-users] evolus-pencil.Slackbuild results in corrupted system

2013-01-22 Thread Slacker build user
My first hiccup with an SBo script... Installing the package built from evolus-pencil changes directory permissions for /usr, /usr/lib, /usr/bin, /usr/share to 744 making it very difficult to do anything! Modifying the script to set proper execute permissions after extracting from rpm fixes

Re: [Slackbuilds-users] Desmume on 64-bit - optimization flag

2013-01-22 Thread Luis Henrique Mello
It indeed works, just tested it. This could be useful not only for Desmume, but all 'heavyweight' computing applications such as Octave. What do you guys think? On 01/23/2013 12:33 AM, Larry Hajali wrote: Yes, that probably is correct. But there wasn't good information on sse3 vs. ssse3 whe

Re: [Slackbuilds-users] Desmume on 64-bit - optimization flag

2013-01-22 Thread Larry Hajali
Yes, that probably is correct. But there wasn't good information on sse3 vs. ssse3 when I did a google search. On Tue, Jan 22, 2013 at 5:29 PM, Luis Henrique Mello wrote: > The correct 'if' statement would be: > > if grep ssse3 /proc/cpuinfo 1> /dev/null; then > SLKCFLAGS="$SLKCFLAGS -msse3" >

Re: [Slackbuilds-users] Desmume on 64-bit - optimization flag

2013-01-22 Thread Luis Henrique Mello
The correct 'if' statement would be: if grep ssse3 /proc/cpuinfo 1> /dev/null; then SLKCFLAGS="$SLKCFLAGS -msse3" fi On 01/22/2013 02:23 PM, Larry Hajali wrote: Could just add an if statement that will add it to the SLKCFLAGS if it is detected on the computer. if grep [^s]sse3 /proc/cpuinfo

Re: [Slackbuilds-users] Desmume on 64-bit - optimization flag

2013-01-22 Thread Larry Hajali
Could just add an if statement that will add it to the SLKCFLAGS if it is detected on the computer. if grep [^s]sse3 /proc/cpuinfo 2>/dev/null; then SLKCFLAGS="$SLKCFLAGS -msse3" fi Not sure if this leads to undesirable results. I don't have an sse3 capable processor, so I can't test. --Larry

Re: [Slackbuilds-users] Desmume on 64-bit - optimization flag

2013-01-22 Thread Luis Henrique Mello
Good idea - this boosted me like almost 10fps... On 01/22/2013 01:42 PM, King Beowulf wrote: Add it as a switch option? That way there is a reminder for those users who can benefit from ss3 as they might not think of it or release otherwise. On 1/22/13, Tobias Eichmann wrote: On Tue, Jan 22,

Re: [Slackbuilds-users] Desmume on 64-bit - optimization flag

2013-01-22 Thread King Beowulf
Add it as a switch option? That way there is a reminder for those users who can benefit from ss3 as they might not think of it or release otherwise. On 1/22/13, Tobias Eichmann wrote: > On Tue, Jan 22, 2013 at 01:45:54AM -0200, Luis Henrique Mello wrote: >> Hi, >> >> I've noticed that adding '-m

Re: [Slackbuilds-users] Desmume on 64-bit - optimization flag

2013-01-22 Thread Tobias Eichmann
On Tue, Jan 22, 2013 at 01:45:54AM -0200, Luis Henrique Mello wrote: > Hi, > > I've noticed that adding '-msse3' to the $SLKCFLAGS on a x86_64 bit > build improves performance. > > - Luis > ___ > SlackBuilds-users mailing list > SlackBuilds-users@slackb