[llvmlinux] make llvm-sync: Typo in llvm-reset target/phony?

Sedat Dilek sedat.dilek at gmail.com
Sat Jul 13 19:19:09 UTC 2013


On Sat, Jul 13, 2013 at 9:00 PM, Behan Webster
<behanw at converseincode.com> wrote:
> On 07/13/13 14:17, Sedat Dilek wrote:
>>
>> OK, you were faster (I have sent a patch parallelly with a detailed
>> changelog).
>> Do me a favour next time, when I am reporting issues, just trust me.
>
> I did trust you. I spent time trying to reproduce the same thing. Like I
> said, it syncs for me just fine.
>
> What I said was that I couldn't reproduce the same outcome as you were. I
> hardly ignored what you were saying.
>
> And I'm not sure why your comments are relevant. The sync has nothing to do
> with the patch you submitted. Your patch only has relevance at initial "git
> clone" time, not when we sync. This is the sync code. Although llvm-clean is
> run, llvm-fetch isn't, since the stamp file has already been created for
> that step.
>
> ##############################################################################
> llvmsync = $(call banner,Updating ${1}...) ; \
>     $(call unpatch,${2}) ; \
>     [ ! -d ${2} ] || if [ -n "${4}" ] ; then \
>         $(call banner,Syncing commit-ish ${1}...) ; \
>         $(call gitcheckout,${2},${3},${4}) ; \
>     else \
>         $(call gitpull,${2},${3}) ; \
>     fi
>
> ##############################################################################
> llvm-sync: llvm-clean
>     @$(call check_llvmlinux_commit,${CONFIG})
>     @$(call llvmsync,LLVM,${LLVMDIR},${LLVM_BRANCH},${LLVM_COMMIT})
>     @$(call llvmsync,unpatched
> LLVM,${LLVMDIR2},${LLVM_BRANCH},${LLVM_COMMIT})
>
>
> The bug you found is important, but irrelevant to the behaviour you
> reported.
>
>
>> When I am unsure or don't know I am honest enough to admit it.
>
> Sounds good.
>

You have shown to always want to say the last word.
Fact is, llvm-sync simply was BROKEN.

See the attached log of this one:

$ LC_ALL=C make CONFIG=checkpoints/config.mk llvm-sync clang-sync
kernel-sync 2>&1 | tee ~/src/llvmlinux/sync-log.txt

[ sync-log.txt ]
...
Syncing kernel...
---------------------------------------------------------------------
HEAD is now at 8bb495e... Linux 3.10
>From git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux
 * tag               v3.10      -> FETCH_HEAD
error: could not create temporary file
'/home/wearefam/src/llvmlinux/llvmlinux-git/targets/x86_64/tmp/.git_vtag_tmpx5hnrQ':
No such file or directory
Already up-to-date.

Happy fixing (by yourself).

- Sedat -

>
> Behan
>
> --
> Behan Webster
> behanw at converseincode.com
>
-------------- next part --------------
---------------------------------------------------------------------
Fetching LLVM...
---------------------------------------------------------------------
Cloning into '/home/wearefam/src/llvmlinux/llvmlinux-git/toolchain/clang/src/llvm'...
Checking connectivity... done
---------------------------------------------------------------------
Finished state llvm-fetch
---------------------------------------------------------------------
---------------------------------------------------------------------
Cleaning LLVM...
---------------------------------------------------------------------
---------------------------------------------------------------------
Removing LLVM patches...
---------------------------------------------------------------------
---------------------------------------------------------------------
Cleaning unpatched LLVM...
---------------------------------------------------------------------
---------------------------------------------------------------------
Removing LLVM Build and Install dirs...
---------------------------------------------------------------------
---------------------------------------------------------------------
Fetching Clang...
---------------------------------------------------------------------
Cloning into '/home/wearefam/src/llvmlinux/llvmlinux-git/toolchain/clang/src/clang'...
Checking connectivity... done
---------------------------------------------------------------------
Finished state clang-fetch
---------------------------------------------------------------------
---------------------------------------------------------------------
Cleaning Clang...
---------------------------------------------------------------------
---------------------------------------------------------------------
Removing Clang patches...
---------------------------------------------------------------------
---------------------------------------------------------------------
Cleaning unpatched Clang...
---------------------------------------------------------------------
---------------------------------------------------------------------
Removing Clang Build and Install dirs...
---------------------------------------------------------------------
---------------------------------------------------------------------
Updating LLVM...
---------------------------------------------------------------------
Already on 'release_33'
From https://github.com/llvm-mirror/llvm
 * branch            release_33 -> FETCH_HEAD
Already up-to-date.
---------------------------------------------------------------------
Updating unpatched LLVM...
---------------------------------------------------------------------
---------------------------------------------------------------------
Updating Clang...
---------------------------------------------------------------------
Already on 'release_33'
From https://github.com/llvm-mirror/clang
 * branch            release_33 -> FETCH_HEAD
Already up-to-date.
---------------------------------------------------------------------
Updating Unpatched Clang...
---------------------------------------------------------------------
---------------------------------------------------------------------
Cloning shared kernel repo...
---------------------------------------------------------------------
Cloning into bare repository '/home/wearefam/src/llvmlinux/llvmlinux-git/arch/all/kernel.git'...
Checking connectivity... done
---------------------------------------------------------------------
Cloning kernel...
---------------------------------------------------------------------
---------------------------------------------------------------------
Checking out kernel branch...
---------------------------------------------------------------------
[ -d /home/wearefam/src/llvmlinux/llvmlinux-git/targets/x86_64/src/linux/.git ] || (rm -rf /home/wearefam/src/llvmlinux/llvmlinux-git/targets/x86_64/src/linux && git clone --reference /home/wearefam/src/llvmlinux/llvmlinux-git/arch/all/kernel.git git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git -b master /home/wearefam/src/llvmlinux/llvmlinux-git/targets/x86_64/src/linux )
Cloning into '/home/wearefam/src/llvmlinux/llvmlinux-git/targets/x86_64/src/linux'...
Checking connectivity... Checking out files:  12% (5465/44082)   
Checking out files:  13% (5731/44082)   
Checking out files:  14% (6172/44082)   
Checking out files:  15% (6613/44082)   
Checking out files:  16% (7054/44082)   
Checking out files:  17% (7494/44082)   
Checking out files:  18% (7935/44082)   
Checking out files:  19% (8376/44082)   
Checking out files:  20% (8817/44082)   
Checking out files:  21% (9258/44082)   
Checking out files:  22% (9699/44082)   
Checking out files:  23% (10139/44082)   
Checking out files:  24% (10580/44082)   
Checking out files:  25% (11021/44082)   
Checking out files:  26% (11462/44082)   
Checking out files:  26% (11482/44082)   
Checking out files:  27% (11903/44082)   
Checking out files:  28% (12343/44082)   
Checking out files:  29% (12784/44082)   
Checking out files:  30% (13225/44082)   
Checking out files:  31% (13666/44082)   
Checking out files:  32% (14107/44082)   
Checking out files:  33% (14548/44082)   
Checking out files:  34% (14988/44082)   
Checking out files:  35% (15429/44082)   
Checking out files:  36% (15870/44082)   
Checking out files:  37% (16311/44082)   
Checking out files:  38% (16752/44082)   
Checking out files:  39% (17192/44082)   
Checking out files:  39% (17482/44082)   
Checking out files:  40% (17633/44082)   
Checking out files:  41% (18074/44082)   
Checking out files:  42% (18515/44082)   
Checking out files:  43% (18956/44082)   
Checking out files:  44% (19397/44082)   
Checking out files:  44% (19810/44082)   
Checking out files:  45% (19837/44082)   
Checking out files:  45% (20146/44082)   
Checking out files:  45% (20212/44082)   
Checking out files:  46% (20278/44082)   
Checking out files:  47% (20719/44082)   
Checking out files:  48% (21160/44082)   
Checking out files:  48% (21522/44082)   
Checking out files:  49% (21601/44082)   
Checking out files:  50% (22041/44082)   
Checking out files:  50% (22124/44082)   
Checking out files:  51% (22482/44082)   
Checking out files:  52% (22923/44082)   
Checking out files:  53% (23364/44082)   
Checking out files:  54% (23805/44082)   
Checking out files:  55% (24246/44082)   
Checking out files:  55% (24648/44082)   
Checking out files:  56% (24686/44082)   
Checking out files:  57% (25127/44082)   
Checking out files:  57% (25388/44082)   
Checking out files:  57% (25390/44082)   
Checking out files:  58% (25568/44082)   
Checking out files:  59% (26009/44082)   
Checking out files:  60% (26450/44082)   
Checking out files:  60% (26626/44082)   
Checking out files:  61% (26891/44082)   
Checking out files:  62% (27331/44082)   
Checking out files:  63% (27772/44082)   
Checking out files:  64% (28213/44082)   
Checking out files:  65% (28654/44082)   
Checking out files:  65% (28722/44082)   
Checking out files:  65% (29052/44082)   
Checking out files:  66% (29095/44082)   
Checking out files:  67% (29535/44082)   
Checking out files:  67% (29892/44082)   
Checking out files:  67% (29922/44082)   
Checking out files:  68% (29976/44082)   
Checking out files:  69% (30417/44082)   
Checking out files:  70% (30858/44082)   
Checking out files:  71% (31299/44082)   
Checking out files:  72% (31740/44082)   
Checking out files:  73% (32180/44082)   
Checking out files:  74% (32621/44082)   
Checking out files:  74% (32797/44082)   
Checking out files:  74% (32896/44082)   
Checking out files:  75% (33062/44082)   
Checking out files:  76% (33503/44082)   
Checking out files:  77% (33944/44082)   
Checking out files:  78% (34384/44082)   
Checking out files:  78% (34435/44082)   
Checking out files:  78% (34657/44082)   
Checking out files:  78% (34767/44082)   
Checking out files:  79% (34825/44082)   
Checking out files:  79% (34982/44082)   
Checking out files:  80% (35266/44082)   
Checking out files:  81% (35707/44082)   
Checking out files:  82% (36148/44082)   
Checking out files:  83% (36589/44082)   
Checking out files:  84% (37029/44082)   
Checking out files:  85% (37470/44082)   
Checking out files:  86% (37911/44082)   
Checking out files:  87% (38352/44082)   
Checking out files:  88% (38793/44082)   
Checking out files:  89% (39233/44082)   
Checking out files:  89% (39644/44082)   
Checking out files:  90% (39674/44082)   
Checking out files:  91% (40115/44082)   
Checking out files:  92% (40556/44082)   
Checking out files:  93% (40997/44082)   
Checking out files:  94% (41438/44082)   
Checking out files:  95% (41878/44082)   
Checking out files:  96% (42319/44082)   
Checking out files:  96% (42402/44082)   
Checking out files:  96% (42617/44082)   
Checking out files:  96% (42685/44082)   
Checking out files:  97% (42760/44082)   
Checking out files:  98% (43201/44082)   
Checking out files:  99% (43642/44082)   
Checking out files:  99% (43990/44082)   
Checking out files: 100% (44082/44082)   
Checking out files: 100% (44082/44082), done.
done
---------------------------------------------------------------------
Checking out tagged kernel...
---------------------------------------------------------------------
Note: checking out 'v3.10'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b new_branch_name

HEAD is now at 8bb495e... Linux 3.10
---------------------------------------------------------------------
Finished state kernel-fetch
---------------------------------------------------------------------
---------------------------------------------------------------------
Syncing shared kernel.org kernel...
---------------------------------------------------------------------
---------------------------------------------------------------------
Clang compiled Kernel is now clean
---------------------------------------------------------------------
---------------------------------------------------------------------
Syncing kernel...
---------------------------------------------------------------------
HEAD is now at 8bb495e... Linux 3.10
From git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux
 * tag               v3.10      -> FETCH_HEAD
error: could not create temporary file '/home/wearefam/src/llvmlinux/llvmlinux-git/targets/x86_64/tmp/.git_vtag_tmpx5hnrQ': No such file or directory
Already up-to-date.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: config.mk
Type: application/octet-stream
Size: 1029 bytes
Desc: not available
URL: <http://lists.linuxfoundation.org/pipermail/llvmlinux/attachments/20130713/e1f26925/attachment-0001.obj>


More information about the LLVMLinux mailing list