-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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 use of system search path, so distributed software is supported too. #449
Conversation
I don't understand. LLVM_ROOT should be set by the user to the right path, so this should not be needed? |
This is not needed - but still possible. Most people (like me) will install the distributed software which installs to some path included in |
Ok, I see. It does make sense to make this as simple as possible. However this is tricky stuff so we should not land it without tests. Tests should probably go in Is the change to scons a separate issue? |
I don't see any scons changes here, perhaps they were part of #448? |
Could be, yeah. Ok, then what is left is the stuff we need tests for, before merging. |
Closing as no steps to get this integrated are named. |
The comment before yours says that we need tests to merge this. Was that not specific enough? |
What kind of tests? Tests for what? |
It would be good to actually test the new functionality here, that the system path is checked. But I guess we can include this if nothing is broken in current tests. Code notes:
|
Aside from 4. you did mention no additional test/concerns!? |
As for tests, like I said, I would really like tests for this new functionality. But not mandatory for merging, assuming you see it breaks nothing and the new functionality works for you locally. So let's finish this pull. Hmm, I did just have one concern just now. Let's show a warning in debug mode (EM_DEBUG variable is true in tools/shared.py) when a system path is used. That way if someone gets odd behavior, and try debug mode, they will see which path is used (so if they have some old version of llvm in their path, they will be told). Or perhaps in debug mode we should print out the paths as they are used, system or no? |
I think we can close this, given the amount of time since last activity? |
No description provided.