Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
pyodide
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
Boxiang Sun
pyodide
Commits
01bd8c8f
Commit
01bd8c8f
authored
Apr 19, 2018
by
Michael Droettboom
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Turn on link-time optimizations, now that compiler works
parent
ea3006aa
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
0 deletions
+2
-0
Makefile
Makefile
+1
-0
numpy/Makefile
numpy/Makefile
+1
-0
No files found.
Makefile
View file @
01bd8c8f
...
...
@@ -13,6 +13,7 @@ CXX=em++
OPTFLAGS
=
-O3
CXXFLAGS
=
-std
=
c++14
$(OPTFLAGS)
-g
-I
$(CPYTHONINC)
-Wno-warn-absolute-paths
LDFLAGS
=
\
-O3
\
-s
MODULARIZE
=
1
\
$(CPYTHONROOT)
/installs/python-
$(PYVERSION)
/lib/libpython
$(PYMINOR)
.a
\
-s
"BINARYEN_METHOD='native-wasm'"
\
...
...
numpy/Makefile
View file @
01bd8c8f
...
...
@@ -40,6 +40,7 @@ CC=emcc
AR
=
emar
CFLAGS
=
-O3
-Werror
-std
=
c99
-DNPY_INTERNAL_BUILD
=
1
-DHAVE_NPY_CONFIG_H
=
1
-D_FILE_OFFSET_BITS
=
64
-D_LARGEFILE_SOURCE
=
1
-D_LARGEFILE64_SOURCE
=
1
-I
$(ROOT)
/config
-I
$(INCLUDE)
-I
$(GENINCLUDE)
/numpy
-I
$(INCLUDE)
/private
-I
$(SRC)
-I
$(SRC)
/..
-I
$(SRC)
/private
-I
$(SRC)
/npymath
-I
$(SRC)
/multiarray
-I
$(SRC)
/umath
-I
$(SRC)
/npysort
-I
$(PYTHONINCLUDE)
-I
$(GENSRC)
/private
-I
$(GENSRC)
/npymath
-I
$(GENSRC)
/umath
LDFLAGS
=
\
-O3
\
-Werror
\
-s
EMULATED_FUNCTION_POINTERS
=
1
\
-s
EMULATE_FUNCTION_POINTER_CASTS
=
1
\
...
...
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