1 hour ago · Tech · 0 comments

From time to time, I build my ports for a different version of MySQL, or Python, or, as in tonights case, PHP. My usual build command is: [23:43 pkg01 dvl ~] % sudo poudriere bulk -j 150amd64 -p default -z primary -f /usr/local/etc/poudriere.d/buildlists/primary In this post: FreeBSD 15.0 poudriere-3.4.8 For me to build against PHP85, I first created this file: [23:56 pkg01 dvl /usr/local/etc/poudriere.d] % cat 150amd64-default-php85-make.conf DEFAULT_VERSIONS+= php=85 With that file in place, my new build command will be: sudo poudriere bulk -j 150amd64 -p default -z php85 -f /usr/local/etc/poudriere.d/buildlists/primary However, this will build all the packages and take about 4 hours (scroll to the bottom). Tonight I had the bright idea: Why not copy? Here’s what I did: [23:57 pkg01 dvl /usr/local/poudriere/data/packages] % sudo rsync -rl 150amd64-default-primary/ 150amd64-default-php85 [23:58 pkg01 dvl /usr/local/poudriere/data/packages] % And I started my build: [23:57 pkg01 dvl…

No comments yet. Log in to reply on the Fediverse. Comments will appear here.