File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 14
14
mkdir -p ~ /src/llvm-project/build.release
15
15
pushd ~ /src/llvm-project/build.release
16
16
17
- echo === Building based on r$( git log -n 1 | grep ' git-svn-id ' | sed -e ' s|.*@\([0-9]*\).*|\1| ' ) ...
17
+ echo === Building based on r$( git log -n 1 --pretty=format: " %h " ) ...
18
18
cmake -G Ninja -DCMAKE_BUILD_TYPE=MinSizeRel -DLLVM_ENABLE_PROJECTS=clang ../llvm
19
19
ninja clang-format
20
20
popd
@@ -33,7 +33,7 @@ ssh $LINUX_HOST << EOF
33
33
34
34
mkdir -p ~/src/llvm-project/build.release
35
35
pushd ~/src/llvm-project/build.release
36
- echo === Building based on r\$ (git log -n 1 | grep 'git-svn-id' | sed -e 's|.*@\([0-9]*\).*|\1|' ) ...
36
+ echo === Building based on r\$ (git log -n 1 --pretty=format:"%h" ) ...
37
37
cmake -G Ninja -DCMAKE_BUILD_TYPE=MinSizeRel -DLLVM_BUILD_STATIC=true -DLLVM_ENABLE_ZLIB=no -DLLVM_ENABLE_PROJECTS=clang ../llvm
38
38
ninja clang-format
39
39
popd
You can’t perform that action at this time.
0 commit comments