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

Sedat Dilek sedat.dilek at gmail.com
Sat Jul 13 17:44:30 UTC 2013


Hi,

with this applied 'make llvm-sync' runs as expected:

--- a/toolchain/clang/clang.mk
+++ b/toolchain/clang/clang.mk
@@ -269,7 +269,7 @@ ${LLVMSTATE}/clang-unpatched-build:
${LLVMSTATE}/llvm-unpatched-build ${LLVMSTAT
        $(call state,$@)

 ##############################################################################
-llvm-reset: ${LLVMSTATE}/clang-fetch
+llvm-reset: ${LLVMSTATE}/llvm-fetch
 #${LLVMSTATE}/compilerrt-fetch
 # Patched LLVM
        @$(call banner,Cleaning LLVM...)

$ cd targets/x86_64/
$ LC_ALL=C make CONFIG=checkpoints/config.mk llvm-sync
---------------------------------------------------------------------
Fetching LLVM...
---------------------------------------------------------------------
Cloning into '/home/wearefam/src/llvmlinux/llvmlinux-git/toolchain/clang/src/llvm'...
^Cmake: *** [/home/wearefam/src/llvmlinux/llvmlinux-git/toolchain/clang/state/llvm-fetch]
Interrupt

Without this, clang sources are fetched!

$ egrep 'llvm-reset|clang-reset' ../../toolchain/clang/clang.mk
llvm-reset: ${LLVMSTATE}/llvm-fetch
llvm-clean: llvm-reset llvm-clean-noreset clang-clean
clang-reset: ${LLVMSTATE}/clang-fetch
clang-clean: clang-reset clang-clean-noreset

Dunno, why llvm-clean phony/target has clang-clean.

Regards,
- Sedat -
-------------- 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/8b911f32/attachment-0001.obj>


More information about the LLVMLinux mailing list