Closed joelberkeley closed 4 months ago
Could someone please update me on the status of this issue. Is this even something we can handle with pack?
I've been setting CPATH="/opt/homebrew/include"
to help Idris' Makefile find gmp.h
installed by homebrew. This is done by the install.sh
script in the snippet quoted above.
This could be handled by testing for /opt/homebrew/include
and adding either CPATH=/opt/homebrew/include
or CPPFLAGS=-I/opt/homebrew/include
to the make invocations in pack. (I believe this could be either an environment setting or a command line arg.)
Or we could try changing config.mk
in the Idris codebase to do this.
I believe idris-lang/Idris2#3269 resolves this, can you double check @joelberkeley?
I can't, I no longer have a mac
Ok, I’ve reproduced this with nightly-240421
and verified that it no longer happens with nightly-240428
.
thanks steve, I'll close it then as done. Reopen if there's anything missing
I'm trying to upgrade my local pack on mac m1, and it can't find gmp when I
pack switch HEAD
(I'm currently on nightly-240211)I have GMP installed already from installing pack the first time
@dunhamsteve says in discord
which is this commit fc8766b098e67058f87f057aa4793f39ff2b27bf