Closed greed-106 closed 1 week ago
The build uses parallel jobs via make -j${JOBS}
. The actual value is found in the build.sh
script which is generated at build time.
(However, this port doesn't use the regular vcpkg_build_make
).
There should not be much need for tuning. Check the logs if something goes wrong. Check the environment to not limit VCPKG_MAX_CONCURRENCY
. Check that antivirus operations don't cause interference.
FTR vcpkg CI has:
Installing 324/2396 ffmpeg[aom,ass,avcodec,avdevice,avfilter,avformat,avisynthplus,avresample,bzip2,core,dav1d,drawtext,dvdvideo,fdk-aac,ffmpeg,fontconfig,freetype,fribidi,gpl,iconv,ilbc,lzma,modplug,mp3lame,nonfree,nvcodec,opencl,opengl,openh264,openjpeg,openmpt,openssl,opus,postproc,qsv,sdl2,snappy,soxr,speex,srt,ssh,swresample,swscale,tesseract,theora,version3,vorbis,vpx,webp,x264,x265,xml2,zlib]:x64-windows@7.1#1...
....
Elapsed time to handle ffmpeg:x64-windows: 23 min
Thank you all for your help and suggestions! The issue has been resolved.
I was able to restore the normal build speed by using the dControl software to disable the Antimalware Service Executable process on my system. I hope this solution can help others facing similar issues.
Thanks again for the support from the community!
Describe the bug When installing
ffmpeg
withvcpkg
, the build process is extremely slow, taking up to 1.6 hours to complete. Additionally, CPU utilization remains very low during the build (consistently below 30%).Environment
Reproduction Steps
Install
ffmpeg
using the command:Observe that the build process is extremely slow, taking over an hour to complete, and CPU utilization remains consistently below 30%.
Expected Behavior The build should leverage more CPU cores and complete significantly faster, especially on high-performance hardware.
Additional Context
vcpkg
, but the issue persists.127.0.0.1:7890
Logs Below is the complete log from the build process:
Suggestions
Thank you for your assistance!