[Cin] arm/termux series (possibly broken on x86)

Andrew Randrianasulu randrianasulu at gmail.com
Thu Nov 18 14:52:10 CET 2021


On Thursday, November 18, 2021, mnieuw--- via Cin <
cin at lists.cinelerra-gg.org> wrote:

> > On Wed, 17 Nov 2021 01:07:05 -0700
> > Phyllis Smith via Cin <cin at 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.
>
> FreeBSD does not build as-is, e.g. it uses gmake which doesn't exist
> on FreeSD version 13. 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?


at least one user was found here:
https://forums.freebsd.org/threads/video-editor.68373/

but then freebsd/ports version of cingg was from 2018 and eventually was
removed in early 2020:
https://www.freshports.org/multimedia/cinelerra-gg/



>
> 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.
>
> MatN
>
>
> --
> Cin mailing list
> Cin at lists.cinelerra-gg.org
> https://lists.cinelerra-gg.org/mailman/listinfo/cin
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.cinelerra-gg.org/pipermail/cin/attachments/20211118/7bf5f7ab/attachment.htm>


More information about the Cin mailing list