Skip to content

Commit

Permalink
REL: re-enable SSE2 binary in the superpack.
Browse files Browse the repository at this point in the history
  • Loading branch information
cournape committed Nov 30, 2009
1 parent e0abf3b commit d4d3480
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 21 deletions.
4 changes: 2 additions & 2 deletions pavement.py
Original file line number Diff line number Diff line change
Expand Up @@ -202,8 +202,8 @@ def copy_bdist(arch):

bdist_wininst_arch(pyver, 'nosse')
copy_bdist("nosse")
#bdist_wininst_arch(pyver, 'sse2')
#copy_bdist("sse2")
bdist_wininst_arch(pyver, 'sse2')
copy_bdist("sse2")
bdist_wininst_arch(pyver, 'sse3')
copy_bdist("sse3")

Expand Down
38 changes: 19 additions & 19 deletions tools/win32build/nsis_scripts/numpy-superinstaller.nsi.in
Original file line number Diff line number Diff line change
Expand Up @@ -99,16 +99,16 @@ Section "Core" SecCore
Pop $0
StrCpy $HasSSE3 $0

; ; Debug
; StrCmp $HasSSE2 "Y" include_sse2 no_include_sse2
; include_sse2:
; DetailPrint '"Target CPU handles SSE2"'
; StrCpy $CPUSSE "2"
; goto done_sse2
; no_include_sse2:
; DetailPrint '"Target CPU does NOT handle SSE2"'
; goto done_sse2
; done_sse2:
; Debug
StrCmp $HasSSE2 "Y" include_sse2 no_include_sse2
include_sse2:
DetailPrint '"Target CPU handles SSE2"'
StrCpy $CPUSSE "2"
goto done_sse2
no_include_sse2:
DetailPrint '"Target CPU does NOT handle SSE2"'
goto done_sse2
done_sse2:

StrCmp $HasSSE3 "Y" include_sse3 no_include_sse3
include_sse3:
Expand All @@ -130,10 +130,10 @@ Section "Core" SecCore
DetailPrint '"nosse install (arch value: $option_arch)"'
StrCpy $CPUSSE "0"
${Break}
; ${Case} "sse2"
; DetailPrint '"sse2 install (arch value: $option_arch)"'
; StrCpy $CPUSSE "2"
; ${Break}
${Case} "sse2"
DetailPrint '"sse2 install (arch value: $option_arch)"'
StrCpy $CPUSSE "2"
${Break}
${Case} "sse3"
DetailPrint '"sse3 install (arch value: $option_arch)"'
StrCpy $CPUSSE "3"
Expand All @@ -151,11 +151,11 @@ Section "Core" SecCore
File "binaries\@SSE3_BINARY@"
ExecWait '"$INSTDIR\@SSE3_BINARY@"'
${Break}
; ${Case} "2"
; DetailPrint '"Install SSE 2"'
; File "binaries\@SSE2_BINARY@"
; ExecWait '"$INSTDIR\@SSE2_BINARY@"'
; ${Break}
${Case} "2"
DetailPrint '"Install SSE 2"'
File "binaries\@SSE2_BINARY@"
ExecWait '"$INSTDIR\@SSE2_BINARY@"'
${Break}
${Default}
DetailPrint '"Install NO SSE"'
File "binaries\@NOSSE_BINARY@"
Expand Down

0 comments on commit d4d3480

Please sign in to comment.