On Thursday, November 18, 2021, mnieuw--- via Cin < cin@lists.cinelerra-gg.org> wrote:
> > On Wed, 17 Nov 2021 01:07:05 -0700 > > Phyllis Smith via Cin <cin@lists.cinelerra-gg.org> wrote: > > > > > > > > Also, the detection of the number of cpus (about line 143) is done > > > > by a very specific Linux method /proc/cpuinfo) , which does not > > > > work on FreeBSD and macOS. > > > > > > > So I do an exact replacement from: > > > CPUS=`grep -c "^proc" /proc/cpuinfo` > > > to: > > > CPUS=`nproc` > > > Is that correct? > > Yes, please change it to > CPUS=nproc > > The single quotes are not needed, those are to prevent shell expansion > within the quotes. > > nproc properly reports number of threads on macOS (after installing > development tools which are needed anyway), and FreeBSD > via an alias. on linux it should works since coreutils 8.1 (nov 2009?) > > FreeBSD does not build as-is, e.g. it uses gmake which doesn't exist > on FreeSD version 13. > > https://freebsd.pkgs.org/13/freebsd-amd64/gmake-4.3_2.txz.html ? > nproc needs an alias but that is easy done in the > bsd.bld file. FreeBSD is also very limited in included options, like > is excludes all of thirdparty. I wonder if that is still > relevant, for example I did see LV2 plugins for FreeBSD. Was it > downloaded a lot when there still was a FreeBSD version, or put it > another way, is the effort useful to resurrect it? > > All builds report during configure time that with gcc -V or clang -V > the upper case -V is not known; it probably tries to retrieve the > version number. In both cases, lower case -v gives the version number. > I did see a while ago a msg about outdated configure.ac . Maybe that > would help, I'll see what I can find. > > I don't know whether freeBSD or macOS would be good platforms for > CinGG, but (trying) to build for other platforms is a good way to weed > out hidden problems. macos apparently can run x11 apps: https://www.xquartz.org/releases/index.html not sure about sound... > > MatN > > > -- > Cin mailing list > Cin@lists.cinelerra-gg.org > https://lists.cinelerra-gg.org/mailman/listinfo/cin >
-- Cin mailing list Cin@lists.cinelerra-gg.org https://lists.cinelerra-gg.org/mailman/listinfo/cin