-
Notifications
You must be signed in to change notification settings - Fork 729
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
A number of compiler sources assume that omr is a subdirectory of openj9 #3725
Comments
doesn't that path just assume that the directory that contains |
if you remove For example, if you remove |
If we remove the Addendum: I did not add this comment to suggest we go down this path; i do not like this solution even though it is used within OMR itself. |
I think we introduced the
|
Reworking the headers, so that the OMR version is named |
For files which have an "OMR" prefix we are guaranteed not to have file name conflicts in OpenJ9 and as such we can omit the "omr/" prefix in the include path. Issue eclipse-openj9#3725 Signed-off-by: Devin Nakamura <[email protected]>
@0xdaryl thoughts? |
Doesn't the OpenJ9 build system already need to know where the omr repository is located? Why can't the directory containing OMR just be a configurable setting and passed in on the IPATH which makes the compiler layering solution a more or less consistent mechanism? (for the record and to make it clear, I hate the idea to smurf file names with the project name in the project even though we still do it in places). |
and, by the way, I think this issue is misnamed :) |
This allows disambiguation with the Runtime.hpp from omr, so we dont need to specify the full path in include lines Issue eclipse-openj9#3725 Signed-off-by: Devin Nakamura <[email protected]>
@dnakamura What's the next step for this issue? |
just #4928 |
Closing as last PR merged |
See eclipse-openj9/openj9#3725 Signed-off-by: Devin Nakamura <[email protected]>
See eclipse-openj9/openj9#3725 Signed-off-by: Devin Nakamura <[email protected]>
See eclipse-openj9/openj9#3725 Signed-off-by: Devin Nakamura <[email protected]>
See eclipse-openj9/openj9#3725 Signed-off-by: Devin Nakamura <[email protected]>
See eclipse-openj9/openj9#3725 Signed-off-by: Devin Nakamura <[email protected]>
There are a number of places in the compiler sources which have includes of the form
#include "omr/compiler/foo/bar.hpp"
This assumes that omr exists as a sub-directory of openj9. This prevents us from performing out-of-tree builds. (see also eclipse-omr/omr#3189).Offenders I have found so far:
compiler/runtime/Runtime.hpp
compiler/il/ILProps.hpp
compiler/il/ILOpCodeProperties.hpp
compiler/x/amd64/codegen/TreeEvaluatorTable.hpp
The text was updated successfully, but these errors were encountered: