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
acd11197
Commit
acd11197
authored
Feb 24, 2015
by
Kevin Modzelewski
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #322 from dagar/submodulesfix
cmake fix gitsubmodules update
parents
98ac2eeb
396303d4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
CMakeLists.txt
CMakeLists.txt
+3
-4
No files found.
CMakeLists.txt
View file @
acd11197
...
...
@@ -74,12 +74,11 @@ add_custom_target(llvm_gotorev python ${CMAKE_SOURCE_DIR}/tools/git_svn_gotorev.
add_custom_target
(
clang_gotorev python
${
CMAKE_SOURCE_DIR
}
/tools/git_svn_gotorev.py
${
DEPS_DIR
}
/llvm-trunk/tools/clang
${
LLVMREV
}
clang_patches WORKING_DIRECTORY
${
CMAKE_SOURCE_DIR
}
)
add_custom_target
(
llvm_up DEPENDS llvm_gotorev clang_gotorev
)
set
(
LIBUNWIND_GITHEAD
"
${
CMAKE_SOURCE_DIR
}
/.git/modules/libunwind/HEAD"
)
set
(
LIBPYPA_GITHEAD
"
${
CMAKE_SOURCE_DIR
}
/.git/modules/libpypa/HEAD"
)
add_custom_command
(
OUTPUT
${
LIBUNWIND_GITHEAD
}
${
LIBPYPA_GITHEAD
}
add_custom_command
(
OUTPUT
${
CMAKE_BINARY_DIR
}
/gitmodules
COMMAND git submodule update --init WORKING_DIRECTORY
${
CMAKE_SOURCE_DIR
}
COMMAND cmake -E touch
${
CMAKE_BINARY_DIR
}
/gitmodules
DEPENDS
${
CMAKE_SOURCE_DIR
}
/.gitmodules
)
add_custom_target
(
gitsubmodules DEPENDS
${
LIBUNWIND_GITHEAD
}
${
LIBPYPA_GITHEAD
}
)
add_custom_target
(
gitsubmodules DEPENDS
${
CMAKE_BINARY_DIR
}
/gitmodules
)
# llvm
set
(
LLVM_TARGETS_TO_BUILD
"host"
CACHE STRING
"LLVM targets"
)
...
...
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