On Wed, Mar 27, 2019 at 04:40:04PM -0500, Douglas R. Reno via blfs-dev wrote:
>
> On 3/27/19 4:30 PM, Ken Moffat via blfs-dev wrote:
> > I'm building libdrm re buildtype explorations.
> >
> > Noticed that it can use libatomic_ops -
> >
> > In my original build where that had not yet been installed:
> >
> > Dependency threads found: YES
> > Found pkg-config: /usr/bin/pkg-config (0.29.2)
> > Found CMake: /usr/bin/cmake (3.14.0)
> > Dependency atomic_ops found: NO (tried pkgconfig and cmake)
> > Checking if "Intel Atomics" compiles: YES
> >
> > and in my current build:
> >
> > Dependency threads found: YES
> > Found pkg-config: /usr/bin/pkg-config (0.29.2)
> > Dependency atomic_ops found: YES 7.6.10
> > Checking if "Intel Atomics" compiles: YES
> >
> > NB cmake did get reported, but much later.
> >
> > Oddly, a quick look at the meson files doesn't lead me to cmake or
> > CMake - I assume it too is optional. Will add both.
>
> I think it's bindings for CMake:
>
> renodr [ /sources ]$ ls /usr/lib/cmake/
> clang/ fftw3/ GtkDoc/ LibIcal/ llvm/ QGpgme/
> DBus1/ Gpgmepp/ harfbuzz/ libxml2/ PulseAudio/ SDL2/
>
> Let's take GTK-Doc as an example:
>
> renodr [ /sources ]$ ls /usr/lib/cmake/GtkDoc/GtkDoc
> GtkDocConfig.cmake GtkDocConfigVersion.cmake
> GtkDocScanGObjWrapper.cmake
>
> I think these are used as shortcuts.
>
The old configure script seems slightly more useful re libatomic_ops
(i.e. probably not needed on native x86 builds).
I'm not sure that I would call them 'bindings' for cmake, but I can
see that cmake can use them to find things (until I read your reply
I was going to say it was for things built by cmake). But then I'm
fairly vague on the uses of 'binding' (apart from linking footwear
to ski).
Thanks for pointing to these. I have cmake files for clang, DBus1,
fftw3, harfbuzz, libxml2, llvm, PulseAudio, SDL2 and some of those
were definitely NOT built by cmake - I suppose they saw cmake was
installed and tried to play nicely with it.
Will commit shortly (I suppose docbook-xml, docbook-xsl and libxslt
need to be kept as a group, so libatomic_ops ought to go after all
three, not before where I initially put it).
ĸen
--
It is said that there are two great unsolved problems in computer
science: naming, cache invalidation, and off-by-one errors.
-- Ben Bullock
--
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page