Mikael Jagan

Results 32 comments of Mikael Jagan

Re: deduplication I decided to take this approach in my R package's `configure.ac` when `pkg-config` is available: https://github.com/jaganmn/flint/blob/7c9e775eb35d478976f48db9628a1227c7be2296/configure.ac#L112-L127 It is definitely a hack but it seems more robust than sorting...

Linking against a static CBLAS can require both `-lcblas` and `-lblas`, and linking against a static GC can require both `-lgc` and `-latomic_ops`. For example, we can have a static...

One would typically condition the use of `pkg-config` on the result of `AC_CHECK_PROG`, perhaps falling back to the current behaviour on systems where `pkg-config` is not available. Using the fifth...

Of course I can empathize with reluctance to add complexity to `configure.ac`. And I can imagine a situation where it would make sense to just do `AC_CHECK_LIB` with and without...

Yes, you can get inspiration from mature projects such as [R](https://github.com/r-devel/r-svn/blob/main/configure.ac), [curl](https://github.com/curl/curl/blob/master/configure.ac), and [ghostscript](https://github.com/ArtifexSoftware/ghostpdl/blob/master/configure.ac). R in particular is very careful to test linking with each of `--libs` and `--static --libs`...

`d_randtest2` seems to be used by `di_randtest`, defined just below. For now, I am working around this with: ```diff diff -ruN flint-3.1.3/src/double_interval.h flint-3.1.3-patched/src/double_interval.h --- flint-3.1.3/src/double_interval.h 2024-04-25 17:00:25 +++ flint-3.1.3-patched/src/double_interval.h 2024-08-28...

Bump. It would be nice to avoid patching the sources in this way.

IIUC, on Windows one would use `lib.exe` to build object libraries from sets of object files, then use `link.exe` to link the object libraries. Since the MinGW backend of `lld`...

No. We are running `make` under a Linux without limitations on command line length. However, because we are cross-compiling for Windows (building on Linux binaries to be distributed on Windows),...

OK. In the mean time, we will work around this with a patch against the latest release (3.1.3-p1). I've just tested the following patch under each of `x86_64-pc-linux-gnu` and `aarch64-apple-darwin23.6.0`:...