On 15/02/2013 10:55 AM, Mani Sarkar wrote:
Hi all again,

I did some searching in the OpenJDK folders and found the below notations:

*$(CONF_NAME)* in the below line in one of the make files:
@$(PRINTF) "Building $(PRODUCT_NAME) for target '$(call GetRealTarget)' in
configuration '$(CONF_NAME)'\n\n"

You can name a configuration anything you want. There is a configure option for it --with-conf-name

And the below from another one:
*$(OSNAME)_$(BUILDARCH)_compiler2*
*$(OUTPUTDIR)/$(VM_PLATFORM)_compiler2*

How could we parse these outside the make file to get some value that I
could use (provided we have run configure). Do these flags expect other
flags to be set before they can be parsed?

I'm not quite sure what you are asking.

David

Thanks.

Cheers,
mani

On Thu, Feb 14, 2013 at 7:09 PM, Mani Sarkar <sadhak...@gmail.com> wrote:

Hi,

I had asked a query [1] long ago in line with the different builds types
when build the OpenJDK project or sub-projects. I have another query
related to it - i.e. is there a way to determine what type of build you are
currently configured for? Is there an OS environment variable that contains
one of the following after we run configure:

  debug
  fastdebug
  generated
  jvmg
  optimized
  product
  profiles


My other query with regards to the folder  '*
linux-x86_64-normal-server-release*/' under the main /build folder. The
naming is OS, CPU and other factors dependant, is there a way to determine
through an OS environment variable or through calling a script what name
the folder would get when a build was successful?

Any suggestions leading to answers to the above would be highly
appreciated.

Thanks.

Cheers
mani
[1] http://www.mail-archive.com/build-dev@openjdk.java.net/msg07325.html
--
*Twitter:* @theNeomatrix369
*Blog:* http://neomatrix369.wordpress.com
*JUG activity:* LJC Advocate
*Meet-a-Project:* https://github.com/MutabilityDetector
*Come to Devoxx UK 2013:* http://www.devoxx.com/display/UK13/Home

*Don't chase success, rather aim for "Excellence", and success will come
chasing after you!*




Reply via email to