Comments (7)
Yes, that would be really nice to have.
Though I'd argue that having a flint2-config tool in addition to the .pc file would also be helpful (as unfortunately, pkg-config is not available everywhere).
from flint2.
Also, some distros like debian think it's a good idea to add (or hack) pkgconfig files themselves which can and does lead to cross-distro breakage. If upstream provides one, then this will less likely become a problem.
from flint2.
(as unfortunately, pkg-config is not available everywhere).
@fingolfin This was a reason against pkg-config CUPS used as well, but I wonder where it comes from? They say
It does not require anything but a reasonably well working C compiler and a C library, but can use an installed glib if that is present. (A copy of recent glib2 is shipped together with pkg-config versions since 0.27, and this is sufficient for pkg-config to compile and work properly.)
although a long time ago it was just a shell script, and I wonder if this discussion is from then.
Also, some distros like debian think it's a good idea to add (or hack) pkgconfig files themselves which can and does lead to cross-distro breakage.
@hasufell Debian does this because pkg-config files, or some other mechanism to get the right build flags, is essential to reliable cross-compilation. Build systems like Autotools and Meson use pkg-config to find libraries this way.
I would like a pkg-config file incorporated (GMP recently got one), and although I'm not very familiar with CMake I'll try looking around.
from flint2.
Great, I've been waiting 6 years for this moment... day and night I have been wondering whether anyone will hear my prayers. So long I've been contemplating how people build this project and hoped to find a brother in arms. Now finally the day has come! Let's pack up, saddle our horses and move out into the night!
from flint2.
the problem with Flint (and Arb) is that they have home-grown build systems where adding .pc files is more work that with autotools (there is also a cmake config for Flint nowadays, but it's a bit less stable).
In SageMath we bite the bullet and spell out checks in m4, cf. https://github.com/sagemath/sage/blob/develop/build/pkgs/flint/spkg-configure.m4
- but this could have been much less painful with a .pc file.
from flint2.
Should be completed now.
from flint2.
That was quick! ๐
from flint2.
Related Issues (20)
- Could we release 3.1.3-p1? HOT 1
- fmpz_mpoly_pfrac_init: internal error HOT 7
- Worklist for nfloat HOT 3
- SIMD abstraction layers HOT 5
- Problems with Riemann theta functions HOT 44
- 3.1.3 isn't in the Downlioads section of the website: https://flintlib.org/downloads.html HOT 2
- Document need for libtool
- Improve parallel Schรถnhage-Strassen multiplication
- file padic_types.h not getting installed HOT 2
- Test failures when compiled with GCC graphite flags HOT 5
- #error machine_vector.h not implemented on AMD Ryzen 7 without forcing --enable-avx HOT 14
- Segmentation Fault in Fortran-C Interoperability when Using Arb Library for Complex Integration HOT 2
- Error finding PkgConfig while installing Flint package using CMake on Windows HOT 1
- Add a function to compute b/sqrt(a)
- Multivariate rational functions over the integers mod n HOT 3
- AVX and nmod HOT 8
- FLINT license should be stated on the FLINT website HOT 1
- Gentoo Linux: sci-mathematics/flint-3.1.3_p1 QA Notice: Package triggers severe warnings which indicate that it may exhibit random runtime failures. HOT 1
- Missing functions in `fq_default` HOT 1
- `fq_default_poly_evaluate_fq_default` with context type `FMPZ_MOD` segfaults
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flint2.