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

2013-01-24 Thread chris
Hi lmello, Leave a post here: https://aur.archlinux.org/packages/gpodder3/ indicating your interest in maintaining gpodder3 for arch and I will disown the package as soon after so that you can then adopt it. Tim Cowchip Chris Luis Henrique Mello wrote: Hi Cris! I'm actually using BOTH...

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

2013-01-24 Thread JK Wood
On Jan 23, 2013 7:47 PM, xgiz...@slackbuilds.org wrote: On Wednesday 23 January 2013 10:01:12 Matteo Bernardini wrote: Hi J, I tried to adapt the line to take in account Eric's advices SLKCFLAGS=${SLKCFLAGS:--O2} LIBDIRSUFFIX= [ $(uname -m) = x86_64 ] [ ! $(echo $PATH | grep

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

2013-01-23 Thread Tim Dickson
On 23/01/2013 07:21, Matteo Bernardini wrote: I lied (previous versions are fails) SLKCFLAGS=${SLKCFLAGS:--O2} LIBDIRSUFFIX= [ $(uname -m) = x86_64 ] SLKCFLAGS=$SLKCFLAGS -fPIC LIBDIRSUFFIX=64 [ $ARCH = i486 ] || [ $ARCH = native ] SLKCFLAGS=$SLKCFLAGS -march=$ARCH [ $ARCH = i486 ] || [

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

2013-01-23 Thread Matteo Bernardini
2013/1/23 Tim Dickson dickson@googlemail.com On 23/01/2013 07:21, Matteo Bernardini wrote: I lied (previous versions are fails) SLKCFLAGS=${SLKCFLAGS:--O2} LIBDIRSUFFIX= [ $(uname -m) = x86_64 ] SLKCFLAGS=$SLKCFLAGS -fPIC LIBDIRSUFFIX=64 [ $ARCH = i486 ] || [ $ARCH = native ]

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

2013-01-23 Thread Matteo Bernardini
Hi J, I tried to adapt the line to take in account Eric's advices SLKCFLAGS=${SLKCFLAGS:--O2} LIBDIRSUFFIX= [ $(uname -m) = x86_64 ] [ ! $(echo $PATH | grep ^\/usr\/bin\/32) ] SLKCFLAGS=$SLKCFLAGS -fPIC LIBDIRSUFFIX=64 [ $ARCH = i486 ] || [ $ARCH = native ] SLKCFLAGS=$SLKCFLAGS -march=$ARCH [

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

2013-01-23 Thread Chris Farrell
Hi lmello Are you using slackware again? I was going to offer you a trade; your gpodder SBo for my gpodder3 AUR. I was thinking of leaving arch for crux. tim cowchip Chris On Tue, Jan 22, 2013 at 3:45 AM, Luis Henrique Mello lmello@gmail.comwrote: Hi, I've noticed that adding '-msse3' to

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

2013-01-23 Thread Luis Henrique Mello
Hi Cris! I'm actually using BOTH... arch on a notebook and slackware on a desktop. I need two computers to 'train' my IT skills. And I just lve GNOME 3 - arch is the only distribution which ships GNOME 3 and *doesn't* split libraries and headers on their packages (who was the fucktard

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

2013-01-23 Thread xgizzmo
On Wednesday 23 January 2013 10:01:12 Matteo Bernardini wrote: Hi J, I tried to adapt the line to take in account Eric's advices SLKCFLAGS=${SLKCFLAGS:--O2} LIBDIRSUFFIX= [ $(uname -m) = x86_64 ] [ ! $(echo $PATH | grep ^\/usr\/bin\/32) ] SLKCFLAGS=$SLKCFLAGS -fPIC LIBDIRSUFFIX=64 [

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

2013-01-23 Thread Kyle Guinn
On 1/23/13, xgiz...@slackbuilds.org xgiz...@slackbuilds.org wrote: I think all that would be needed is to add a line after the $SLKCFLAGS block. if [ -n $RICER_FLAGS ]; then SLKCFLAGS=$RICER_FLAGS; fi Then run your build RICER_FLAGS=-enable-more-fruitloops ./some.SlackBuild --dsomero :)

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

2013-01-23 Thread J Pipkin
On 2013-01-23 09:01, Matteo Bernardini wrote: Hi J, I tried to adapt the line to take in account Eric's advices SLKCFLAGS=${SLKCFLAGS:--O2} LIBDIRSUFFIX= [ $(uname -m) = x86_64 ] [ ! $(echo $PATH | grep ^/usr/bin/32) ] SLKCFLAGS=$SLKCFLAGS -fPIC LIBDIRSUFFIX=64 [ $ARCH = i486 ] || [ $ARCH =

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

2013-01-23 Thread Matteo Bernardini
A small thought: the problem setting ARCH=native is that the final package will be called something like foo-1.1-native-1_SBo, while it should have a name dependant on the minimum CPU where it will run (like Stuart is doing on arm). To get the CFLAGS selected by -march=native, for a possible use

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

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 slack...@gmail.com wrote: On Tue, Jan 22, 2013 at 01:45:54AM -0200, Luis Henrique Mello wrote: Hi, I've noticed

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 slack...@gmail.com

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
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
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 lmello@gmail.comwrote: The correct 'if' statement would be: if grep ssse3 /proc/cpuinfo 1 /dev/null; then

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

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

2013-01-22 Thread Kyle Guinn
On 1/22/13, Kyle Guinn ely...@gmail.com wrote: On 1/22/13, Larry Hajali larryh...@gmail.com 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

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

2013-01-22 Thread Matteo Bernardini
2013/1/23 Kyle Guinn ely...@gmail.com 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 [ $ARCH = i486 ]; then

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

2013-01-22 Thread Matteo Bernardini
2013/1/23 Matteo Bernardini matteo.bernard...@gmail.com 2013/1/23 Kyle Guinn ely...@gmail.com 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

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

2013-01-21 Thread Luis Henrique Mello
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@slackbuilds.org http://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users Archives