Mercurial > hg > graal-compiler
annotate make/build-graal.xml @ 9818:a9517aa587c7
SPARC unused object allocation fix
author | Morris Meyer <morris.meyer@oracle.com> |
---|---|
date | Sat, 25 May 2013 17:24:37 -0400 |
parents | e723f9031785 |
children | 5aedcaed6ccf |
rev | line source |
---|---|
8321
3d840eec7f2b
Build-graal needs to be versioned for non mx builds.
Christian Humer <christian.humer@gmail.com>
parents:
diff
changeset
|
1 <?xml version="1.0" encoding="UTF-8"?> |
3d840eec7f2b
Build-graal needs to be versioned for non mx builds.
Christian Humer <christian.humer@gmail.com>
parents:
diff
changeset
|
2 <!-- |
3d840eec7f2b
Build-graal needs to be versioned for non mx builds.
Christian Humer <christian.humer@gmail.com>
parents:
diff
changeset
|
3 Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved. |
3d840eec7f2b
Build-graal needs to be versioned for non mx builds.
Christian Humer <christian.humer@gmail.com>
parents:
diff
changeset
|
4 DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3d840eec7f2b
Build-graal needs to be versioned for non mx builds.
Christian Humer <christian.humer@gmail.com>
parents:
diff
changeset
|
5 |
3d840eec7f2b
Build-graal needs to be versioned for non mx builds.
Christian Humer <christian.humer@gmail.com>
parents:
diff
changeset
|
6 This code is free software; you can redistribute it and/or modify it |
3d840eec7f2b
Build-graal needs to be versioned for non mx builds.
Christian Humer <christian.humer@gmail.com>
parents:
diff
changeset
|
7 under the terms of the GNU General Public License version 2 only, as |
3d840eec7f2b
Build-graal needs to be versioned for non mx builds.
Christian Humer <christian.humer@gmail.com>
parents:
diff
changeset
|
8 published by the Free Software Foundation. Oracle designates this |
3d840eec7f2b
Build-graal needs to be versioned for non mx builds.
Christian Humer <christian.humer@gmail.com>
parents:
diff
changeset
|
9 particular file as subject to the "Classpath" exception as provided |
3d840eec7f2b
Build-graal needs to be versioned for non mx builds.
Christian Humer <christian.humer@gmail.com>
parents:
diff
changeset
|
10 by Oracle in the LICENSE file that accompanied this code. |
3d840eec7f2b
Build-graal needs to be versioned for non mx builds.
Christian Humer <christian.humer@gmail.com>
parents:
diff
changeset
|
11 |
3d840eec7f2b
Build-graal needs to be versioned for non mx builds.
Christian Humer <christian.humer@gmail.com>
parents:
diff
changeset
|
12 This code is distributed in the hope that it will be useful, but WITHOUT |
3d840eec7f2b
Build-graal needs to be versioned for non mx builds.
Christian Humer <christian.humer@gmail.com>
parents:
diff
changeset
|
13 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
3d840eec7f2b
Build-graal needs to be versioned for non mx builds.
Christian Humer <christian.humer@gmail.com>
parents:
diff
changeset
|
14 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
3d840eec7f2b
Build-graal needs to be versioned for non mx builds.
Christian Humer <christian.humer@gmail.com>
parents:
diff
changeset
|
15 version 2 for more details (a copy is included in the LICENSE file that |
3d840eec7f2b
Build-graal needs to be versioned for non mx builds.
Christian Humer <christian.humer@gmail.com>
parents:
diff
changeset
|
16 accompanied this code). |
3d840eec7f2b
Build-graal needs to be versioned for non mx builds.
Christian Humer <christian.humer@gmail.com>
parents:
diff
changeset
|
17 |
3d840eec7f2b
Build-graal needs to be versioned for non mx builds.
Christian Humer <christian.humer@gmail.com>
parents:
diff
changeset
|
18 You should have received a copy of the GNU General Public License version |
3d840eec7f2b
Build-graal needs to be versioned for non mx builds.
Christian Humer <christian.humer@gmail.com>
parents:
diff
changeset
|
19 2 along with this work; if not, write to the Free Software Foundation, |
3d840eec7f2b
Build-graal needs to be versioned for non mx builds.
Christian Humer <christian.humer@gmail.com>
parents:
diff
changeset
|
20 Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. |
3d840eec7f2b
Build-graal needs to be versioned for non mx builds.
Christian Humer <christian.humer@gmail.com>
parents:
diff
changeset
|
21 |
3d840eec7f2b
Build-graal needs to be versioned for non mx builds.
Christian Humer <christian.humer@gmail.com>
parents:
diff
changeset
|
22 Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
3d840eec7f2b
Build-graal needs to be versioned for non mx builds.
Christian Humer <christian.humer@gmail.com>
parents:
diff
changeset
|
23 or visit www.oracle.com if you need additional information or have any |
3d840eec7f2b
Build-graal needs to be versioned for non mx builds.
Christian Humer <christian.humer@gmail.com>
parents:
diff
changeset
|
24 questions. |
3d840eec7f2b
Build-graal needs to be versioned for non mx builds.
Christian Humer <christian.humer@gmail.com>
parents:
diff
changeset
|
25 --> |
3d840eec7f2b
Build-graal needs to be versioned for non mx builds.
Christian Humer <christian.humer@gmail.com>
parents:
diff
changeset
|
26 <project basedir="." default="main" name="graal"> |
3d840eec7f2b
Build-graal needs to be versioned for non mx builds.
Christian Humer <christian.humer@gmail.com>
parents:
diff
changeset
|
27 <property name="src.dir" value="${gamma.dir}/graal"/> |
3d840eec7f2b
Build-graal needs to be versioned for non mx builds.
Christian Humer <christian.humer@gmail.com>
parents:
diff
changeset
|
28 <property name="classes.dir" value="${shared.dir}/graal"/> |
3d840eec7f2b
Build-graal needs to be versioned for non mx builds.
Christian Humer <christian.humer@gmail.com>
parents:
diff
changeset
|
29 <property name="jar.dir" value="${shared.dir}"/> |
3d840eec7f2b
Build-graal needs to be versioned for non mx builds.
Christian Humer <christian.humer@gmail.com>
parents:
diff
changeset
|
30 <property name="jar.file" value="${jar.dir}/graal.jar"/> |
3d840eec7f2b
Build-graal needs to be versioned for non mx builds.
Christian Humer <christian.humer@gmail.com>
parents:
diff
changeset
|
31 <target depends="jar" name="main"/> |
8890
a33b6378cb76
delete build/linux/shared/graal before compile in build-graal.xml to handle stale class files left behind after refactoring in Eclipse
Doug Simon <doug.simon@oracle.com>
parents:
8637
diff
changeset
|
32 <target depends="cleanclasses" name="compile"> |
8321
3d840eec7f2b
Build-graal needs to be versioned for non mx builds.
Christian Humer <christian.humer@gmail.com>
parents:
diff
changeset
|
33 <mkdir dir="${classes.dir}"/> |
9177
0b7d9bcc0f44
javac: remove encoding parameter
Bernhard Urban <bernhard.urban@jku.at>
parents:
9169
diff
changeset
|
34 <javac debug="on" destdir="${classes.dir}" includeantruntime="false"> |
9122
dedfff70763f
Compiler configurations.
Roland Schatz <roland.schatz@oracle.com>
parents:
8890
diff
changeset
|
35 <src path="${src.dir}/com.oracle.graal.api.runtime"/> |
8321
3d840eec7f2b
Build-graal needs to be versioned for non mx builds.
Christian Humer <christian.humer@gmail.com>
parents:
diff
changeset
|
36 <src path="${src.dir}/com.oracle.graal.api.meta"/> |
3d840eec7f2b
Build-graal needs to be versioned for non mx builds.
Christian Humer <christian.humer@gmail.com>
parents:
diff
changeset
|
37 <src path="${src.dir}/com.oracle.graal.api.code"/> |
3d840eec7f2b
Build-graal needs to be versioned for non mx builds.
Christian Humer <christian.humer@gmail.com>
parents:
diff
changeset
|
38 <src path="${src.dir}/com.oracle.graal.graph"/> |
3d840eec7f2b
Build-graal needs to be versioned for non mx builds.
Christian Humer <christian.humer@gmail.com>
parents:
diff
changeset
|
39 <src path="${src.dir}/com.oracle.graal.debug"/> |
8637
ce5750014c3d
moved Replacements and MacroSubstitution from the graal.api.replacements project to graal.nodes project and reversed the dependency between these two projects (the latter now/again depends on the former)
Doug Simon <doug.simon@oracle.com>
parents:
8627
diff
changeset
|
40 <src path="${src.dir}/com.oracle.graal.api.replacements"/> |
8321
3d840eec7f2b
Build-graal needs to be versioned for non mx builds.
Christian Humer <christian.humer@gmail.com>
parents:
diff
changeset
|
41 <src path="${src.dir}/com.oracle.graal.nodes"/> |
3d840eec7f2b
Build-graal needs to be versioned for non mx builds.
Christian Humer <christian.humer@gmail.com>
parents:
diff
changeset
|
42 <src path="${src.dir}/com.oracle.graal.phases"/> |
3d840eec7f2b
Build-graal needs to be versioned for non mx builds.
Christian Humer <christian.humer@gmail.com>
parents:
diff
changeset
|
43 <src path="${src.dir}/com.oracle.graal.phases.common"/> |
3d840eec7f2b
Build-graal needs to be versioned for non mx builds.
Christian Humer <christian.humer@gmail.com>
parents:
diff
changeset
|
44 <src path="${src.dir}/com.oracle.graal.virtual"/> |
3d840eec7f2b
Build-graal needs to be versioned for non mx builds.
Christian Humer <christian.humer@gmail.com>
parents:
diff
changeset
|
45 <src path="${src.dir}/com.oracle.graal.loop"/> |
3d840eec7f2b
Build-graal needs to be versioned for non mx builds.
Christian Humer <christian.humer@gmail.com>
parents:
diff
changeset
|
46 <src path="${src.dir}/com.oracle.graal.alloc"/> |
3d840eec7f2b
Build-graal needs to be versioned for non mx builds.
Christian Humer <christian.humer@gmail.com>
parents:
diff
changeset
|
47 <src path="${src.dir}/com.oracle.graal.asm"/> |
3d840eec7f2b
Build-graal needs to be versioned for non mx builds.
Christian Humer <christian.humer@gmail.com>
parents:
diff
changeset
|
48 <src path="${src.dir}/com.oracle.graal.lir"/> |
3d840eec7f2b
Build-graal needs to be versioned for non mx builds.
Christian Humer <christian.humer@gmail.com>
parents:
diff
changeset
|
49 <src path="${src.dir}/com.oracle.graal.compiler"/> |
3d840eec7f2b
Build-graal needs to be versioned for non mx builds.
Christian Humer <christian.humer@gmail.com>
parents:
diff
changeset
|
50 <src path="${src.dir}/com.oracle.graal.bytecode"/> |
3d840eec7f2b
Build-graal needs to be versioned for non mx builds.
Christian Humer <christian.humer@gmail.com>
parents:
diff
changeset
|
51 <src path="${src.dir}/com.oracle.graal.java"/> |
3d840eec7f2b
Build-graal needs to be versioned for non mx builds.
Christian Humer <christian.humer@gmail.com>
parents:
diff
changeset
|
52 <src path="${src.dir}/com.oracle.graal.word"/> |
8416
102b5249e97e
rename projects: *snippets* -> *replacements* (GRAAL-178)
Doug Simon <doug.simon@oracle.com>
parents:
8321
diff
changeset
|
53 <src path="${src.dir}/com.oracle.graal.replacements"/> |
8321
3d840eec7f2b
Build-graal needs to be versioned for non mx builds.
Christian Humer <christian.humer@gmail.com>
parents:
diff
changeset
|
54 <src path="${src.dir}/com.oracle.graal.printer"/> |
3d840eec7f2b
Build-graal needs to be versioned for non mx builds.
Christian Humer <christian.humer@gmail.com>
parents:
diff
changeset
|
55 <src path="${src.dir}/com.oracle.graal.hotspot"/> |
3d840eec7f2b
Build-graal needs to be versioned for non mx builds.
Christian Humer <christian.humer@gmail.com>
parents:
diff
changeset
|
56 <src path="${src.dir}/com.oracle.graal.amd64"/> |
3d840eec7f2b
Build-graal needs to be versioned for non mx builds.
Christian Humer <christian.humer@gmail.com>
parents:
diff
changeset
|
57 <src path="${src.dir}/com.oracle.graal.asm.amd64"/> |
3d840eec7f2b
Build-graal needs to be versioned for non mx builds.
Christian Humer <christian.humer@gmail.com>
parents:
diff
changeset
|
58 <src path="${src.dir}/com.oracle.graal.lir.amd64"/> |
3d840eec7f2b
Build-graal needs to be versioned for non mx builds.
Christian Humer <christian.humer@gmail.com>
parents:
diff
changeset
|
59 <src path="${src.dir}/com.oracle.graal.compiler.amd64"/> |
8416
102b5249e97e
rename projects: *snippets* -> *replacements* (GRAAL-178)
Doug Simon <doug.simon@oracle.com>
parents:
8321
diff
changeset
|
60 <src path="${src.dir}/com.oracle.graal.replacements.amd64"/> |
8321
3d840eec7f2b
Build-graal needs to be versioned for non mx builds.
Christian Humer <christian.humer@gmail.com>
parents:
diff
changeset
|
61 <src path="${src.dir}/com.oracle.graal.hotspot.amd64"/> |
3d840eec7f2b
Build-graal needs to be versioned for non mx builds.
Christian Humer <christian.humer@gmail.com>
parents:
diff
changeset
|
62 <src path="${src.dir}/com.oracle.graal.asm.sparc"/> |
3d840eec7f2b
Build-graal needs to be versioned for non mx builds.
Christian Humer <christian.humer@gmail.com>
parents:
diff
changeset
|
63 <src path="${src.dir}/com.oracle.graal.lir.sparc"/> |
3d840eec7f2b
Build-graal needs to be versioned for non mx builds.
Christian Humer <christian.humer@gmail.com>
parents:
diff
changeset
|
64 <src path="${src.dir}/com.oracle.graal.compiler.sparc"/> |
3d840eec7f2b
Build-graal needs to be versioned for non mx builds.
Christian Humer <christian.humer@gmail.com>
parents:
diff
changeset
|
65 <src path="${src.dir}/com.oracle.graal.hotspot.sparc"/> |
3d840eec7f2b
Build-graal needs to be versioned for non mx builds.
Christian Humer <christian.humer@gmail.com>
parents:
diff
changeset
|
66 <compilerarg value="-XDignore.symbol.file"/> |
3d840eec7f2b
Build-graal needs to be versioned for non mx builds.
Christian Humer <christian.humer@gmail.com>
parents:
diff
changeset
|
67 <classpath> |
3d840eec7f2b
Build-graal needs to be versioned for non mx builds.
Christian Humer <christian.humer@gmail.com>
parents:
diff
changeset
|
68 <fileset dir="${java.home}/../lib"> |
3d840eec7f2b
Build-graal needs to be versioned for non mx builds.
Christian Humer <christian.humer@gmail.com>
parents:
diff
changeset
|
69 <include name="tools.jar"/> |
3d840eec7f2b
Build-graal needs to be versioned for non mx builds.
Christian Humer <christian.humer@gmail.com>
parents:
diff
changeset
|
70 </fileset> |
3d840eec7f2b
Build-graal needs to be versioned for non mx builds.
Christian Humer <christian.humer@gmail.com>
parents:
diff
changeset
|
71 </classpath> |
3d840eec7f2b
Build-graal needs to be versioned for non mx builds.
Christian Humer <christian.humer@gmail.com>
parents:
diff
changeset
|
72 </javac> |
3d840eec7f2b
Build-graal needs to be versioned for non mx builds.
Christian Humer <christian.humer@gmail.com>
parents:
diff
changeset
|
73 </target> |
3d840eec7f2b
Build-graal needs to be versioned for non mx builds.
Christian Humer <christian.humer@gmail.com>
parents:
diff
changeset
|
74 <target depends="compile" name="jar"> |
3d840eec7f2b
Build-graal needs to be versioned for non mx builds.
Christian Humer <christian.humer@gmail.com>
parents:
diff
changeset
|
75 <mkdir dir="${jar.dir}"/> |
9246
ba3dfa9e36d8
Modified build-graal.xml
Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
parents:
9243
diff
changeset
|
76 <jar basedir="${classes.dir}" destfile="${jar.file}"> |
ba3dfa9e36d8
Modified build-graal.xml
Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
parents:
9243
diff
changeset
|
77 <service type="com.oracle.graal.nodes.spi.ReplacementsProvider"> |
ba3dfa9e36d8
Modified build-graal.xml
Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
parents:
9243
diff
changeset
|
78 <provider classname="com.oracle.graal.hotspot.replacements.CallSiteSubstitutions"/> |
9668
fe9a18fbb15e
added subclasses for HotSpotInstalledCode: HotSpotNmethod and HotSpotRuntimeStub
Doug Simon <doug.simon@oracle.com>
parents:
9246
diff
changeset
|
79 <provider classname="com.oracle.graal.hotspot.replacements.HotSpotNmethodIntrinsics"/> |
9246
ba3dfa9e36d8
Modified build-graal.xml
Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
parents:
9243
diff
changeset
|
80 <provider classname="com.oracle.graal.replacements.GraalMethodSubstitutions"/> |
ba3dfa9e36d8
Modified build-graal.xml
Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
parents:
9243
diff
changeset
|
81 </service> |
ba3dfa9e36d8
Modified build-graal.xml
Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
parents:
9243
diff
changeset
|
82 <service type="com.oracle.graal.phases.tiers.CompilerConfiguration"> |
ba3dfa9e36d8
Modified build-graal.xml
Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
parents:
9243
diff
changeset
|
83 <provider classname="com.oracle.graal.compiler.phases.BasicCompilerConfiguration"/> |
ba3dfa9e36d8
Modified build-graal.xml
Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
parents:
9243
diff
changeset
|
84 </service> |
ba3dfa9e36d8
Modified build-graal.xml
Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
parents:
9243
diff
changeset
|
85 </jar> |
8321
3d840eec7f2b
Build-graal needs to be versioned for non mx builds.
Christian Humer <christian.humer@gmail.com>
parents:
diff
changeset
|
86 </target> |
8890
a33b6378cb76
delete build/linux/shared/graal before compile in build-graal.xml to handle stale class files left behind after refactoring in Eclipse
Doug Simon <doug.simon@oracle.com>
parents:
8637
diff
changeset
|
87 <target name="cleanclasses"> |
8321
3d840eec7f2b
Build-graal needs to be versioned for non mx builds.
Christian Humer <christian.humer@gmail.com>
parents:
diff
changeset
|
88 <delete dir="${classes.dir}"/> |
8890
a33b6378cb76
delete build/linux/shared/graal before compile in build-graal.xml to handle stale class files left behind after refactoring in Eclipse
Doug Simon <doug.simon@oracle.com>
parents:
8637
diff
changeset
|
89 </target> |
a33b6378cb76
delete build/linux/shared/graal before compile in build-graal.xml to handle stale class files left behind after refactoring in Eclipse
Doug Simon <doug.simon@oracle.com>
parents:
8637
diff
changeset
|
90 <target depends="cleanclasses" name="clean"> |
a33b6378cb76
delete build/linux/shared/graal before compile in build-graal.xml to handle stale class files left behind after refactoring in Eclipse
Doug Simon <doug.simon@oracle.com>
parents:
8637
diff
changeset
|
91 <delete file="${jar.file}"/> |
8321
3d840eec7f2b
Build-graal needs to be versioned for non mx builds.
Christian Humer <christian.humer@gmail.com>
parents:
diff
changeset
|
92 </target> |
3d840eec7f2b
Build-graal needs to be versioned for non mx builds.
Christian Humer <christian.humer@gmail.com>
parents:
diff
changeset
|
93 </project> |