For GAP itself we taught it to look for Homebrew installed package versions in PR #5214 / commit c091cbacdfa94ee932a3358b988e8e3331b98ae0.
We also introduced GMP_PREFIX into sysinfo.gap for packages that would like to know where GAP found GMP. This is already being used by nq (see https://github.com/gap-packages/nq/pull/24).
Relevant packages (from a run of BuildPackages.sh on my mac with GAP 4.13.0):
anupq
CaratInterface
float
NormalizInterface
In addition, the following packages might benefit from finding Homebrew:
CddInterface: homebrew package cddlib actually it already checks for Homebrew, nice
ZeroMQInterface: homebrew package zmq
Off-topic, but vaguely related: passing --with-gaproot to the configure script of simpcomp leads to WARNING: unrecognized options: --with-gaproot -- perhaps that configure script can be modified to ignore that option. Or else we finally add a proper mechanism for detecting what a given package needs in order to build it, instead of "guessing" that we should run configure and make with certain arguments depending on various conditions...
For GAP itself we taught it to look for Homebrew installed package versions in PR #5214 / commit c091cbacdfa94ee932a3358b988e8e3331b98ae0.
We also introduced
GMP_PREFIX
intosysinfo.gap
for packages that would like to know where GAP found GMP. This is already being used by nq (see https://github.com/gap-packages/nq/pull/24).Relevant packages (from a run of
BuildPackages.sh
on my mac with GAP 4.13.0):In addition, the following packages might benefit from finding Homebrew:
homebrew packageactually it already checks for Homebrew, nicecddlib
zmq
Off-topic, but vaguely related: passing
--with-gaproot
to theconfigure
script ofsimpcomp
leads toWARNING: unrecognized options: --with-gaproot
-- perhaps thatconfigure
script can be modified to ignore that option. Or else we finally add a proper mechanism for detecting what a given package needs in order to build it, instead of "guessing" that we should runconfigure
andmake
with certain arguments depending on various conditions...