kind of build and how to detect? (original) (raw)
David Holmes david.holmes at oracle.com
Fri Feb 15 07:06:12 UTC 2013
- Previous message (by thread): Hotspot - kind of build and how to detect?
- Next message (by thread): Hotspot - kind of build and how to detect?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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: $(CONFNAME) in the below line in one of the make files: @$(PRINTF) "Building (PRODUCTNAME)fortarget′(PRODUCTNAME) for target '(PRODUCTNAME)fortarget′(call GetRealTarget)' in configuration '$(CONFNAME)'\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)/$(VMPLATFORM)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 <sadhak001 at 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-x8664-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!*
- Previous message (by thread): Hotspot - kind of build and how to detect?
- Next message (by thread): Hotspot - kind of build and how to detect?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]