Merge pull request #229 from rolk/229_log
Give example of how and where to report build failures
This commit is contained in:
commit
8bc4b6efed
21
README
21
README
@ -195,3 +195,24 @@ In order to build the documentation, enter the command
|
||||
make doc
|
||||
|
||||
in the topmost directory.
|
||||
|
||||
|
||||
REPORTING ISSUES
|
||||
----------------
|
||||
|
||||
Issues can be reported in the Git issue tracker online at:
|
||||
|
||||
http://github.com/OPM/opm-core/issues
|
||||
|
||||
To help diagnose build errors, please provide a link to a build log together
|
||||
with the issue description.
|
||||
|
||||
You can capture such a log from the build using the `script' utility, e.g.:
|
||||
|
||||
LOGFILE=$(date +%Y%m%d-%H%M-)build.log ;
|
||||
cmake -E cmake_echo_color --cyan --bold "Log file: $LOGFILE" ;
|
||||
script -q $LOGFILE -c 'cmake ../opm-core -DCMAKE_BUILD_TYPE=Debug' &&
|
||||
script -q $LOGFILE -a -c 'ionice nice make -j 4 -l 3' ||
|
||||
cat CMakeCache.txt CMakeFiles/CMake*.log >> $LOGFILE
|
||||
|
||||
The resulting file can be uploaded to for instance gist.github.com.
|
||||
|
Loading…
Reference in New Issue
Block a user