Mercurial > hg > truffle
comparison make/aix/makefiles/fastdebug.make @ 14414:b83f7d608548
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
Reviewed-by: kvn
author | simonis |
---|---|
date | Fri, 06 Sep 2013 20:08:29 +0200 |
parents | |
children | f6bde7889409 |
comparison
equal
deleted
inserted
replaced
14413:7687c56b6693 | 14414:b83f7d608548 |
---|---|
1 # | |
2 # Copyright (c) 1999, 2013, Oracle and/or its affiliates. All rights reserved. | |
3 # Copyright 2012, 2013 SAP AG. All rights reserved. | |
4 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. | |
5 # | |
6 # This code is free software; you can redistribute it and/or modify it | |
7 # under the terms of the GNU General Public License version 2 only, as | |
8 # published by the Free Software Foundation. | |
9 # | |
10 # This code is distributed in the hope that it will be useful, but WITHOUT | |
11 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | |
12 # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License | |
13 # version 2 for more details (a copy is included in the LICENSE file that | |
14 # accompanied this code). | |
15 # | |
16 # You should have received a copy of the GNU General Public License version | |
17 # 2 along with this work; if not, write to the Free Software Foundation, | |
18 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. | |
19 # | |
20 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA | |
21 # or visit www.oracle.com if you need additional information or have any | |
22 # questions. | |
23 # | |
24 # | |
25 | |
26 # Sets make macros for making debug version of VM | |
27 | |
28 # Compiler specific OPT_CFLAGS are passed in from gcc.make, sparcWorks.make | |
29 # Pare down optimization to -O2 if xlCV10.1 is in use. | |
30 OPT_CFLAGS/DEFAULT= $(OPT_CFLAGS) $(QV10_OPT_CONSERVATIVE) | |
31 OPT_CFLAGS/BYFILE = $(OPT_CFLAGS/$@)$(OPT_CFLAGS/DEFAULT$(OPT_CFLAGS/$@)) | |
32 | |
33 # (OPT_CFLAGS/SLOWER is also available, to alter compilation of buggy files) | |
34 | |
35 ifeq ($(BUILDARCH), ia64) | |
36 # Bug in GCC, causes hang. -O1 will override the -O3 specified earlier | |
37 OPT_CFLAGS/callGenerator.o += -O1 | |
38 OPT_CFLAGS/ciTypeFlow.o += -O1 | |
39 OPT_CFLAGS/compile.o += -O1 | |
40 OPT_CFLAGS/concurrentMarkSweepGeneration.o += -O1 | |
41 OPT_CFLAGS/doCall.o += -O1 | |
42 OPT_CFLAGS/generateOopMap.o += -O1 | |
43 OPT_CFLAGS/generateOptoStub.o += -O1 | |
44 OPT_CFLAGS/graphKit.o += -O1 | |
45 OPT_CFLAGS/instanceKlass.o += -O1 | |
46 OPT_CFLAGS/interpreterRT_ia64.o += -O1 | |
47 OPT_CFLAGS/output.o += -O1 | |
48 OPT_CFLAGS/parse1.o += -O1 | |
49 OPT_CFLAGS/runtime.o += -O1 | |
50 OPT_CFLAGS/synchronizer.o += -O1 | |
51 endif | |
52 | |
53 | |
54 # If you set HOTSPARC_GENERIC=yes, you disable all OPT_CFLAGS settings | |
55 CFLAGS$(HOTSPARC_GENERIC) += $(OPT_CFLAGS/BYFILE) | |
56 | |
57 # Set the environment variable HOTSPARC_GENERIC to "true" | |
58 # to inhibit the effect of the previous line on CFLAGS. | |
59 | |
60 # Linker mapfile | |
61 MAPFILE = $(GAMMADIR)/make/aix/makefiles/mapfile-vers-debug | |
62 | |
63 # xlc 10.1 parameters for ipa linkage. | |
64 # - remove ipa linkage altogether. Does not seem to benefit performance, | |
65 # but increases code footprint. | |
66 # - this is a debug build in the end. Extra effort for ipa linkage is thus | |
67 # not justified. | |
68 LFLAGS_QIPA= | |
69 | |
70 G_SUFFIX = _g | |
71 VERSION = optimized | |
72 SYSDEFS += -DASSERT -DFASTDEBUG | |
73 PICFLAGS = DEFAULT |