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
fc7a1c1a
Commit
fc7a1c1a
authored
Nov 20, 2014
by
Daniel Agar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cmake add astcompare
parent
4c08d492
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
CMakeLists.txt
CMakeLists.txt
+6
-3
No files found.
CMakeLists.txt
View file @
fc7a1c1a
...
...
@@ -15,9 +15,8 @@ if(NOT ${CMAKE_BUILD_TYPE} STREQUAL "Release" AND NOT ${CMAKE_BUILD_TYPE} STREQU
message
(
FATAL_ERROR
"CMAKE_BUILD_TYPE must be set to Release or Debug"
)
endif
()
option
(
ENABLE_GIL
"threadind use GIL"
ON
)
option
(
ENABLE_GRWL
"threadind use GRWL"
OFF
)
option
(
ENABLE_GIL
"threading use GIL"
ON
)
option
(
ENABLE_GRWL
"threading use GRWL"
OFF
)
option
(
ENABLE_INTEL_JIT_EVENTS
"LLVM support for Intel JIT Events API"
OFF
)
option
(
ENABLE_LLVM_DEBUG
"LLVM debug symbols"
OFF
)
option
(
ENABLE_VALGRIND
"pyston valgrind support"
OFF
)
...
...
@@ -127,6 +126,10 @@ target_link_libraries(pyston stdlib pthread m readline gmp unwind pypa double-co
add_custom_command
(
TARGET pyston POST_BUILD COMMAND
${
CMAKE_COMMAND
}
-E copy_directory
${
CMAKE_SOURCE_DIR
}
/lib_python/2.7
${
CMAKE_BINARY_DIR
}
/lib_python/2.7
)
add_custom_command
(
TARGET pyston POST_BUILD COMMAND
${
CMAKE_COMMAND
}
-E copy_if_different
${
CMAKE_SOURCE_DIR
}
/src/codegen/parse_ast.py
${
CMAKE_BINARY_DIR
}
/src/codegen/parse_ast.py
)
add_custom_target
(
astcompare COMMAND
${
CMAKE_SOURCE_DIR
}
/tools/astprint_test.sh
DEPENDS astprint
COMMENT
"Running libpypa vs CPython AST result comparison test"
)
# test
enable_testing
()
add_test
(
NAME lint COMMAND python
${
CMAKE_SOURCE_DIR
}
/tools/lint.py WORKING_DIRECTORY
${
CMAKE_SOURCE_DIR
}
/src
)
...
...
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