mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-06-07 17:56:01 +02:00
Bug 521515: Save the log file all the time when building natives
Change-Id: I11b149d94f837dcb9537682a55551add289f8924
This commit is contained in:
parent
49dc726dd1
commit
ba24afc3a4
2 changed files with 3 additions and 3 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -9,3 +9,4 @@ check_code_cleanliness_workspace/
|
||||||
.META-INF_MANIFEST.MF
|
.META-INF_MANIFEST.MF
|
||||||
.polyglot..META-INF_MANIFEST.MF
|
.polyglot..META-INF_MANIFEST.MF
|
||||||
*.takari_issue_192
|
*.takari_issue_192
|
||||||
|
*.log
|
||||||
|
|
|
@ -107,10 +107,9 @@ done
|
||||||
##
|
##
|
||||||
for p in native/org.eclipse.cdt.native.serial/native_src core/org.eclipse.cdt.core.native/native_src; do
|
for p in native/org.eclipse.cdt.native.serial/native_src core/org.eclipse.cdt.core.native/native_src; do
|
||||||
echo "Rebuilding $p natives to make sure they match source"
|
echo "Rebuilding $p natives to make sure they match source"
|
||||||
logfile=$(mktemp /tmp/make-natives-log.XXXXXX)
|
logfile=make-natives-${p//\//-}.log
|
||||||
if ! make -C $p rebuild >${logfile} 2>&1; then
|
if ! make -C $p rebuild >${logfile} 2>&1; then
|
||||||
echo "Rebuilding of $p natives failed. The log is part of the artifacts of the build"
|
echo "Rebuilding of $p natives failed. The log (${logfile}) is part of the artifacts of the build"
|
||||||
cp ${logfile} make-${p//\//_}.log
|
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
Loading…
Add table
Reference in a new issue