Skip to content
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.

Commit

Permalink
src/sage/structure: Move Extension options from src/module_list.py to…
Browse files Browse the repository at this point in the history
… distutils directives
  • Loading branch information
mkoeppe committed May 21, 2020
1 parent eed920e commit 0d25d1d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/module_list.py
Original file line number Diff line number Diff line change
Expand Up @@ -1388,13 +1388,6 @@ def uname_specific(name, value, alternative):
##
################################

# Compile this with -Os because it works around a bug with
# GCC-4.7.3 + Cython 0.19 on Itanium, see Trac #14452. Moreover, it
# actually results in faster code than -O3.
Extension('sage.structure.element',
sources = ['sage/structure/element.pyx'],
extra_compile_args=["-Os"]),

Extension('*', ['sage/structure/*.pyx']),

################################
Expand Down
6 changes: 6 additions & 0 deletions src/sage/structure/element.pyx
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# Compile this with -Os because it works around a bug with
# GCC-4.7.3 + Cython 0.19 on Itanium, see Trac #14452. Moreover, it
# actually results in faster code than -O3.
#
# distutils: extra_compile_args = -Os

r"""
Elements
Expand Down

0 comments on commit 0d25d1d

Please sign in to comment.