Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 165768 Details for
Bug 237675
sci-astronomy/setiathome-6.03 version bump
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
svn version of remove archs
sah-6.03-optimization-m4-del-old-archs-svn.patch (text/plain), 3.12 KB, created by
Orson Teodoro
on 2008-09-19 00:33:15 UTC
(
hide
)
Description:
svn version of remove archs
Filename:
MIME Type:
Creator:
Orson Teodoro
Created:
2008-09-19 00:33:15 UTC
Size:
3.12 KB
patch
obsolete
>--- m4/optimizations.m4.orig 2008-09-17 08:11:23.000000000 -0700 >+++ m4/optimizations.m4 2008-09-17 08:16:37.000000000 -0700 >@@ -2,7 +2,9 @@ > if test x_$sah_opt_only_once = x_ ; then > > sah_opt_only_once=all_done >- >+OPT_CFLAGS="" >+OPT_LDFLAGS="" >+ > AC_ARG_ENABLE([sse3], > AC_HELP_STRING([--enable-sse3], > [Use SSE3 optimizations]) >@@ -13,7 +15,7 @@ > [Define to 1 if you want to use SSE3 optimizations]) > # put compiler specific flags here > if test x_$ac_cv_c_compiler_gnu = x_yes ; then >- CFLAGS="-march=prescott -msse3 -mfpmath=sse ${CFLAGS}" >+ OPT_CFLAGS="-msse3 ${OPT_CFLAGS}" > fi > fi > >@@ -29,7 +31,7 @@ > if test x_$ac_cv_c_compiler_gnu = x_yes ; then > CFLAGS="-msse2 -mfpmath=sse ${CFLAGS}" > if test -z "echo $CFLAGS | grep march=" ; then >- CFLAGS="-march=pentium4 ${CFLAGS}" >+ OPT_CFLAGS="-msse2 ${OPT_CFLAGS}" > fi > fi > fi >@@ -44,7 +46,7 @@ > [Define to 1 if you want to use SSE optimizations]) > # put compiler specific flags here > if test x_$ac_cv_c_compiler_gnu = x_yes ; then >- CFLAGS="-march=pentium3 -msse -mfpmath=sse ${CFLAGS}" >+ OPT_CFLAGS="-msse ${OPT_CFLAGS}" > fi > fi > >@@ -58,7 +60,7 @@ > [Define to 1 if you want to use MMX optimizations]) > # put compiler specific flags here > if test x_$ac_cv_c_compiler_gnu = x_yes ; then >- CFLAGS="-march=pentium2 -mmmx -mfpmath=387 ${CFLAGS}" >+ OPT_CFLAGS="-mmmx ${OPT_CFLAGS}" > fi > fi > >@@ -73,10 +75,16 @@ > [Define to 1 if you want to use 3D-Now optimizations]) > # put compiler specific flags here > if test x_$ac_cv_c_compiler_gnu = x_yes ; then >- CFLAGS="-march=pentium2 -m3dnow -mfpmath=387 ${CFLAGS}" >+ OPT_CFLAGS="-m3dnow ${OPT_CFLAGS}" > fi > fi > >+if test x_$enable_sse = x_yes || test x_$enable_sse2 = x_yes || test x_$enable_sse3 = x_yes ; then >+ OPT_CFLAGS="${OPT_CFLAGS} -mfpmath=sse" >+elif test x_$enable_mmx = x_yes || test x_$enable_3dnow = x_yes ; then >+ OPT_CFLAGS="${OPT_CFLAGS} -mfpmath=386" >+fi >+ > AC_ARG_ENABLE([fast-math], > AC_HELP_STRING([--enable-fast-math], > [Use gcc -ffast-math optimization]) >@@ -87,7 +95,7 @@ > [Define to 1 if you want to use the gcc -ffast-math optimization]) > # put compiler specific flags here > if test x_$ac_cv_c_compiler_gnu = x_yes ; then >- CFLAGS="${CFLAGS} -ffast-math" >+ OPT_CFLAGS="${OPT_CFLAGS} -ffast-math" > fi > fi > >@@ -101,13 +109,14 @@ > [Define to 1 if you want to use ALTIVEC optimizations]) > # put compiler specific flags here > if test x_$ac_cv_c_compiler_gnu = x_yes ; then >- SAH_CHECK_CFLAG([-faltivec],[CFLAGS="-faltivec ${CFLAGS}"]) >- SAH_CHECK_CFLAG([-maltivec],[CFLAGS="-maltivec ${CFLAGS}"]) >- SAH_CHECK_CFLAG([-mtune=G5],[CFLAGS="-mtune=G5 ${CFLAGS}"]) >- SAH_CHECK_CFLAG([-mcpu=powerpc],[CFLAGS="-mcpu=powerpc ${CFLAGS}"]) >- SAH_CHECK_LDFLAG([-framework Accelerate],[LDFLAGS="${LDFLAGS} -framework Accelerate"]) >+ SAH_CHECK_CFLAG([-faltivec],[OPT_CFLAGS="-faltivec ${OPT_CFLAGS}"]) >+ SAH_CHECK_CFLAG([-maltivec],[OPT_CFLAGS="-maltivec ${OPT_CFLAGS}"]) >+ SAH_CHECK_LDFLAG([-framework Accelerate],[OPT_LDFLAGS="${OPT_LDFLAGS} -framework Accelerate"]) > fi > fi > >+AC_SUBST([OPT_CFLAGS]) >+AC_SUBST([OPT_LDFLAGS]) >+ > fi > ])
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 237675
:
165445
|
165446
|
165448
|
165449
|
165451
|
165766
|
165767
| 165768 |
165770
|
165771
|
165773
|
165775
|
165777
|
165779