On Mon, 3 Feb 2025 at 11:31, Jan Palus <[email protected]> wrote: > On 03.02.2025 11:06, Jan Palus wrote: > > On 03.02.2025 10:10, baggins wrote: > > > commit 181b4a43bc70a3d8032d2d79434a37df8ffcd867 > > > Author: Jan Rękorajski <[email protected]> > > > Date: Mon Feb 3 09:59:20 2025 +0100 > > > > > > - install rpm macros for meson prep/build/install, rel 2 > > > > Mind that these macros use %{_smp_build_ncpus} which requires > > rpm.org >= 4.15 and is unconstrained by anything in our macros hence you > > got "-j 56" instead of expected "-j 28" in glycin build. > > > > Also --default-library=both is lost which otherwise defaults to > > "shared". > > We actually ship two %meson macros now... I guess we should settle on > single one. The one from meson does not set any compiler paths or flags > while ours does not make use of %{_vpath_*} macros. >
Yeah, we need to iron out the wrinkles, but at least the macros make sense now and correctly build projects using meson as build system. With our macros it was a mess of setting up with meson and then building directly with ninja what resulted in rebuilds during install and hard to track build issues. My take is that we need to update global macros to set compiler paths and our rust tricks, patch meson to comply with the rest of our macros and drop %meson macro from PLD rpm global macros. -- Jan Rękorajski | SysAdm | PLD/Linux | http://www.pld-linux.org/ baggins<at>pld-linux.org _______________________________________________ pld-devel-en mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-devel-en
