ledatelescope / bifrost

A stream processing framework for high-throughput applications.
BSD 3-Clause "New" or "Revised" License
64 stars 29 forks source link

pkgconfig file for bifrost #160

Closed telegraphic closed 2 years ago

telegraphic commented 2 years ago

I just discovered that the package management system on our HPC cluster created this bifrost.pc pkgconfig file:

prefix=/group/director2183/dancpr/software/centos7.6/apps/cascadelake/gcc/8.3.0/bifrost/0.0.2
exec_prefix=${prefix}
libdir=${exec_prefix}/lib
includedir=${prefix}/include

Name: bifrost
Description: A stream processing framework for high-throughput applications.
Requires:
Version: 0.9.0
Libs: -L${libdir} -lbifrost
Cflags: -I${includedir}

If bifrost.pc can be found in the env variable PKG_CONFIG_PATH then build systems will be able to figure out what flags to add. Given it looks pretty simple to generate, I suggest that bifrost.pc would be a nice addition to bifrost. (will be particularly useful when compiling plugins)

jaycedowell commented 2 years ago

It's already part of autoconf. It just needs some testing to see if/how well it works.

telegraphic commented 2 years ago

Excellent! (in that case maybe autoconf generated it)

jaycedowell commented 2 years ago

In a similar vein there is also a bifrost.m4 file to help other autotools-based packages find Bifrost if they need it.