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
8be08efc
Commit
8be08efc
authored
May 06, 2015
by
Daniel Agar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cmake configure HAVE_STROPTS_H for Fedora
parent
5be426fc
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletion
+3
-1
CMakeLists.txt
CMakeLists.txt
+2
-0
from_cpython/Include/pyconfig.h.in
from_cpython/Include/pyconfig.h.in
+1
-1
No files found.
CMakeLists.txt
View file @
8be08efc
...
@@ -3,6 +3,7 @@ project(pyston C CXX ASM)
...
@@ -3,6 +3,7 @@ project(pyston C CXX ASM)
set
(
CMAKE_MODULE_PATH
${
CMAKE_SOURCE_DIR
}
/cmake
)
set
(
CMAKE_MODULE_PATH
${
CMAKE_SOURCE_DIR
}
/cmake
)
include
(
CheckIncludeFiles
)
include
(
CheckTypeSizeof
)
include
(
CheckTypeSizeof
)
include
(
ExternalProject
)
include
(
ExternalProject
)
...
@@ -165,6 +166,7 @@ include_directories(${LLVM_INCLUDE_DIRS})
...
@@ -165,6 +166,7 @@ include_directories(${LLVM_INCLUDE_DIRS})
# generate pyconfig.h
# generate pyconfig.h
set
(
CMAKE_EXTRA_INCLUDE_FILES unordered_map
)
set
(
CMAKE_EXTRA_INCLUDE_FILES unordered_map
)
check_type_sizeof
(
"std::unordered_map<void*, void*>"
SIZEOF_UNORDEREDMAP LANGUAGE CXX
)
check_type_sizeof
(
"std::unordered_map<void*, void*>"
SIZEOF_UNORDEREDMAP LANGUAGE CXX
)
check_include_files
(
stropts.h HAVE_STROPTS_H
)
configure_file
(
from_cpython/Include/pyconfig.h.in from_cpython/Include/pyconfig.h
)
configure_file
(
from_cpython/Include/pyconfig.h.in from_cpython/Include/pyconfig.h
)
find_package
(
LibLZMA REQUIRED
)
find_package
(
LibLZMA REQUIRED
)
...
...
from_cpython/Include/pyconfig.h.in
View file @
8be08efc
...
@@ -108,7 +108,6 @@
...
@@ -108,7 +108,6 @@
#define HAVE_STDLIB_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STRINGS_H 1
#define HAVE_STRINGS_H 1
#define HAVE_STRING_H 1
#define HAVE_STRING_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYSEXITS_H 1
#define HAVE_SYSEXITS_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_FILE_H 1
...
@@ -131,6 +130,7 @@
...
@@ -131,6 +130,7 @@
#define HAVE_WCHAR_H 1
#define HAVE_WCHAR_H 1
#define HAVE_WORKING_TZSET 1
#define HAVE_WORKING_TZSET 1
#define HAVE_PUTENV 1
#define HAVE_PUTENV 1
#cmakedefine HAVE_STROPTS_H 1
// Added this for some Pyston modifications:
// Added this for some Pyston modifications:
#define MAX_PYSTRING_SIZE (PY_SSIZE_T_MAX/2 - (1<<20))
#define MAX_PYSTRING_SIZE (PY_SSIZE_T_MAX/2 - (1<<20))
...
...
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