Skip to content

Commit 2fcfdf5

Browse files
build/source: add tip to increase system memory
Builds may fail due to insufficient system memory and the logs may not provide clear indication to the correct error. As a general note, we should recommend increasing the system memory before running the builds on low end devices. Signed-off-by: Abin Joseph <abinjose@qti.qualcomm.com>
1 parent c0461d1 commit 2fcfdf5

2 files changed

Lines changed: 8 additions & 0 deletions

File tree

topic/k2c-qli-build-ga/build_from_source_github.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,12 @@ Create and build a Yocto image:
7171
# copy kas lock file to meta-qcom repository
7272
cp meta-qcom-releases/lock.yml meta-qcom/ci/lock.yml
7373

74+
.. note::
75+
76+
If you have limited resources on your system and are facing issues with the build, consider
77+
increasing the swap space on your machine before running the build. Refer to the section
78+
:ref:`Increase swap space <increase_swap_space>`.
79+
7480
#. Build the software image. You define build targets based on machine and distribution combinations.
7581

7682
.. container:: nohighlight

topic/k2c-qli-build-ga/howto_build.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,8 @@ The machine configurations have either UFS or EMMC storage enabled by default. U
111111
# QCOM_PARTITION_FILES_SUBDIR ?= "partitions/iq-615-evk/emmc"
112112
# QCOM_PARTITION_FILES_SUBDIR ?= "partitions/iq-615-evk/ufs"
113113

114+
.. _increase_swap_space:
115+
114116
Increase swap space
115117
^^^^^^^^^^^^^^^^^^^^^^
116118

0 commit comments

Comments
 (0)