[llvm-branch-commits] [cfe-branch] r118765 - /cfe/branches/Apple/williamson-IB/ClangBNI.mk
Daniel Dunbar
daniel at zuster.org
Wed Nov 10 17:33:02 PST 2010
Author: ddunbar
Date: Wed Nov 10 19:33:02 2010
New Revision: 118765
URL: http://llvm.org/viewvc/llvm-project?rev=118765&view=rev
Log:
Add update-sources-from-tag utility target.
Modified:
cfe/branches/Apple/williamson-IB/ClangBNI.mk
Modified: cfe/branches/Apple/williamson-IB/ClangBNI.mk
URL: http://llvm.org/viewvc/llvm-project/cfe/branches/Apple/williamson-IB/ClangBNI.mk?rev=118765&r1=118764&r2=118765&view=diff
==============================================================================
--- cfe/branches/Apple/williamson-IB/ClangBNI.mk (original)
+++ cfe/branches/Apple/williamson-IB/ClangBNI.mk Wed Nov 10 19:33:02 2010
@@ -294,7 +294,7 @@
# Determine if we are running an SVN utility target.
SVN_UTILITY_TARGETS := \
- test-svn update-sources \
+ test-svn update-sources update-sources-from-tag \
rebranch-llvm-from-tag rebranch-clang-from-tag \
rebranch-clang-from-revision \
tag-clang retag-clang
@@ -371,6 +371,15 @@
$(SVN_COMMAND) cp -m 'Update.' $(CompilerRT_Upstream)@$(REVISION) $(SVN_CLANG)/src/projects/compiler-rt
$(SVN_COMMAND) up
+update-sources-from-tag:
+ @if ! [ -n "$(VERSION)" ]; then \
+ echo Usage: make $@ VERSION=122; \
+ false; \
+ fi
+ $(SVN_COMMAND) rm -m 'Update.' $(SVN_CLANG)/src
+ $(SVN_COMMAND) cp -m 'Update from clang-$(VERSION).' $(SVN_TAGS)/clang-$(VERSION)/src $(SVN_CLANG)/src
+ $(SVN_COMMAND) up
+
rebranch-llvm-from-tag:
@if ! [ -n "$(VERSION)" ]; then \
echo Usage: make $@ VERSION=65; \
More information about the llvm-branch-commits
mailing list