Page 1 of 1

为什么编译的时候需要下载大量的库?

Posted: 2025-12-03 12:52
by fofish
>>> host-python3 3.11.6 Downloading
wget --passive-ftp -nd -t 3 -O '/home/ff/Studio/rv/SDKs/luckfox-pico/sysdrv/source/buildroot/buildroot-2023.02.6/output/build/.Python-3.11.6.tar.xz.XBtHD3/output' 'https://python.org/ftp/python/3.11.6/Py ... 1.6.tar.xz'
>>> host-python-setuptools 65.6.3 Downloading
wget --passive-ftp -nd -t 3 -O '/home/ff/Studio/rv/SDKs/luckfox-pico/sysdrv/source/buildroot/buildroot-2023.02.6/output/build/.setuptools-65.6.3.tar.gz.c1ddwQ/output' 'https://files.pythonhosted.org/packages ... 6.3.tar.gz'
>>> host-ninja 1.11.1.g95dee.kitware.jobserver-1 Downloading
wget --passive-ftp -nd -t 3 -O '/home/ff/Studio/rv/SDKs/luckfox-pico/sysdrv/source/buildroot/buildroot-2023.02.6/output/build/.ninja-1.11.1.g95dee.kitware.jobserver-1.tar.gz.yVtHhz/output' 'https://github.com/Kitware/ninja/archiv ... r-1.tar.gz'
还有很多...

Re: 为什么编译的时候需要下载大量的库?

Posted: 2025-12-04 1:49
by yangxj121
你好,因为SDK不是一个单一程序,而是一个完整的开发系统,它需要支撑硬件驱动、系统运行、应用开发等全链路能力,依赖的库覆盖了工具链、系统组件、开发工具等多个层面,下载的库是支撑这套系统运行和开发的,如果想减少下载量,可以通过buildroot配置。

Re: 为什么编译的时候需要下载大量的库?

Posted: 2025-12-04 2:27
by fofish
yangxj121 wrote: 2025-12-04 1:49 你好,因为SDK不是一个单一程序,而是一个完整的开发系统,它需要支撑硬件驱动、系统运行、应用开发等全链路能力,依赖的库覆盖了工具链、系统组件、开发工具等多个层面,下载的库是支撑这套系统运行和开发的,如果想减少下载量,可以通过buildroot配置。
是否每次编译时都需要下载这些库?
如果想减少下载量应该怎样在buildroot上配置?

Re: 为什么编译的时候需要下载大量的库?

Posted: 2025-12-04 2:30
by yangxj121
不是的,SDK 的构建系统会对下载的资源做缓存处理。
另外,关于buildroot配置问题,我们wiki上有详细介绍,您可以参考一下https://wiki.luckfox.com/zh/Luckfox-Pic ... figuration