From acd16c7e29c1619986d4d8b3b520da089ba34660 Mon Sep 17 00:00:00 2001 From: Miklos Vajna Date: Mon, 12 Feb 2018 09:09:05 +0100 Subject: solenv: document how to build static clang-format Change-Id: Ibadb8966f1c3ba7e241b9eb5d36c9067f0246c86 --- solenv/clang-format/README | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'solenv') 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 - get 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: -- cgit