Mercurial > hg > graal-compiler
annotate make/build-graal.xml @ 8222:7a81fbcd67bb
Debug option to reduce available registers.
author | Roland Schatz <roland.schatz@oracle.com> |
---|---|
date | Tue, 12 Mar 2013 14:24:46 +0100 |
parents | ed3fa3ae7b61 |
children | 60b6dd6a58b7 |
rev | line source |
---|---|
8212
ed3fa3ae7b61
applied patch to Makefile system for building graal.jar (CR-102)
Doug Simon <doug.simon@oracle.com>
parents:
diff
changeset
|
1 <?xml version="1.0" encoding="UTF-8"?> |
ed3fa3ae7b61
applied patch to Makefile system for building graal.jar (CR-102)
Doug Simon <doug.simon@oracle.com>
parents:
diff
changeset
|
2 <!-- |
ed3fa3ae7b61
applied patch to Makefile system for building graal.jar (CR-102)
Doug Simon <doug.simon@oracle.com>
parents:
diff
changeset
|
3 Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved. |
ed3fa3ae7b61
applied patch to Makefile system for building graal.jar (CR-102)
Doug Simon <doug.simon@oracle.com>
parents:
diff
changeset
|
4 DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
ed3fa3ae7b61
applied patch to Makefile system for building graal.jar (CR-102)
Doug Simon <doug.simon@oracle.com>
parents:
diff
changeset
|
5 |
ed3fa3ae7b61
applied patch to Makefile system for building graal.jar (CR-102)
Doug Simon <doug.simon@oracle.com>
parents:
diff
changeset
|
6 This code is free software; you can redistribute it and/or modify it |
ed3fa3ae7b61
applied patch to Makefile system for building graal.jar (CR-102)
Doug Simon <doug.simon@oracle.com>
parents:
diff
changeset
|
7 under the terms of the GNU General Public License version 2 only, as |
ed3fa3ae7b61
applied patch to Makefile system for building graal.jar (CR-102)
Doug Simon <doug.simon@oracle.com>
parents:
diff
changeset
|
8 published by the Free Software Foundation. Oracle designates this |
ed3fa3ae7b61
applied patch to Makefile system for building graal.jar (CR-102)
Doug Simon <doug.simon@oracle.com>
parents:
diff
changeset
|
9 particular file as subject to the "Classpath" exception as provided |
ed3fa3ae7b61
applied patch to Makefile system for building graal.jar (CR-102)
Doug Simon <doug.simon@oracle.com>
parents:
diff
changeset
|
10 by Oracle in the LICENSE file that accompanied this code. |
ed3fa3ae7b61
applied patch to Makefile system for building graal.jar (CR-102)
Doug Simon <doug.simon@oracle.com>
parents:
diff
changeset
|
11 |
ed3fa3ae7b61
applied patch to Makefile system for building graal.jar (CR-102)
Doug Simon <doug.simon@oracle.com>
parents:
diff
changeset
|
12 This code is distributed in the hope that it will be useful, but WITHOUT |
ed3fa3ae7b61
applied patch to Makefile system for building graal.jar (CR-102)
Doug Simon <doug.simon@oracle.com>
parents:
diff
changeset
|
13 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
ed3fa3ae7b61
applied patch to Makefile system for building graal.jar (CR-102)
Doug Simon <doug.simon@oracle.com>
parents:
diff
changeset
|
14 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
ed3fa3ae7b61
applied patch to Makefile system for building graal.jar (CR-102)
Doug Simon <doug.simon@oracle.com>
parents:
diff
changeset
|
15 version 2 for more details (a copy is included in the LICENSE file that |
ed3fa3ae7b61
applied patch to Makefile system for building graal.jar (CR-102)
Doug Simon <doug.simon@oracle.com>
parents:
diff
changeset
|
16 accompanied this code). |
ed3fa3ae7b61
applied patch to Makefile system for building graal.jar (CR-102)
Doug Simon <doug.simon@oracle.com>
parents:
diff
changeset
|
17 |
ed3fa3ae7b61
applied patch to Makefile system for building graal.jar (CR-102)
Doug Simon <doug.simon@oracle.com>
parents:
diff
changeset
|
18 You should have received a copy of the GNU General Public License version |
ed3fa3ae7b61
applied patch to Makefile system for building graal.jar (CR-102)
Doug Simon <doug.simon@oracle.com>
parents:
diff
changeset
|
19 2 along with this work; if not, write to the Free Software Foundation, |
ed3fa3ae7b61
applied patch to Makefile system for building graal.jar (CR-102)
Doug Simon <doug.simon@oracle.com>
parents:
diff
changeset
|
20 Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. |
ed3fa3ae7b61
applied patch to Makefile system for building graal.jar (CR-102)
Doug Simon <doug.simon@oracle.com>
parents:
diff
changeset
|
21 |
ed3fa3ae7b61
applied patch to Makefile system for building graal.jar (CR-102)
Doug Simon <doug.simon@oracle.com>
parents:
diff
changeset
|
22 Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
ed3fa3ae7b61
applied patch to Makefile system for building graal.jar (CR-102)
Doug Simon <doug.simon@oracle.com>
parents:
diff
changeset
|
23 or visit www.oracle.com if you need additional information or have any |
ed3fa3ae7b61
applied patch to Makefile system for building graal.jar (CR-102)
Doug Simon <doug.simon@oracle.com>
parents:
diff
changeset
|
24 questions. |
ed3fa3ae7b61
applied patch to Makefile system for building graal.jar (CR-102)
Doug Simon <doug.simon@oracle.com>
parents:
diff
changeset
|
25 --> |
ed3fa3ae7b61
applied patch to Makefile system for building graal.jar (CR-102)
Doug Simon <doug.simon@oracle.com>
parents:
diff
changeset
|
26 |
ed3fa3ae7b61
applied patch to Makefile system for building graal.jar (CR-102)
Doug Simon <doug.simon@oracle.com>
parents:
diff
changeset
|
27 <project name="graal" basedir="." default="main"> |
ed3fa3ae7b61
applied patch to Makefile system for building graal.jar (CR-102)
Doug Simon <doug.simon@oracle.com>
parents:
diff
changeset
|
28 <property name="src.dir" value="${gamma.dir}/graal"/> |
ed3fa3ae7b61
applied patch to Makefile system for building graal.jar (CR-102)
Doug Simon <doug.simon@oracle.com>
parents:
diff
changeset
|
29 <property name="classes.dir" value="${shared.dir}/graal"/> |
ed3fa3ae7b61
applied patch to Makefile system for building graal.jar (CR-102)
Doug Simon <doug.simon@oracle.com>
parents:
diff
changeset
|
30 <property name="jar.dir" value="${shared.dir}"/> |
ed3fa3ae7b61
applied patch to Makefile system for building graal.jar (CR-102)
Doug Simon <doug.simon@oracle.com>
parents:
diff
changeset
|
31 <property name="jar.file" value="${jar.dir}/graal.jar"/> |
ed3fa3ae7b61
applied patch to Makefile system for building graal.jar (CR-102)
Doug Simon <doug.simon@oracle.com>
parents:
diff
changeset
|
32 |
ed3fa3ae7b61
applied patch to Makefile system for building graal.jar (CR-102)
Doug Simon <doug.simon@oracle.com>
parents:
diff
changeset
|
33 <target name="main" depends="jar"/> |
ed3fa3ae7b61
applied patch to Makefile system for building graal.jar (CR-102)
Doug Simon <doug.simon@oracle.com>
parents:
diff
changeset
|
34 |
ed3fa3ae7b61
applied patch to Makefile system for building graal.jar (CR-102)
Doug Simon <doug.simon@oracle.com>
parents:
diff
changeset
|
35 <target name="compile"> |
ed3fa3ae7b61
applied patch to Makefile system for building graal.jar (CR-102)
Doug Simon <doug.simon@oracle.com>
parents:
diff
changeset
|
36 <mkdir dir="${classes.dir}"/> |
ed3fa3ae7b61
applied patch to Makefile system for building graal.jar (CR-102)
Doug Simon <doug.simon@oracle.com>
parents:
diff
changeset
|
37 <javac srcdir="${src.dir}" destdir="${classes.dir}" debug="on"> |
ed3fa3ae7b61
applied patch to Makefile system for building graal.jar (CR-102)
Doug Simon <doug.simon@oracle.com>
parents:
diff
changeset
|
38 <include name="com.oracle.graal.*/**"/> |
ed3fa3ae7b61
applied patch to Makefile system for building graal.jar (CR-102)
Doug Simon <doug.simon@oracle.com>
parents:
diff
changeset
|
39 <exclude name="com.oracle.graal.test/**"/> |
ed3fa3ae7b61
applied patch to Makefile system for building graal.jar (CR-102)
Doug Simon <doug.simon@oracle.com>
parents:
diff
changeset
|
40 <exclude name="com.oracle.graal.*.test/**"/> |
ed3fa3ae7b61
applied patch to Makefile system for building graal.jar (CR-102)
Doug Simon <doug.simon@oracle.com>
parents:
diff
changeset
|
41 <exclude name="com.oracle.graal.jtt/**"/> |
ed3fa3ae7b61
applied patch to Makefile system for building graal.jar (CR-102)
Doug Simon <doug.simon@oracle.com>
parents:
diff
changeset
|
42 <compilerarg value="-XDignore.symbol.file"/> |
ed3fa3ae7b61
applied patch to Makefile system for building graal.jar (CR-102)
Doug Simon <doug.simon@oracle.com>
parents:
diff
changeset
|
43 </javac> |
ed3fa3ae7b61
applied patch to Makefile system for building graal.jar (CR-102)
Doug Simon <doug.simon@oracle.com>
parents:
diff
changeset
|
44 </target> |
ed3fa3ae7b61
applied patch to Makefile system for building graal.jar (CR-102)
Doug Simon <doug.simon@oracle.com>
parents:
diff
changeset
|
45 |
ed3fa3ae7b61
applied patch to Makefile system for building graal.jar (CR-102)
Doug Simon <doug.simon@oracle.com>
parents:
diff
changeset
|
46 <target name="jar" depends="compile"> |
ed3fa3ae7b61
applied patch to Makefile system for building graal.jar (CR-102)
Doug Simon <doug.simon@oracle.com>
parents:
diff
changeset
|
47 <mkdir dir="${jar.dir}"/> |
ed3fa3ae7b61
applied patch to Makefile system for building graal.jar (CR-102)
Doug Simon <doug.simon@oracle.com>
parents:
diff
changeset
|
48 <jar destfile="${jar.file}" basedir="${classes.dir}"/> |
ed3fa3ae7b61
applied patch to Makefile system for building graal.jar (CR-102)
Doug Simon <doug.simon@oracle.com>
parents:
diff
changeset
|
49 </target> |
ed3fa3ae7b61
applied patch to Makefile system for building graal.jar (CR-102)
Doug Simon <doug.simon@oracle.com>
parents:
diff
changeset
|
50 |
ed3fa3ae7b61
applied patch to Makefile system for building graal.jar (CR-102)
Doug Simon <doug.simon@oracle.com>
parents:
diff
changeset
|
51 <target name="clean"> |
ed3fa3ae7b61
applied patch to Makefile system for building graal.jar (CR-102)
Doug Simon <doug.simon@oracle.com>
parents:
diff
changeset
|
52 <delete dir="${classes.dir}"/> |
ed3fa3ae7b61
applied patch to Makefile system for building graal.jar (CR-102)
Doug Simon <doug.simon@oracle.com>
parents:
diff
changeset
|
53 <delete file="${jar.file}"/> |
ed3fa3ae7b61
applied patch to Makefile system for building graal.jar (CR-102)
Doug Simon <doug.simon@oracle.com>
parents:
diff
changeset
|
54 </target> |
ed3fa3ae7b61
applied patch to Makefile system for building graal.jar (CR-102)
Doug Simon <doug.simon@oracle.com>
parents:
diff
changeset
|
55 </project> |