Skip to content

Commit

Permalink
Fixes VaRA CLion setup docs (#869)
Browse files Browse the repository at this point in the history
  • Loading branch information
boehmseb authored Dec 15, 2023
1 parent 06076ac commit 165cc76
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ How to set up VaRA/LLVM in CLion
--------------------------------
1. Use ``vara-buildsetup vara -i`` to correctly clone and checkout the VaRa/LLVM repos (cf. :ref:`How to setup VaRA`)

2. Start CLion and from the menu select **File | Open** and point to ``<varats_root>/vara-llvm-project/llvm/CMakeLists.txt``.
2. Start CLion and from the menu select **File | Open** and point to ``<varats_root>/tools_src/vara-llvm-project/llvm/CMakeLists.txt``.
In the dialog that opens, click **Open as Project**.

3. Go to **Settings/Preferences | Build, Execution, Deployment | CMake** to configure the CMake project.
Expand All @@ -20,8 +20,8 @@ How to set up VaRA/LLVM in CLion
-DBUILD_CLAR=OFF
-DBUILD_SHARED_LIBS=ON
-DCMAKE_C_FLAGS_DEBUG=-O2 -g -fno-omit-frame-pointer
-DCMAKE_CXX_FLAGS_DEBUG=-O2 -g -fno-omit-frame-pointer
-DCMAKE_C_FLAGS_DEBUG="-O2 -g -fno-omit-frame-pointer"
-DCMAKE_CXX_FLAGS_DEBUG="-O2 -g -fno-omit-frame-pointer"
-DCMAKE_CXX_STANDARD=17
-DCMAKE_EXPORT_COMPILE_COMMANDS=ON
-DCMAKE_INSTALL_PREFIX=<varats_root>/tools/VaRA
Expand Down Expand Up @@ -55,8 +55,8 @@ How to set up VaRA/LLVM in CLion
-DBUILD_CLAR=OFF
-DBUILD_SHARED_LIBS=ON
-DCMAKE_C_FLAGS_RELEASE=-O3 -DNDEBUG -march=native -fno-omit-frame-pointer -gmlt
-DCMAKE_CXX_FLAGS_RELEASE=-O3 -DNDEBUG -march=native -fno-omit-frame-pointer -gmlt
-DCMAKE_C_FLAGS_RELEASE="-O3 -DNDEBUG -march=native -fno-omit-frame-pointer -gmlt"
-DCMAKE_CXX_FLAGS_RELEASE="-O3 -DNDEBUG -march=native -fno-omit-frame-pointer -gmlt"
-DCMAKE_CXX_STANDARD=17
-DCMAKE_INSTALL_PREFIX=<varats_root>/tools/VaRA
-DLLVM_ENABLE_ASSERTIONS=OFF
Expand Down

0 comments on commit 165cc76

Please sign in to comment.