Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'make install' rebuilds the project again even though it was already built with 'make build' #126

Open
yurivict opened this issue Aug 5, 2023 · 2 comments

Comments

@yurivict
Copy link

yurivict commented Aug 5, 2023

Version: 22.01.7
FreeBSD 13.2

@juliensf
Copy link
Member

juliensf commented Aug 5, 2023

The way Mercury is built and installed is a little unusual. The make step builds the compiler and related tools. The make install step does two things:

  1. It install the compiler and related tools.
  2. It compiles and install the Mercury call libraries in multiple different grades. (A grade is a set of compilation model options, such as the target language or an optional feature like debugging or profiling support.)

I suspect that where you say it is rebuilding the project again, it is in fact just doing step (2) above.

@yurivict
Copy link
Author

yurivict commented Aug 5, 2023

I suspect that where you say it is rebuilding the project again, it is in fact just doing step (2) above.

I think so, but it takes a very long time.

This is very inconvenient in the context of a port. It is usually assumed that it is easy to reinstall the package, but it isn't easy for mercury.

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

No branches or pull requests

2 participants