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
4d599a78
Commit
4d599a78
authored
Dec 13, 2014
by
Daniel Agar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cmake properly exclude llvm from the "all" target
-now we only build the parts of llvm that are actually required
parent
224d6251
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
CMakeLists.txt
CMakeLists.txt
+1
-2
No files found.
CMakeLists.txt
View file @
4d599a78
...
...
@@ -45,13 +45,12 @@ add_custom_target(llvm_up DEPENDS llvm_gotorev clang_gotorev)
# llvm
set
(
LLVM_TARGETS_TO_BUILD
"host"
CACHE STRING
"LLVM targets"
)
#set(LLVM_EXTERNAL_CLANG_SOURCE_DIR "${CMAKE_SOURCE_DIR}/clang" CACHE String "Clang directory")
#add_subdirectory(llvm EXCLUDE_FROM_ALL)
if
(
ENABLE_INTEL_JIT_EVENTS
)
set
(
LLVM_USE_INTEL_JITEVENTS
"ON"
CACHE STRING
"Enable building support for the Intel JIT Events API"
)
set
(
INTEL_JIT_EVENTS_LIB
"inteljitevents"
)
add_definitions
(
-DENABLE_INTEL_JIT_EVENTS=1
)
endif
()
add_subdirectory
(
${
DEPS_DIR
}
/llvm-trunk
${
CMAKE_BINARY_DIR
}
/llvm
)
add_subdirectory
(
${
DEPS_DIR
}
/llvm-trunk
${
CMAKE_BINARY_DIR
}
/llvm
EXCLUDE_FROM_ALL
)
set
(
CMAKE_MODULE_PATH
"
${
CMAKE_BINARY_DIR
}
/llvm/share/llvm/cmake/"
)
include
(
LLVMConfig
)
llvm_map_components_to_libnames
(
LLVM_LIBS core mcjit native bitreader ipo irreader debuginfo instrumentation
${
INTEL_JIT_EVENTS_LIB
}
)
...
...
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