Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 76115 Details for
Bug 117676
scipy-svn -- open source scientific tools for python
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch for EM64T intel 64 bit extensions
nocona.patch (text/plain), 1.58 KB, created by
Roman Stanchak
on 2006-01-03 16:13:09 UTC
(
hide
)
Description:
patch for EM64T intel 64 bit extensions
Filename:
MIME Type:
Creator:
Roman Stanchak
Created:
2006-01-03 16:13:09 UTC
Size:
1.58 KB
patch
obsolete
>Index: scipy_distutils/gnufcompiler.py >=================================================================== >--- scipy_distutils/gnufcompiler.py (revision 986) >+++ scipy_distutils/gnufcompiler.py (working copy) >@@ -174,6 +174,8 @@ > opt.append('-march=opteron') > elif cpu.is_Athlon64(): > opt.append('-march=athlon64') >+ elif cpu.is_Nocona(): >+ opt.append('-march=nocona') > else: > march_flag = 0 > if cpu.has_mmx(): opt.append('-mmmx') >@@ -196,7 +198,8 @@ > elif cpu.is_i386(): > opt.append('-march=i386') > if cpu.is_Intel(): >- opt.extend(['-malign-double','-fomit-frame-pointer']) >+ if not cpu.is_64bit(): >+ opt.extend(['-malign-double','-fomit-frame-pointer']) > return opt > > if __name__ == '__main__': >Index: scipy_distutils/cpuinfo.py >=================================================================== >--- scipy_distutils/cpuinfo.py (revision 986) >+++ scipy_distutils/cpuinfo.py (working copy) >@@ -180,12 +180,12 @@ > def _is_Itanium(self): > return re.match(r'.*?Itanium\b', > self.info[0]['model name']) is not None >- > def _is_XEON(self): > return re.match(r'.*?XEON\b', >- self.info[0]['model name']) is not None >- >- >+ self.info[0]['model name']) is not None >+ def _is_Nocona(self): >+ return self.info[0]['cpu family']=='15' and self.info[0]['model']=='4' >+ > # Varia > > def _is_singleCPU(self):
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 117676
:
76114
|
76115
|
76116
|
76117
|
78167
|
78168