-
Notifications
You must be signed in to change notification settings - Fork 381
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
Update INSTALL.md #2708
Update INSTALL.md #2708
Conversation
Hi there, can you replace your link to discord with a summary of the situation? People on Github might not have access to discord, and it makes it easier to review if all the information necessary is on the PR description wihtout having to follow any links. Thanks! |
I merely documented what worked for me. Feel free to close/amend this PR. |
probably not. I don't think I edit any installation instructions in that, just move them about |
Has someone else installed on M1/M2 since October and needed such things? |
I'll try to confirm some of these steps soon (just got access to an Apple Silicon laptop). Some of these changes were confirmed to be needed by Steve in #2233. Others of these suggestions should AFAIK not be required regardless of architecture (e.g. the LD_LIBRARY_PATH/DYLD_LIBRARY_PATH is set by the wrapper around the Idris scheme executable and should not therefore need to be set by the user prior to install). |
Ok, I just got done doing a run-through on my I found (as did the OP of this PR and Steve Dunham) that the changes on lines 52-58 to INSTALL.md were very much needed prior to building Idris 2 and also prior to building a subsequent executable using the RefC backend. Those would be a great addition to the instructions. I did not need to change the installation steps when I built ChezScheme, so I am not sure if the OP needed to change those steps in order to get things working or just changed them to simplify things. If it's the latter, I have not yet had the time to confirm that skipping many of the steps originally in the INSTALL.md file work on my machine and I would be tempted to say we should keep those instructions the same given that we don't have a second confirmation that the simplification works longterm (i.e. past the initial build & test of the compiler). Finally, the other change in this PR is to put |
…need the additional DYLD_LIBRARY_PATH entry and I was not confident that there was no impact from the changes to the Chez Scheme build instructions so I am mostly reverting those changes
This PR has a very important additional instruction that I want to get merged so I went ahead and made the changes I had previously suggested in my review comments. |
To successfully build Idris2 and run the tests, I had to set some environment variables, see also this discussion on Discord.
For the benefit of others, I think it makes sense to add this to the Installation instructions.