diff options
| author | Mike Taves <mwtoews@gmail.com> | 2019-09-25 10:58:10 +1200 |
|---|---|---|
| committer | Mike Taves <mwtoews@gmail.com> | 2019-09-25 11:16:27 +1200 |
| commit | 14828d9695ab54272fee0dab35a489180c20f2ea (patch) | |
| tree | 2435fe59d4c39a6a73b210886e45776e74dd4689 /docs/source/community/code_contributions.rst | |
| parent | a71fce63c2d77b6709005667efd577d728b900e9 (diff) | |
| download | PROJ-14828d9695ab54272fee0dab35a489180c20f2ea.tar.gz PROJ-14828d9695ab54272fee0dab35a489180c20f2ea.zip | |
Rearrange Travis CI scripts to be more modular
* Split global before_install for apt and pip
* Use -qq option for apt-get, which implies -y
* Use list of targets with apt-get rather than one-per-line
* Use local variables for mingw32/install.sh
* Show version info for cppcheck, pip and python
* Simplify clang+llvm-6 path
Diffstat (limited to 'docs/source/community/code_contributions.rst')
| -rw-r--r-- | docs/source/community/code_contributions.rst | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/docs/source/community/code_contributions.rst b/docs/source/community/code_contributions.rst index c3e835c8..3c8850bd 100644 --- a/docs/source/community/code_contributions.rst +++ b/docs/source/community/code_contributions.rst @@ -117,18 +117,19 @@ Preliminary step: install clang. For example: wget http://releases.llvm.org/6.0.0/clang+llvm-6.0.0-x86_64-linux-gnu-ubuntu-14.04.tar.xz tar xJf clang+llvm-6.0.0-x86_64-linux-gnu-ubuntu-14.04.tar.xz + mv clang+llvm-6.0.0-x86_64-linux-gnu-ubuntu-14.04 clang+llvm-6 Run configure under the scan-build utility of clang: :: - ./clang+llvm-6.0.0-x86_64-linux-gnu-ubuntu-14.04/bin/scan-build ./configure + ./clang+llvm-6/bin/scan-build ./configure Build under scan-build: :: - ./clang+llvm-6.0.0-x86_64-linux-gnu-ubuntu-14.04/bin/scan-build make [-j8] + ./clang+llvm-6/bin/scan-build make [-j8] If CSA finds errors, they will be emitted during the build. And in which case, at the end of the build process, scan-build will emit a warning message @@ -137,7 +138,7 @@ is with someling like :: - ./clang+llvm-6.0.0-x86_64-linux-gnu-ubuntu-14.04/bin/scan-view /tmp/scan-build-2018-03-15-121416-17476-1 + ./clang+llvm-6/bin/scan-view /tmp/scan-build-2018-03-15-121416-17476-1 This will open a web browser with the interactive report. |
