Skip to content

opam: build with gmake on mac#582

Draft
amosr-msft wants to merge 1 commit into
FStarLang:mainfrom
amosr-msft:amos/20260226-opam-macos
Draft

opam: build with gmake on mac#582
amosr-msft wants to merge 1 commit into
FStarLang:mainfrom
amosr-msft:amos/20260226-opam-macos

Conversation

@amosr-msft
Copy link
Copy Markdown

The Makefile prohibits the default make found on MacOS, so opam install won't work by default, unless the user specifies to use gmake by eg setting opam's make env var.

It seems reasonable to use gmake by default on MacOS. I added similar logic to karamel a few months ago. (Though, it turns out the implementation there was slightly wrong.)

@amosr-msft
Copy link
Copy Markdown
Author

related karamel change: FStarLang/karamel#682

The Makefile prohibits the default make found on MacOS, so
`opam install` won't work by default, unless the user specifies
to use gmake by eg setting opam's make env var.

It seems reasonable to use gmake by default on MacOS. I added similar
logic to karamel a few months ago.
@amosr-msft amosr-msft force-pushed the amos/20260226-opam-macos branch from e256fc7 to a69a52a Compare March 3, 2026 17:25
@amosr-msft
Copy link
Copy Markdown
Author

I was able to get this building on our mac build servers, but then ran into unrelated problems with our infrastructure, so have had to shelve it for now. this change seems to be working but I'll park this for now until I can get our infrastructure problems sorted

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant