mirror of
https://git.proxmox.com/git/llvm-toolchain
synced 2026-01-05 23:25:16 +00:00
When the cmake configure of the stage2 is failing, dump the cmake error log
This commit is contained in:
parent
5bd607295a
commit
6f631cda3c
1
debian/changelog
vendored
1
debian/changelog
vendored
@ -1,6 +1,7 @@
|
||||
llvm-toolchain-7 (1:7-7~exp2) experimental; urgency=medium
|
||||
|
||||
* clangd-atomic-cmake.patch: Link against atomic for clangd in i386
|
||||
* When the cmake configure of the stage2 is failing, dump the cmake error log
|
||||
|
||||
-- Sylvestre Ledru <sylvestre@debian.org> Fri, 19 Oct 2018 11:17:16 +0200
|
||||
|
||||
|
||||
2
debian/rules
vendored
2
debian/rules
vendored
@ -350,7 +350,7 @@ VERBOSE=VERBOSE=1
|
||||
#VERBOSE=-v
|
||||
|
||||
debian-stage2-build:
|
||||
$(PRE_PROCESS) make $(NJOBS) -C $(TARGET_BUILD) $(VERBOSE) CXXFLAGS="$(CXXFLAGS_EXTRA)" LDFLAGS="$(LDFLAGS_EXTRA)" REQUIRES_RTTI=1 DEBUGMAKE=1 stage2
|
||||
$(PRE_PROCESS) make $(NJOBS) -C $(TARGET_BUILD) $(VERBOSE) CXXFLAGS="$(CXXFLAGS_EXTRA)" LDFLAGS="$(LDFLAGS_EXTRA)" REQUIRES_RTTI=1 DEBUGMAKE=1 stage2 || if test -f $(TARGET_BUILD_STAGE2)/CMakeFiles/CMakeError.log; then cat $(TARGET_BUILD_STAGE2)/CMakeFiles/CMakeError.log; fi
|
||||
if grep "CMAKE_BUILD_TYPE:STRING=Debug" $(TARGET_BUILD_STAGE2)/CMakeCache.txt; then \
|
||||
echo "clang stage2 has been built in upstream Debug mode. Too slow, we don't want that."; \
|
||||
fi
|
||||
|
||||
Loading…
Reference in New Issue
Block a user