summaryrefslogtreecommitdiff
path: root/solenv
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2018-02-12 09:09:05 +0100
committerMiklos Vajna <vmiklos@collabora.co.uk>2018-02-12 09:09:37 +0100
commitacd16c7e29c1619986d4d8b3b520da089ba34660 (patch)
tree2cdda60988d754319d7309af005d592f16fb3fa7 /solenv
parent4f759834d37c78874eb30d5f3010fe41062532ed (diff)
solenv: document how to build static clang-format
Change-Id: Ibadb8966f1c3ba7e241b9eb5d36c9067f0246c86
Diffstat (limited to 'solenv')
-rw-r--r--solenv/clang-format/README4
1 files changed, 2 insertions, 2 deletions
diff --git a/solenv/clang-format/README b/solenv/clang-format/README
index 602dfc6eb254..7d6407a35626 100644
--- a/solenv/clang-format/README
+++ b/solenv/clang-format/README
@@ -7,8 +7,8 @@ Style enforcing code.
- Built from source on openSUSE Leap 42.3
- get <http://releases.llvm.org/5.0.0/llvm-5.0.0.src.tar.xz>
- get <http://releases.llvm.org/5.0.0/cfe-5.0.0.src.tar.xz> and extract this as tools/clang/ in the LLVM source code
- - mkdir workdir; cd workdir; cmake -G 'Unix Makefiles' -DCMAKE_INSTALL_PREFIX=$PWD/../instdir -DCMAKE_BUILD_TYPE=Release ..; make -j8 clang-format
- - this produces a binary that is dynamically linked, but all LLVM/clang libs are linked in statically
+ - mkdir workdir; cd workdir; cmake -G 'Unix Makefiles' -DCMAKE_INSTALL_PREFIX=$PWD/../instdir -DCMAKE_BUILD_TYPE=Release -DLLVM_BUILD_STATIC=true ..; make -j8 clang-format
+ - this produces a binary that is statically linked
- macOS: