Opened 15 years ago
Closed 15 years ago
#914 closed Defect (worksforme)
Ignoring GCC flags
Reported by: | shiki08 | Owned by: | |
---|---|---|---|
Priority: | Minor | Milestone: | Undetermined |
Component: | Undetermined | Version: | 6.6.31 |
Keywords: | Cc: |
Description
Sorry for opening a new ticket again, I used search and didnt find anything. (And I don't want to ask about this in other tickets)
1.) run ./_autosetup 2.) run CFLAGS="-g -O3 -march=core2 -mtune=core2 -mmmx -msse -msse2 -msse3 -fprofile-use -ffast-math" CXXFLAGS="${CFLAGS}" ./configure --prefix=/usr --disable-server --disable-fcgi 3.) edit lib/str_util.h (add #include "config.h") 4.) edit Makefile (edit CFLAGS and CXXFLAGS to the wanted ones) 5.) export CFLAGS="-g -O3 -march=core2 -mtune=core2 -mmmx -msse -msse2 -msse3 -fprofile-use -ffast-math" 6.) export CXXFLAGS="${CFLAGS}" 7.) CFLAGS="-g -O3 -march=core2 -mtune=core2 -mmmx -msse -msse2 -msse3 -fprofile-use -ffast-math" CXXFLAGS="${CFLAGS}" make
--- it'll still ignore the flags. Any idea? (found this table, but it still ignores it> http://wiki.debian.org/BOINC/ClientBenchmarks )
Change History (6)
comment:1 Changed 15 years ago by
comment:2 Changed 15 years ago by
You're supposed to pass variables as parameters to configure, not as environment variables.
./configure --prefix=/usr --disable-server --disable-fcgi CXXFLAGS="-g -O3 -march=core2 -mtune=core2 -mmmx -msse -msse2 -msse3 -fprofile-use -ffast-math"
But I haven't checked if that works or not.
comment:3 Changed 15 years ago by
Why are you trying to use those flags anyway? You need to optimize the project applications, not the BOINC client. You won't compute any faster by having an optimized client.
comment:4 Changed 15 years ago by
Yes , a person already told me that. But surprisingly, my client submits more results and get better results if I can use flags (my compiled one provides much better "cpu benchmark" and speed than the downloadable client).
It works. Thanks. (sorry for opening a ticket just for this.. I always used the other way, and it was working. Thanks.)
comment:5 Changed 15 years ago by
(I really don't want to open a new ticket. FCGI is a "wontwork" or its just a new bug? Should I report it or should I just STFU? :))
comment:6 Changed 15 years ago by
Resolution: | → worksforme |
---|---|
Status: | new → closed |
What do I mean?