diff options
author | Zoltan Varga <vargaz@gmail.com> | 2016-06-07 17:46:33 +0300 |
---|---|---|
committer | Zoltan Varga <vargaz@gmail.com> | 2016-06-07 17:46:33 +0300 |
commit | d110f526706b7c4880ca916e2dfbab93138871cd (patch) | |
tree | 260fb467662aae06408fda88e2f82679983922d4 /llvm/Makefile.am | |
parent | 07bb23a4d4a4f258c2b68e6553dd389945f8b779 (diff) |
Llvm submodule (#3108)
* Move the versions.mk infrastructure to scripts/submodules so it can be used elsewhere too.
* Add a conditional submodule for llvm.
* Fix commit messages emitted by the bump- targets.
* Use a anonymous git url for llvm.
Diffstat (limited to 'llvm/Makefile.am')
-rw-r--r-- | llvm/Makefile.am | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/llvm/Makefile.am b/llvm/Makefile.am new file mode 100644 index 00000000000..e380f2bebf7 --- /dev/null +++ b/llvm/Makefile.am @@ -0,0 +1,27 @@ +# +# Conditional submodule for llvm +# +# make reset-llvm will checkout a version of llvm which is suitable for this version of mono +# into $top_srcdir/llvm/llvm. +# + +LLVM_PATH=llvm + +include $(top_srcdir)/scripts/submodules/versions.mk + +$(eval $(call ValidateVersionTemplate,llvm,LLVM)) + +# Bump the given submodule to the revision given by the REV make variable +# If COMMIT is 1, commit the change +bump-llvm: __bump-version-llvm + +# Bump the given submodule to the branch given by the BRANCH/REMOTE_BRANCH make variables +# If COMMIT is 1, commit the change +bump-branch-llvm: __bump-branch-llvm + +# Bump the given submodule to its current GIT version +# If COMMIT is 1, commit the change +bump-current-llvm: __bump-current-version-llvm + +clean-local: + $(RM) -r $(LLVM_PATH) |