[Libreoffice-commits] core.git: solenv/clang-format

Miklos Vajna vmiklos at collabora.co.uk
Mon Feb 12 08:09:58 UTC 2018


 solenv/clang-format/README |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit acd16c7e29c1619986d4d8b3b520da089ba34660
Author: Miklos Vajna <vmiklos at collabora.co.uk>
Date:   Mon Feb 12 09:09:05 2018 +0100

    solenv: document how to build static clang-format
    
    Change-Id: Ibadb8966f1c3ba7e241b9eb5d36c9067f0246c86

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:
 


More information about the Libreoffice-commits mailing list