[llvmlinux] make [CONFIG=config.mk] sync-all... does not download llvm-sources

Sedat Dilek sedat.dilek at gmail.com
Thu Jul 11 10:25:23 UTC 2013


Interesting to investigate:

$ LC_ALL=C make CONFIG=config.mk kernel-build 2>&1 | tee
~/src/llvmlinux/make-config_kernel-build.txt
---------------------------------------------------------------------
Fetching LLVM...
---------------------------------------------------------------------
Cloning into '/home/wearefam/src/llvmlinux/llvmlinux-git/toolchain/clang/src/llvm'...
...

'make kernel-build' downloads LLVM sources.

- Sedat -

On Thu, Jul 11, 2013 at 12:00 PM, Sedat Dilek <sedat.dilek at gmail.com> wrote:
> Hi,
>
> [ BUILD-INSTRUCTIONS ]
>
> PKG_NAME="llvmlinux"
> GIT_URL="http://git.linuxfoundation.org/${PKG_NAME}.git"
> ##GIT_BRANCH=""
>
> git clone $GIT_URL ${PKG_NAME}-git
>
> cd llvmlinux-git/
>
> cd targets/x86_64/
>
> make  config > config.mk
>
> LC_ALL=C make CONFIG=config.mk sync-all 2>&1 | tee
> ~/src/llvmlinux/make-config_mk-sync-all.txt
>
> [ /BUILD-INSTRUCTIONS ]
>
> $ egrep -i 'fetching|cloning' make-config_mk-sync-all.txt
> Fetching Clang...
> Cloning into '/home/wearefam/src/llvmlinux/llvmlinux-git/toolchain/clang/src/clang'...
> Fetching commit-ish Clang...
> Cloning shared kernel repo...
> Cloning into bare repository
> '/home/wearefam/src/llvmlinux/llvmlinux-git/arch/all/kernel.git'...
> Cloning kernel...
> Cloning into '/home/wearefam/src/llvmlinux/llvmlinux-git/targets/x86_64/src/linux'...
> Cloning kernel for gcc...
> Cloning into '/home/wearefam/src/llvmlinux/llvmlinux-git/targets/x86_64/src/linux-gcc'...
> Fetching buildroot...
> Cloning into '/home/wearefam/src/llvmlinux/llvmlinux-git/test/buildroot/src/buildroot'...
> Fetching LTP...
> Fetching QEMU...
> Cloning into '/home/wearefam/src/llvmlinux/llvmlinux-git/test/qemu/src/qemu'...
>
> $ LC_ALL=C ll /home/wearefam/src/llvmlinux/llvmlinux-git/toolchain/clang/src/
> total 12
> drwxr-xr-x  3 wearefam wearefam 4096 Jul 11 11:04 ./
> drwxr-xr-x  5 wearefam wearefam 4096 Jul 11 11:07 ../
> drwxr-xr-x 15 wearefam wearefam 4096 Jul 11 11:07 clang/
>
> $ LC_ALL=C ll /home/wearefam/src/llvmlinux/llvmlinux-git/toolchain/clang/src/clang/
> total 112
> drwxr-xr-x 15 wearefam wearefam  4096 Jul 11 11:07 ./
> drwxr-xr-x  3 wearefam wearefam  4096 Jul 11 11:04 ../
> -rw-r--r--  1 wearefam wearefam    85 Jul 11 11:07 .arcconfig
> drwxr-xr-x  8 wearefam wearefam  4096 Jul 11 11:07 .git/
> -rw-r--r--  1 wearefam wearefam  1406 Jul 11 11:07 .gitignore
> -rw-r--r--  1 wearefam wearefam 11415 Jul 11 11:07 CMakeLists.txt
> -rw-r--r--  1 wearefam wearefam  1175 Jul 11 11:07 CODE_OWNERS.TXT
> drwxr-xr-x  2 wearefam wearefam  4096 Jul 11 11:07 INPUTS/
> -rw-r--r--  1 wearefam wearefam  2193 Jul 11 11:07 INSTALL.txt
> -rw-r--r--  1 wearefam wearefam  2749 Jul 11 11:07 LICENSE.TXT
> -rw-r--r--  1 wearefam wearefam  2952 Jul 11 11:07 Makefile
> -rw-r--r--  1 wearefam wearefam    96 Jul 11 11:07 ModuleInfo.txt
> -rw-r--r--  1 wearefam wearefam  4389 Jul 11 11:07 NOTES.txt
> -rw-r--r--  1 wearefam wearefam  1260 Jul 11 11:07 README.txt
> drwxr-xr-x  4 wearefam wearefam  4096 Jul 11 11:07 bindings/
> drwxr-xr-x  4 wearefam wearefam  4096 Jul 11 11:07 docs/
> drwxr-xr-x  5 wearefam wearefam  4096 Jul 11 11:07 examples/
> drwxr-xr-x  4 wearefam wearefam  4096 Jul 11 11:07 include/
> drwxr-xr-x 21 wearefam wearefam  4096 Jul 11 11:07 lib/
> drwxr-xr-x  4 wearefam wearefam  4096 Jul 11 11:07 runtime/
> drwxr-xr-x 38 wearefam wearefam  4096 Jul 11 11:07 test/
> drwxr-xr-x 13 wearefam wearefam  4096 Jul 11 11:07 tools/
> drwxr-xr-x  9 wearefam wearefam  4096 Jul 11 11:07 unittests/
> drwxr-xr-x  9 wearefam wearefam  4096 Jul 11 11:07 utils/
> drwxr-xr-x  4 wearefam wearefam  4096 Jul 11 11:07 www/
>
> Shouldn't 'make sync-all also get LLVM sources from GIT?
>
> - Sedat -
>
> P.S.: Tested with Jan's COMMIT-IDs from my config.mk.modified file.


More information about the LLVMLinux mailing list