annotate agent/make/mkinstall @ 3237:399aa66d375e

Fixed a bug in which the valueEquals method was misused. The method does only check the equality of the node data and not full GVN equality by taking inputs and successors into account.
author Thomas Wuerthinger <thomas@wuerthinger.net>
date Wed, 27 Jul 2011 14:16:38 -0700
parents a61af66fc99e
children 4fe850c65ed1
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
a61af66fc99e Initial load
duke
parents:
diff changeset
1
a61af66fc99e Initial load
duke
parents:
diff changeset
2 # make the directories
a61af66fc99e Initial load
duke
parents:
diff changeset
3
a61af66fc99e Initial load
duke
parents:
diff changeset
4 SA_NAME=sa17
a61af66fc99e Initial load
duke
parents:
diff changeset
5 SA_TEST=$SA_NAME/test
a61af66fc99e Initial load
duke
parents:
diff changeset
6
a61af66fc99e Initial load
duke
parents:
diff changeset
7 mkdir $SA_NAME
a61af66fc99e Initial load
duke
parents:
diff changeset
8 mkdir $SA_NAME/solaris
a61af66fc99e Initial load
duke
parents:
diff changeset
9 mkdir $SA_NAME/solaris/amd64
a61af66fc99e Initial load
duke
parents:
diff changeset
10 mkdir $SA_NAME/solaris/sparc
a61af66fc99e Initial load
duke
parents:
diff changeset
11 mkdir $SA_NAME/solaris/sparcv9
a61af66fc99e Initial load
duke
parents:
diff changeset
12 mkdir $SA_NAME/solaris/i386
a61af66fc99e Initial load
duke
parents:
diff changeset
13 mkdir $SA_NAME/linux
a61af66fc99e Initial load
duke
parents:
diff changeset
14 mkdir $SA_NAME/linux/i386
a61af66fc99e Initial load
duke
parents:
diff changeset
15 mkdir $SA_NAME/linux/ia64
a61af66fc99e Initial load
duke
parents:
diff changeset
16 mkdir $SA_NAME/linux/amd64
a61af66fc99e Initial load
duke
parents:
diff changeset
17 mkdir $SA_NAME/win32
a61af66fc99e Initial load
duke
parents:
diff changeset
18 mkdir $SA_NAME/win32/i386
a61af66fc99e Initial load
duke
parents:
diff changeset
19 mkdir $SA_NAME/win32/ia64
a61af66fc99e Initial load
duke
parents:
diff changeset
20 mkdir $SA_NAME/win32/amd64
a61af66fc99e Initial load
duke
parents:
diff changeset
21 mkdir $SA_TEST
a61af66fc99e Initial load
duke
parents:
diff changeset
22
a61af66fc99e Initial load
duke
parents:
diff changeset
23 # make sa.jar
a61af66fc99e Initial load
duke
parents:
diff changeset
24 jar -cvf $SA_NAME/sa.jar -C ../build/classes .
a61af66fc99e Initial load
duke
parents:
diff changeset
25
a61af66fc99e Initial load
duke
parents:
diff changeset
26 # copy the native libraries
a61af66fc99e Initial load
duke
parents:
diff changeset
27
a61af66fc99e Initial load
duke
parents:
diff changeset
28 cp ../src/os/solaris/proc/amd64/libsaproc.so $SA_NAME/solaris/amd64
a61af66fc99e Initial load
duke
parents:
diff changeset
29 cp ../src/os/solaris/proc/sparc/libsaproc.so $SA_NAME/solaris/sparc
a61af66fc99e Initial load
duke
parents:
diff changeset
30 cp ../src/os/solaris/proc/sparcv9/libsaproc.so $SA_NAME/solaris/sparcv9
a61af66fc99e Initial load
duke
parents:
diff changeset
31 cp ../src/os/solaris/proc/i386/libsaproc.so $SA_NAME/solaris/i386
a61af66fc99e Initial load
duke
parents:
diff changeset
32 cp ../src/os/linux/i386/libsaproc.so $SA_NAME/linux/i386
a61af66fc99e Initial load
duke
parents:
diff changeset
33 cp ../src/os/linux/ia64/libsaproc.so $SA_NAME/linux/ia64
a61af66fc99e Initial load
duke
parents:
diff changeset
34 cp ../src/os/linux/amd64/libsaproc.so $SA_NAME/linux/amd64
a61af66fc99e Initial load
duke
parents:
diff changeset
35 cp ../src/os/win32/windbg/i386/sawindbg.dll $SA_NAME/win32/i386
a61af66fc99e Initial load
duke
parents:
diff changeset
36 cp ../src/os/win32/windbg/ia64/sawindbg.dll $SA_NAME/win32/ia64
a61af66fc99e Initial load
duke
parents:
diff changeset
37 cp ../src/os/win32/windbg/amd64/sawindbg.dll $SA_NAME/win32/amd64
a61af66fc99e Initial load
duke
parents:
diff changeset
38
a61af66fc99e Initial load
duke
parents:
diff changeset
39 # copy Unix (Solaris and Linux) shell scripts
a61af66fc99e Initial load
duke
parents:
diff changeset
40 cp saenv.sh $SA_NAME ; chmod 755 $SA_NAME/saenv.sh
a61af66fc99e Initial load
duke
parents:
diff changeset
41 cp saenv64.sh $SA_NAME ; chmod 755 $SA_NAME/saenv64.sh
a61af66fc99e Initial load
duke
parents:
diff changeset
42 cp clhsdbproc.sh $SA_NAME ; chmod 755 $SA_NAME/clhsdbproc.sh
a61af66fc99e Initial load
duke
parents:
diff changeset
43 cp clhsdbproc64.sh $SA_NAME ; chmod 755 $SA_NAME/clhsdbproc64.sh
a61af66fc99e Initial load
duke
parents:
diff changeset
44 cp dumpflagsproc.sh $SA_NAME ; chmod 755 $SA_NAME/dumpflagsproc.sh
a61af66fc99e Initial load
duke
parents:
diff changeset
45 cp dumpflagsproc64.sh $SA_NAME ; chmod 755 $SA_NAME/dumpflagsproc64.sh
a61af66fc99e Initial load
duke
parents:
diff changeset
46 cp dumpsyspropsproc.sh $SA_NAME ; chmod 755 $SA_NAME/dumpsyspropsproc.sh
a61af66fc99e Initial load
duke
parents:
diff changeset
47 cp dumpsyspropsproc64.sh $SA_NAME ; chmod 755 $SA_NAME/dumpsyspropsproc64.sh
a61af66fc99e Initial load
duke
parents:
diff changeset
48 cp finalizerinfoproc.sh $SA_NAME ; chmod 755 $SA_NAME/finalizerinfoproc.sh
a61af66fc99e Initial load
duke
parents:
diff changeset
49 cp finalizerinfoproc64.sh $SA_NAME ; chmod 755 $SA_NAME/finalizerinfoproc64.sh
a61af66fc99e Initial load
duke
parents:
diff changeset
50 cp heapdumpproc.sh $SA_NAME ; chmod 755 $SA_NAME/heapdumpproc.sh
a61af66fc99e Initial load
duke
parents:
diff changeset
51 cp heapdumpproc64.sh $SA_NAME ; chmod 755 $SA_NAME/heapdumpproc64.sh
a61af66fc99e Initial load
duke
parents:
diff changeset
52 cp heapsumproc.sh $SA_NAME ; chmod 755 $SA_NAME/heapsumproc.sh
a61af66fc99e Initial load
duke
parents:
diff changeset
53 cp heapsumproc64.sh $SA_NAME ; chmod 755 $SA_NAME/heapsumproc64.sh
a61af66fc99e Initial load
duke
parents:
diff changeset
54 cp hsdbproc.sh $SA_NAME ; chmod 755 $SA_NAME/hsdbproc.sh
a61af66fc99e Initial load
duke
parents:
diff changeset
55 cp hsdbproc64.sh $SA_NAME ; chmod 755 $SA_NAME/hsdbproc64.sh
a61af66fc99e Initial load
duke
parents:
diff changeset
56 cp jcoreproc.sh $SA_NAME ; chmod 755 $SA_NAME/jcoreproc.sh
a61af66fc99e Initial load
duke
parents:
diff changeset
57 cp jcoreproc64.sh $SA_NAME ; chmod 755 $SA_NAME/jcoreproc64.sh
a61af66fc99e Initial load
duke
parents:
diff changeset
58 cp jdbcore.sh $SA_NAME ; chmod 755 $SA_NAME/jdbcore.sh
a61af66fc99e Initial load
duke
parents:
diff changeset
59 cp jdbcore64.sh $SA_NAME ; chmod 755 $SA_NAME/jdbcore64.sh
a61af66fc99e Initial load
duke
parents:
diff changeset
60 cp jdbproc.sh $SA_NAME ; chmod 755 $SA_NAME/jdbproc.sh
a61af66fc99e Initial load
duke
parents:
diff changeset
61 cp jdbproc64.sh $SA_NAME ; chmod 755 $SA_NAME/jdbproc64.sh
a61af66fc99e Initial load
duke
parents:
diff changeset
62 cp jhistoproc.sh $SA_NAME ; chmod 755 $SA_NAME/jhistoproc.sh
a61af66fc99e Initial load
duke
parents:
diff changeset
63 cp jhistoproc64.sh $SA_NAME ; chmod 755 $SA_NAME/jhistoproc64.sh
a61af66fc99e Initial load
duke
parents:
diff changeset
64 cp jsdbproc.sh $SA_NAME ; chmod 755 $SA_NAME/jsdbproc.sh
a61af66fc99e Initial load
duke
parents:
diff changeset
65 cp jsdbproc64.sh $SA_NAME ; chmod 755 $SA_NAME/jsdbproc64.sh
a61af66fc99e Initial load
duke
parents:
diff changeset
66 cp jstackproc.sh $SA_NAME ; chmod 755 $SA_NAME/jstackproc.sh
a61af66fc99e Initial load
duke
parents:
diff changeset
67 cp jstackproc64.sh $SA_NAME ; chmod 755 $SA_NAME/jstackproc64.sh
a61af66fc99e Initial load
duke
parents:
diff changeset
68 cp permstatproc.sh $SA_NAME ; chmod 755 $SA_NAME/permstatproc.sh
a61af66fc99e Initial load
duke
parents:
diff changeset
69 cp permstatproc64.sh $SA_NAME ; chmod 755 $SA_NAME/permstatproc64.sh
a61af66fc99e Initial load
duke
parents:
diff changeset
70 cp pmapproc.sh $SA_NAME ; chmod 755 $SA_NAME/pmapproc.sh
a61af66fc99e Initial load
duke
parents:
diff changeset
71 cp pmapproc64.sh $SA_NAME ; chmod 755 $SA_NAME/pmapproc64.sh
a61af66fc99e Initial load
duke
parents:
diff changeset
72 cp pstackproc.sh $SA_NAME ; chmod 755 $SA_NAME/pstackproc.sh
a61af66fc99e Initial load
duke
parents:
diff changeset
73 cp pstackproc64.sh $SA_NAME ; chmod 755 $SA_NAME/pstackproc64.sh
a61af66fc99e Initial load
duke
parents:
diff changeset
74 cp soqlproc.sh $SA_NAME ; chmod 755 $SA_NAME/soqlproc.sh
a61af66fc99e Initial load
duke
parents:
diff changeset
75 cp soqlproc64.sh $SA_NAME ; chmod 755 $SA_NAME/soqlproc64.sh
a61af66fc99e Initial load
duke
parents:
diff changeset
76 cp start-debug-server $SA_NAME ; chmod 755 $SA_NAME/start-debug-server
a61af66fc99e Initial load
duke
parents:
diff changeset
77 cp start-debug-server-proc.sh $SA_NAME ; chmod 755 $SA_NAME/start-debug-server-proc.sh
a61af66fc99e Initial load
duke
parents:
diff changeset
78 cp start-debug-server-proc64.sh $SA_NAME ; chmod 755 $SA_NAME/start-debug-server-proc64.sh
a61af66fc99e Initial load
duke
parents:
diff changeset
79 cp start-rmiregistry.sh $SA_NAME ; chmod 755 $SA_NAME/start-rmiregistry.sh
a61af66fc99e Initial load
duke
parents:
diff changeset
80
a61af66fc99e Initial load
duke
parents:
diff changeset
81 # copy Windows batch files
a61af66fc99e Initial load
duke
parents:
diff changeset
82 cp saenv.bat $SA_NAME ; chmod 755 $SA_NAME/saenv.bat
a61af66fc99e Initial load
duke
parents:
diff changeset
83 cp saenv64.bat $SA_NAME ; chmod 755 $SA_NAME/saenv64.bat
a61af66fc99e Initial load
duke
parents:
diff changeset
84 cp clhsdbwindbg.bat $SA_NAME ; chmod 755 $SA_NAME/clhsdbwindbg.bat
a61af66fc99e Initial load
duke
parents:
diff changeset
85 cp clhsdbwindbg64.bat $SA_NAME ; chmod 755 $SA_NAME/clhsdbwindbg64.bat
a61af66fc99e Initial load
duke
parents:
diff changeset
86 cp dumpflagswindbg.bat $SA_NAME ; chmod 755 $SA_NAME/dumpflagswindbg.bat
a61af66fc99e Initial load
duke
parents:
diff changeset
87 cp dumpflagswindbg64.bat $SA_NAME ; chmod 755 $SA_NAME/dumpflagswindbg64.bat
a61af66fc99e Initial load
duke
parents:
diff changeset
88 cp dumpsyspropswindbg.bat $SA_NAME ; chmod 755 $SA_NAME/dumpsyspropswindbg.bat
a61af66fc99e Initial load
duke
parents:
diff changeset
89 cp dumpsyspropswindbg64.bat $SA_NAME ; chmod 755 $SA_NAME/dumpsyspropswindbg64.bat
a61af66fc99e Initial load
duke
parents:
diff changeset
90 cp finalizerinfowindbg.bat $SA_NAME ; chmod 755 $SA_NAME/finalizerinfowindbg.bat
a61af66fc99e Initial load
duke
parents:
diff changeset
91 cp finalizerinfowindbg64.bat $SA_NAME ; chmod 755 $SA_NAME/finalizerinfowindbg64.bat
a61af66fc99e Initial load
duke
parents:
diff changeset
92 cp heapdumpwindbg.bat $SA_NAME ; chmod 755 $SA_NAME/heapdumpwindbg.bat
a61af66fc99e Initial load
duke
parents:
diff changeset
93 cp heapdumpwindbg64.bat $SA_NAME ; chmod 755 $SA_NAME/heapdumpwindbg64.bat
a61af66fc99e Initial load
duke
parents:
diff changeset
94 cp heapsumwindbg.bat $SA_NAME ; chmod 755 $SA_NAME/heapsumwindbg.bat
a61af66fc99e Initial load
duke
parents:
diff changeset
95 cp heapsumwindbg64.bat $SA_NAME ; chmod 755 $SA_NAME/heapsumwindbg64.bat
a61af66fc99e Initial load
duke
parents:
diff changeset
96 cp hsdbwindbg.bat $SA_NAME ; chmod 755 $SA_NAME/hsdbwindbg.bat
a61af66fc99e Initial load
duke
parents:
diff changeset
97 cp hsdbwindbg64.bat $SA_NAME ; chmod 755 $SA_NAME/hsdbwindbg64.bat
a61af66fc99e Initial load
duke
parents:
diff changeset
98 cp jcorewindbg.bat $SA_NAME ; chmod 755 $SA_NAME/jcorewindbg.bat
a61af66fc99e Initial load
duke
parents:
diff changeset
99 cp jcorewindbg64.bat $SA_NAME ; chmod 755 $SA_NAME/jcorewindbg64.bat
a61af66fc99e Initial load
duke
parents:
diff changeset
100 cp jhistowindbg.bat $SA_NAME ; chmod 755 $SA_NAME/jhistowindbg.bat
a61af66fc99e Initial load
duke
parents:
diff changeset
101 cp jhistowindbg64.bat $SA_NAME ; chmod 755 $SA_NAME/jhistowindbg64.bat
a61af66fc99e Initial load
duke
parents:
diff changeset
102 cp jsdbwindbg.bat $SA_NAME ; chmod 755 $SA_NAME/jsdbwindbg.bat
a61af66fc99e Initial load
duke
parents:
diff changeset
103 cp jsdbwindbg64.bat $SA_NAME ; chmod 755 $SA_NAME/jsdbwindbg64.bat
a61af66fc99e Initial load
duke
parents:
diff changeset
104 cp jstackwindbg.bat $SA_NAME ; chmod 755 $SA_NAME/jstackwindbg.bat
a61af66fc99e Initial load
duke
parents:
diff changeset
105 cp jstackwindbg64.bat $SA_NAME ; chmod 755 $SA_NAME/jstackwindbg64.bat
a61af66fc99e Initial load
duke
parents:
diff changeset
106 cp permstatwindbg.bat $SA_NAME ; chmod 755 $SA_NAME/permstatwindbg.bat
a61af66fc99e Initial load
duke
parents:
diff changeset
107 cp permstatwindbg64.bat $SA_NAME ; chmod 755 $SA_NAME/permstatwindbg64.bat
a61af66fc99e Initial load
duke
parents:
diff changeset
108 cp pmapwindbg.bat $SA_NAME ; chmod 755 $SA_NAME/pmapwindbg.bat
a61af66fc99e Initial load
duke
parents:
diff changeset
109 cp pmapwindbg64.bat $SA_NAME ; chmod 755 $SA_NAME/pmapwindbg64.bat
a61af66fc99e Initial load
duke
parents:
diff changeset
110 cp pstackwindbg.bat $SA_NAME ; chmod 755 $SA_NAME/pstackwindbg.bat
a61af66fc99e Initial load
duke
parents:
diff changeset
111 cp pstackwindbg64.bat $SA_NAME ; chmod 755 $SA_NAME/pstackwindbg64.bat
a61af66fc99e Initial load
duke
parents:
diff changeset
112 cp soqlwindbg.bat $SA_NAME ; chmod 755 $SA_NAME/soqlwindbg.bat
a61af66fc99e Initial load
duke
parents:
diff changeset
113 cp soqlwindbg64.bat $SA_NAME ; chmod 755 $SA_NAME/soqlwindbg64.bat
a61af66fc99e Initial load
duke
parents:
diff changeset
114 cp start-debug-server-windbg.bat $SA_NAME ; chmod 755 $SA_NAME/start-debug-server-windbg.bat
a61af66fc99e Initial load
duke
parents:
diff changeset
115 cp start-debug-server-windbg64.bat $SA_NAME ; chmod 755 $SA_NAME/start-debug-server-windbg64.bat
a61af66fc99e Initial load
duke
parents:
diff changeset
116 cp start-rmiregistry.bat $SA_NAME ; chmod 755 $SA_NAME/start-rmiregistry.bat
a61af66fc99e Initial load
duke
parents:
diff changeset
117
a61af66fc99e Initial load
duke
parents:
diff changeset
118
a61af66fc99e Initial load
duke
parents:
diff changeset
119 # make the libproc test
a61af66fc99e Initial load
duke
parents:
diff changeset
120 cd ../test/libproc ; make; cd ../../make
a61af66fc99e Initial load
duke
parents:
diff changeset
121
a61af66fc99e Initial load
duke
parents:
diff changeset
122 # copy libproc test suite
a61af66fc99e Initial load
duke
parents:
diff changeset
123
a61af66fc99e Initial load
duke
parents:
diff changeset
124 cp ../test/libproc/README $SA_TEST/README-libproc
a61af66fc99e Initial load
duke
parents:
diff changeset
125 cp ../test/libproc/libproctest.sh $SA_TEST ; chmod 755 $SA_TEST/libproctest.sh
a61af66fc99e Initial load
duke
parents:
diff changeset
126 cp ../test/libproc/libproctest64.sh $SA_TEST ; chmod 755 $SA_TEST/libproctest64.sh
a61af66fc99e Initial load
duke
parents:
diff changeset
127 cp ../test/libproc/*.class $SA_TEST
a61af66fc99e Initial load
duke
parents:
diff changeset
128
a61af66fc99e Initial load
duke
parents:
diff changeset
129 # copy RMI security policy file
a61af66fc99e Initial load
duke
parents:
diff changeset
130 cp grantAll.policy $SA_NAME
a61af66fc99e Initial load
duke
parents:
diff changeset
131
a61af66fc99e Initial load
duke
parents:
diff changeset
132 # copy documentation
a61af66fc99e Initial load
duke
parents:
diff changeset
133 mkdir $SA_NAME/doc
a61af66fc99e Initial load
duke
parents:
diff changeset
134 cp ../doc/*.html $SA_NAME/doc
a61af66fc99e Initial load
duke
parents:
diff changeset
135 chmod 644 $SA_NAME/doc/*.html
a61af66fc99e Initial load
duke
parents:
diff changeset
136
a61af66fc99e Initial load
duke
parents:
diff changeset
137 # make lib dir and copy other jar files
a61af66fc99e Initial load
duke
parents:
diff changeset
138 mkdir $SA_NAME/lib
a61af66fc99e Initial load
duke
parents:
diff changeset
139 cp ../src/share/lib/*.jar $SA_NAME/lib
a61af66fc99e Initial load
duke
parents:
diff changeset
140
a61af66fc99e Initial load
duke
parents:
diff changeset
141 # tar and gzip
a61af66fc99e Initial load
duke
parents:
diff changeset
142 tar -cvf $SA_NAME.tar $SA_NAME
a61af66fc99e Initial load
duke
parents:
diff changeset
143 gzip $SA_NAME.tar
a61af66fc99e Initial load
duke
parents:
diff changeset
144
a61af66fc99e Initial load
duke
parents:
diff changeset
145 # cleanup
a61af66fc99e Initial load
duke
parents:
diff changeset
146 \rm -rf $SA_NAME