Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Gwenaël Samain
cython
Commits
645676e1
Commit
645676e1
authored
Feb 11, 2011
by
Lisandro Dalcin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Windows: fixes for previous commit
parent
23360aab
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
6 deletions
+5
-6
runtests.py
runtests.py
+5
-6
No files found.
runtests.py
View file @
645676e1
...
@@ -416,23 +416,22 @@ class CythonCompileTestCase(unittest.TestCase):
...
@@ -416,23 +416,22 @@ class CythonCompileTestCase(unittest.TestCase):
build_extension
.
finalize_options
()
build_extension
.
finalize_options
()
if
COMPILER
:
if
COMPILER
:
build_extension
.
compiler
=
COMPILER
build_extension
.
compiler
=
COMPILER
if
(
sys
.
platform
==
'win32'
and
build_extension
.
compiler
==
'mingw32'
):
CFLAGS
.
append
(
'-Wno-format'
)
ext_include_dirs
=
[]
ext_include_dirs
=
[]
for
match
,
get_additional_include_dirs
in
EXT_DEP_INCLUDES
:
for
match
,
get_additional_include_dirs
in
EXT_DEP_INCLUDES
:
if
match
(
module
):
if
match
(
module
):
ext_include_dirs
+=
get_additional_include_dirs
()
ext_include_dirs
+=
get_additional_include_dirs
()
self
.
copy_related_files
(
test_directory
,
workdir
,
module
)
ext_compile_flags
=
CFLAGS
[:]
if
build_extension
.
compiler
==
'mingw32'
:
ext_compile_flags
.
append
(
'-Wno-format'
)
if
extra_extension_args
is
None
:
if
extra_extension_args
is
None
:
extra_extension_args
=
{}
extra_extension_args
=
{}
self
.
copy_related_files
(
test_directory
,
workdir
,
module
)
extension
=
Extension
(
extension
=
Extension
(
module
,
module
,
sources
=
self
.
find_source_files
(
workdir
,
module
),
sources
=
self
.
find_source_files
(
workdir
,
module
),
include_dirs
=
ext_include_dirs
,
include_dirs
=
ext_include_dirs
,
extra_compile_args
=
CFLAGS
,
extra_compile_args
=
ext_compile_flags
,
**
extra_extension_args
**
extra_extension_args
)
)
if
self
.
language
==
'cpp'
:
if
self
.
language
==
'cpp'
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment