Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
Pyston
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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boxiang Sun
Pyston
Commits
95bb8c7a
Commit
95bb8c7a
authored
Mar 04, 2015
by
Kevin Modzelewski
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #346 from dagar/gcc
cmake ignore gcc warnings in from_cpython
parents
38fdf541
6d30e94b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
from_cpython/CMakeLists.txt
from_cpython/CMakeLists.txt
+1
-1
src/CMakeLists.txt
src/CMakeLists.txt
+2
-1
No files found.
from_cpython/CMakeLists.txt
View file @
95bb8c7a
...
...
@@ -23,5 +23,5 @@ file(GLOB_RECURSE STDOBJECT_SRCS Objects structseq.c capsule.c stringobject.c ex
# compile specified files in from_cpython/Python
file
(
GLOB_RECURSE STDPYTHON_SRCS Python getargs.c pyctype.c formatter_string.c pystrtod.c dtoa.c formatter_unicode.c structmember.c
)
set
(
CMAKE_C_FLAGS
"
${
CMAKE_C_FLAGS
}
-Wno-missing-field-initializers -Wno-tautological-compare -Wno-type-limits"
)
set
(
CMAKE_C_FLAGS
"
${
CMAKE_C_FLAGS
}
-Wno-missing-field-initializers -Wno-tautological-compare -Wno-type-limits
-Wno-unused-result -Wno-strict-aliasing
"
)
add_library
(
FROM_CPYTHON OBJECT
${
STDMODULE_SRCS
}
${
STDOBJECT_SRCS
}
${
STDPYTHON_SRCS
}
)
src/CMakeLists.txt
View file @
95bb8c7a
...
...
@@ -30,8 +30,9 @@ endif()
add_library
(
PYSTON_OBJECTS OBJECT codegen/profiling/profiling.cpp
${
ANALYSIS_SRCS
}
${
ASM_WRITING_SRCS
}
${
CAPI_SRCS
}
${
CODEGEN_SRCS
}
${
CODEGEN_IRGEN_SRCS
}
${
CODEGEN_OPT_SRCS
}
${
CORE_SRCS
}
${
GC_SRCS
}
${
RUNTIME_BUILTIN_MODULES_SRCS
}
${
RUNTIME_SRCS
}
${
OPTIONAL_SRCS
}
)
add_dependencies
(
PYSTON_OBJECTS libunwind pypa
${
LLVM_LIBS
}
)
add_library
(
PYSTON_MAIN_OBJECT OBJECT jit.cpp
)
add_dependencies
(
PYSTON_MAIN_OBJECT
${
LLVM_LIBS
}
)
add_dependencies
(
PYSTON_MAIN_OBJECT
libunwind pypa
${
LLVM_LIBS
}
)
# build stdlib
add_subdirectory
(
runtime/inline
)
...
...
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