projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
028579b
)
build_llvm_package.bat: Use a short form of the git revision
author
Hans Wennborg
<hans@chromium.org>
Mon, 3 Feb 2020 15:39:18 +0000
(16:39 +0100)
committer
Hans Wennborg
<hans@chromium.org>
Mon, 3 Feb 2020 15:40:10 +0000
(16:40 +0100)
llvm/utils/release/build_llvm_package.bat
patch
|
blob
|
history
diff --git
a/llvm/utils/release/build_llvm_package.bat
b/llvm/utils/release/build_llvm_package.bat
index
078d64d
..
82d6076
100755
(executable)
--- a/
llvm/utils/release/build_llvm_package.bat
+++ b/
llvm/utils/release/build_llvm_package.bat
@@
-27,9
+27,9
@@
set python64_dir=C:\Users\%USERNAME%\AppData\Local\Programs\Python\Python36
for /f "usebackq" %%i in (`PowerShell ^(Get-Date^).ToString^('yyyyMMdd'^)`) do set datestamp=%%i
\r
\r
set revision=%1
\r
-set package_version=11.0.0-%revision%
\r
+set package_version=11.0.0-%revision
:~0,8
%
\r
set clang_format_vs_version=11.0.0.%datestamp%
\r
-set build_dir=llvm_package_%revision%
\r
+set build_dir=llvm_package_%revision
:~0,8
%
\r
\r
echo Revision: %revision%
\r
echo Package version: %package_version%
\r