File tree Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -309,6 +309,8 @@ These variables provide fine control over the build of LLVM and
309309enabled sub-projects. Nearly all of these variable names begin with
310310``LLVM_ ``.
311311
312+ .. _LLVM-related variables BUILD_SHARED_LIBS :
313+
312314**BUILD_SHARED_LIBS **:BOOL
313315 Flag indicating if each LLVM component (e.g. Support) is built as a shared
314316 library (ON) or as a static library (OFF). Its default value is OFF. On
Original file line number Diff line number Diff line change @@ -1160,6 +1160,14 @@ following options with cmake:
11601160 information is in a separate DWARF object file (with the extension ``.dwo ``).
11611161 This only applies to host platforms using ELF, such as Linux.
11621162
1163+ * ``-DBUILD_SHARED_LIBS ``
1164+
1165+ Setting this to ``ON `` will build shared libraries instead of static
1166+ libraries. This will ease memory pressure on the linker. However, this should
1167+ only be used when developing llvm. See
1168+ :ref: `BUILD_SHARED_LIBS <LLVM-related variables BUILD_SHARED_LIBS >`
1169+ for more information.
1170+
11631171.. _links :
11641172
11651173Links
You can’t perform that action at this time.
0 commit comments