-
Notifications
You must be signed in to change notification settings - Fork 115
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
Move ddrgen step after building VM #110
Conversation
closed/OpenJ9.gmk
Outdated
@@ -70,6 +70,9 @@ OPENJ9_VM_FILES := \ | |||
# | |||
|
|||
ifeq (true,$(OPENJ9_ENABLE_DDR)) | |||
$(OUTPUT_ROOT)/vm/j9ddr.dat : |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should list the prerequisites so j9ddr.dat will be updated when necessary.
54c66dc
to
50550bc
Compare
closed/OpenJ9.gmk
Outdated
@@ -70,6 +70,13 @@ OPENJ9_VM_FILES := \ | |||
# | |||
|
|||
ifeq (true,$(OPENJ9_ENABLE_DDR)) | |||
$(OUTPUT_ROOT)/vm/j9ddr.dat : run-ddrgen | |||
run-ddrgen : |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There should be a rule
.PHONY : run-ddrgen
736751d
to
6df4861
Compare
@keithc-ca can you review again please? |
closed/OpenJ9.gmk
Outdated
.PHONY : run-ddrgen | ||
$(OUTPUT_ROOT)/vm/j9ddr.dat : run-ddrgen | ||
run-ddrgen : | ||
export $(EXPORT_MSVS_ENV_VARS) \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This may not work well when EXPORT_MSVS_ENV_VARS
is empty. Without arguments, export
(on the versions of bash I tested) just dumps the existing environment variables. We could move OPENJDK_VERSION_NUMBER_FOUR_POSITIONS
and VERSION_MAJOR
into the export command to avoid that.
6df4861
to
a44fc05
Compare
Move the run ddrgen step outside of the building VM step in order to resolve DDR dependencies better. Signed-off-by: mikezhang <[email protected]>
a44fc05
to
6db0eb2
Compare
Jenkins compile plinux,win |
Move the run ddrgen step outside of the building VM step in order to
resolve DDR dependencies better.
This PR moves the run ddrgen step to after the VM is built, and needs to be delivered together with eclipse-openj9/openj9#2588.
Signed-off-by: mikezhang [email protected]