Skip to content

Commit

Permalink
Merge pull request #350 from ashu-mehra/include_jitserver_launcher
Browse files Browse the repository at this point in the history
Add jitserver launcher in OpenJ9 builds
  • Loading branch information
keithc-ca committed Jan 8, 2020
2 parents e913cc3 + e99805f commit a9857e6
Showing 1 changed file with 24 additions and 1 deletion.
25 changes: 24 additions & 1 deletion closed/OpenJ9.gmk
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# ===========================================================================
# (c) Copyright IBM Corp. 2017, 2019 All Rights Reserved
# (c) Copyright IBM Corp. 2017, 2020 All Rights Reserved
# ===========================================================================
# This code is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License version 2 only, as
Expand Down Expand Up @@ -86,6 +86,22 @@ endif
stage_openj9_build_jdk \
#

# jitserver

ifeq (true,$(OPENJ9_ENABLE_JITSERVER))
$(eval $(call SetupCopyFiles,OPENJ9_STAGED_FILES, \
DEST := $(JDK_OUTPUTDIR)/bin, \
SRC := $(OPENJ9_VM_BUILD_DIR), \
FILES := jitserver$(EXE_SUFFIX) \
))

$(eval $(call SetupCopyFiles,OPENJ9_STAGED_FILES, \
DEST := $(JDK_OUTPUTDIR)/jre/bin, \
SRC := $(OPENJ9_VM_BUILD_DIR), \
FILES := jitserver$(EXE_SUFFIX) \
))
endif # OPENJ9_ENABLE_JITSERVER

# redirector

$(foreach subdir, j9vm server, \
Expand Down Expand Up @@ -323,6 +339,13 @@ else
SPEC_SED_SCRIPT += $(call SedDisable,module_ddr)
endif

# Adjust JITServer enablement flags.
ifeq (true,$(OPENJ9_ENABLE_JITSERVER))
FEATURE_SED_SCRIPT += $(call SedEnable,build_jitserver)
else
FEATURE_SED_SCRIPT += $(call SedDisable,build_jitserver)
endif

# openj9_stage_buildspec_file
# ---------------------------
# param 1 = The simple name of the file to copy.
Expand Down

0 comments on commit a9857e6

Please sign in to comment.